[OpenWrt-Devel] [PATCH] [packages] fuse: Remove update-rc.d call on package installation

Adrien Ricciardi adrien.ricciardi at hotmail.fr
Mon Nov 7 08:37:15 EST 2016

Hi OpenWRT team,

I am building trunk OpenWRT version on Debian Testing. When installing the fuse package on the target rootfs, the following makefile rule is called :

    $(INSTALL_PROGRAM) $(builddir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse
    $(INSTALL_SCRIPT) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse
    @if test -x /usr/sbin/update-rc.d; then \
        echo "/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true"; \
        /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \

This rule calls update-rc.d on the host machine, trying to install the init.d service, whereas we just want to copy some files to the rootfs. On Debian Testing, this triggers a window telling that systemd wants to reload.
The provided patch removes the update-rc.d call. I don't think there is any side effect due to these lines removal.

It's my first post to OpenWRT mailing list, I'm not sure I followed all rules. Tell me if something is wrong or if the patch is useless.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161107/85f6fc6f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 010-remove_update-rc.d_call_on_install.patch
Type: text/x-patch
Size: 540 bytes
Desc: 010-remove_update-rc.d_call_on_install.patch
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161107/85f6fc6f/attachment.bin>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list