summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.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-12-12 17:00:23 +0000
commitf0323bb8ce192a4e6ae5f465df026e913de2171f (patch)
tree4b401950e378f0905f244801c237046fe54ea822 /meta/classes/rootfs_ipk.bbclass
parent25e21e3dca7ada4e092b187acdd13f27bdecd051 (diff)
downloadpoky-f0323bb8ce192a4e6ae5f465df026e913de2171f.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 master rev: 0188120691f433fdccf71b92618115195278c0af) (From OE-Core rev: 2820f7fa411e5ca1cd7df765896b43716418340a) 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> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index b0805dc329..6ce3e5d908 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -89,8 +89,9 @@ fakeroot rootfs_ipk_do_rootfs () {
89 ${ROOTFS_POSTPROCESS_COMMAND} 89 ${ROOTFS_POSTPROCESS_COMMAND}
90 90
91 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then 91 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then
92 if [ -n "$(delayed_postinsts)" ]; then 92 delayed_postinsts="$(delayed_postinsts)"
93 bberror "Some packages could not be configured offline and rootfs is read-only." 93 if [ -n "$delayed_postinsts" ]; then
94 bberror "The following packages could not be configured offline and rootfs is read-only: $delayed_postinsts"
94 exit 1 95 exit 1
95 fi 96 fi
96 fi 97 fi