summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 2bfd1b779e..7d789cc8fd 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -87,6 +87,15 @@ fakeroot rootfs_rpm_do_rootfs () {
87 87
88 ${ROOTFS_POSTINSTALL_COMMAND} 88 ${ROOTFS_POSTINSTALL_COMMAND}
89 89
90 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then
91 if [ -d ${IMAGE_ROOTFS}/etc/rpm-postinsts ] ; then
92 if [ "`ls -A ${IMAGE_ROOTFS}/etc/rpm-postinsts`" != "" ] ; then
93 bberror "Some packages could not be configured offline and rootfs is read-only."
94 exit 1
95 fi
96 fi
97 fi
98
90 # Report delayed package scriptlets 99 # Report delayed package scriptlets
91 for i in ${IMAGE_ROOTFS}/etc/rpm-postinsts/*; do 100 for i in ${IMAGE_ROOTFS}/etc/rpm-postinsts/*; do
92 if [ -f $i ]; then 101 if [ -f $i ]; then