Closed SvenRoederer closed 4 years ago
As per https://github.com/openwrt/luci/pull/1635#issuecomment-368266512, https://github.com/openwrt/luci/pull/1635#issuecomment-385257774 the init-scripts are now enabled by default in OpenWrt. As this was probably not done in the very early OpenWrt releases, out postinst was added to the package. When OpenWrt changed to activate the init-scripts by default, this was very likely the moment when this error came up.
there is also an Issue in the Freifunk-Berlin project relating to this: https://github.com/freifunk-berlin/firmware/issues/423#issuecomment-280925135
This is to follow up https://github.com/openwrt/luci/pull/1635 after splitting freifunk-packages from luci-feed. Original issue-statment below:
When creating final images the build-scripts running the package init-scripts. As of including files like on a real system (line 4, 5), with absolute path, this will fail.
Running this init-script outside of a real-system don't seem to make sense at all, so just exit gracefully.