APK doesn't run scripts in v3 modes
Using v3 packages with mkpkg
I'm adding a post-install
and a pre-deinstall
script.
Neither seem to run on package installation or removal.
I'm checking the created package via adbdump
and see the following output:
scripts:
post-install: |
#!/bin/sh
. ${IPKG_INSTROOT}/lib/functions.sh
default_postinst ubus
pre-deinstall: |
#!/bin/sh
. ${IPKG_INSTROOT}/lib/functions.sh
default_prerm ubus
While the environment flushing is a different issue, I don't see the script to run at all. Using strace
no execve
is executed, am I missing something here?