mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
overlayfs-etc: add condition to package-management feature conflict
The conflict with the `package-managment` only happens if the `overlayfs-etc` class overwrites `/sbin/init`, which is not the case when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`. (From OE-Core rev: c577382c6d155b3a784d06e4c916783cde7165c8) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9633ecebb9
commit
579ae7a45a
@@ -26,7 +26,7 @@
|
||||
# overlay is out of scope of this class
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES", "overlayfs-etc", "create_overlayfs_etc_preinit;", "", d)}'
|
||||
IMAGE_FEATURES_CONFLICTS_overlayfs-etc = "package-management"
|
||||
IMAGE_FEATURES_CONFLICTS_overlayfs-etc = "${@ 'package-management' if bb.utils.to_boolean(d.getVar('OVERLAYFS_ETC_USE_ORIG_INIT_NAME'), True) else ''}"
|
||||
|
||||
OVERLAYFS_ETC_MOUNT_POINT ??= ""
|
||||
OVERLAYFS_ETC_FSTYPE ??= ""
|
||||
|
||||
Reference in New Issue
Block a user