-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg.triggers is unused if building with --buildsystem=dh_virtualenv #323
Comments
I think I see how this is supposed to work... The first one changes the debhelper sequence to include running the If this is the correct way to do it I can PR an update to the docs. |
You're not getting an error when you try to use both?
|
You're right, using both didn't work. I think I ended up adding an Should those two options be able to work together? |
No, the two options should not work at the same time. Unfortunately the buildsystem is in a somewhat subpar state and not actively maintained. I’m happy to accept patches to it though |
When I create a
debian/foo.triggers
for a packagefoo
, I'd expect afoo.postinst
to be in the control archive. TheDebian::Debhelper::Buildsystem::dh_virtualenv
perl module doesn't handle inserting the trigger scripts into the postinstall templates. So instead the resulting debian control archive is missing theprerm
andpostinst
scripts which would have the code for the trigger to update the virtual environment when there are python interpreter updates.A sample makefile to reproduce this:
and then a
foo.triggers
that contains:The text was updated successfully, but these errors were encountered: