swupdate: remove post installation scripts when building squashfs
This commit removes the on-target post installation function for read-only rootfs, as it will fail trying to edit files. Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
35b56653cd
commit
afc0bc6ef5
|
|
@ -34,3 +34,5 @@ pkg_postinst_ontarget:${PN}() {
|
|||
[ "$(fw_printenv -n dualboot 2>/dev/null)" != "yes" ] && update-rc.d -f swupdate remove
|
||||
fi
|
||||
}
|
||||
|
||||
inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", "", d)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue