mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
739fba172c
commit
33c97ee94d
@@ -91,8 +91,9 @@ fakeroot rootfs_deb_do_rootfs () {
|
||||
${ROOTFS_POSTPROCESS_COMMAND}
|
||||
|
||||
if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then
|
||||
if [ -n "$(delayed_postinsts)" ]; then
|
||||
bberror "Some packages could not be configured offline and rootfs is read-only."
|
||||
delayed_postinsts="$(delayed_postinsts)"
|
||||
if [ -n "$delayed_postinsts" ]; then
|
||||
bberror "The following packages could not be configured offline and rootfs is read-only: $delayed_postinsts"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user