meta-digi: remove postinst on target when using read-only-rootfs image feature
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
a93176815d
commit
c89a66480b
|
|
@ -0,0 +1,2 @@
|
|||
pkg_postinst_ontarget_${PN}() {
|
||||
}
|
||||
|
|
@ -61,3 +61,5 @@ pkg_postinst_ontarget_${PN}() {
|
|||
${CONFIG_FILE}
|
||||
fi
|
||||
}
|
||||
|
||||
inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", "", d)}
|
||||
|
|
|
|||
|
|
@ -46,3 +46,5 @@ pkg_postinst_ontarget_${PN}() {
|
|||
update-rc.d -f ${INITSCRIPT_NAME} remove
|
||||
fi
|
||||
}
|
||||
|
||||
inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", "", d)}
|
||||
|
|
|
|||
|
|
@ -54,4 +54,6 @@ pkg_postinst_ontarget_${PN}() {
|
|||
fi
|
||||
}
|
||||
|
||||
inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", "", d)}
|
||||
|
||||
CONFFILES_${PN} += "${sysconfdir}/sysctl.conf"
|
||||
|
|
|
|||
|
|
@ -151,3 +151,5 @@ pkg_postinst_ontarget_${PN}() {
|
|||
|
||||
exit 0
|
||||
}
|
||||
|
||||
inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", "", d)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue