Adding postinst to debian release

asked 2020-12-07 10:53:18 -0500

mike_k gravatar image

updated 2020-12-07 10:53:59 -0500

Hi there, I have a question similar to this: https://answers.ros.org/question/1917...

In short, I have a debian package that already has been released but I'm trying to apply a post installation step to it and it is not performed. My package's upstream repo and release repo are in the links below, respectively: https://github.com/shadow-robot/sr_ha... https://github.com/shadow-robot/sr_ha...

As you can see in the first link, I have a postinst file in the scripts folder. At the release time, I have just had it there, which as I understand now, would not have inserted the script into my debian release. Therefore, just today I made additional changes, i.e. I manually commited and pushed the postinst file to the debian/melodic/sr_hand_detector branch of the release repo, as seen here: https://github.com/shadow-robot/sr_ha...

However, I can see that the script is still not applied when I do sudo apt install step. My question therefore is - what additional steps do I have to perform to cleanly make the postinstall step work for my debian release. Do I just need to create another version release and make a PR to the rosdistro, do I only need to wait until next ros sync, or both, or some other step that I am missing here?

Thanks in advance for any advice!

edit retag flag offensive close merge delete