openwisp-config icon indicating copy to clipboard operation
openwisp-config copied to clipboard

[fix] Fix postinst/postrm in Makefile

Open okraits opened this issue 1 year ago • 1 comments

The postinst/postrm directives must use IPKG_INSTROOT because they are executed by the image builder as well.

See:

  • https://github.com/openwrt/packages/blob/master/utils/zsh/Makefile#L101 as an example
  • https://openwrt.org/docs/techref/initscripts#enable_and_disable for initscripts

okraits avatar Jul 04 '24 06:07 okraits

The failing build doesn't seem to be related to my changes.

okraits avatar Jul 04 '24 06:07 okraits