summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
diff options
context:
space:
mode:
authorJeffrey C Honig <jeffrey.honig@windriver.com>2013-11-21 01:34:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 14:08:33 +0000
commit33c97ee94ded3f3e5e55477ce86ca0206a3afb55 (patch)
tree52e8ceab85ba8c2171099e7b07f1d64ccb031bea /meta/classes/rootfs_deb.bbclass
parent739fba172c20d1951283757bad50d79d181b40aa (diff)
downloadpoky-33c97ee94ded3f3e5e55477ce86ca0206a3afb55.tar.gz
rootfs_*.bbclass: List which post-install scripts can not be run
When preping a read-only rootfs and finding some post-install scripts that can not be run, list the names of said scripts to avoid having to look around the rootfs to find a list. (From OE-Core rev: 0188120691f433fdccf71b92618115195278c0af) Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r--meta/classes/rootfs_deb.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index b1c52f9dd6..8613032f2a 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -91,8 +91,9 @@ fakeroot rootfs_deb_do_rootfs () {
91 ${ROOTFS_POSTPROCESS_COMMAND} 91 ${ROOTFS_POSTPROCESS_COMMAND}
92 92
93 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then 93 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then
94 if [ -n "$(delayed_postinsts)" ]; then 94 delayed_postinsts="$(delayed_postinsts)"
95 bberror "Some packages could not be configured offline and rootfs is read-only." 95 if [ -n "$delayed_postinsts" ]; then
96 bberror "The following packages could not be configured offline and rootfs is read-only: $delayed_postinsts"
96 exit 1 97 exit 1
97 fi 98 fi
98 fi 99 fi