summaryrefslogtreecommitdiff
path: root/poky/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/lib/oe/rootfs.py')
-rw-r--r--poky/meta/lib/oe/rootfs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/poky/meta/lib/oe/rootfs.py b/poky/meta/lib/oe/rootfs.py
index 8cd48f9450..5abce4ad7d 100644
--- a/poky/meta/lib/oe/rootfs.py
+++ b/poky/meta/lib/oe/rootfs.py
@@ -269,7 +269,11 @@ class Rootfs(object, metaclass=ABCMeta):
self.pm.remove(["run-postinsts"])
image_rorfs = bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs",
+ True, False, self.d) and \
+ not bb.utils.contains("IMAGE_FEATURES",
+ "read-only-rootfs-delayed-postinsts",
True, False, self.d)
+
image_rorfs_force = self.d.getVar('FORCE_RO_REMOVE')
if image_rorfs or image_rorfs_force == "1":