On 04/09/2012 03:15 PM, Yang Shi wrote: > [YOCTO #1487] > > For the liveCD image, interactive bootup is needed, but psplash prevents from > booting interactively. In such case ISO image is not usable, so throw warning > info when building ISO image without unionfs enabled in kernel. > > Signed-off-by: Yang Shi <yang....@windriver.com>
Acked-by: Darren Hart <dvh...@linux.intel.com> > --- > meta/recipes-sato/images/core-image-sato.bb | 14 ++++++++++++++ > 1 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/meta/recipes-sato/images/core-image-sato.bb > b/meta/recipes-sato/images/core-image-sato.bb > index 11c3318..871b227 100644 > --- a/meta/recipes-sato/images/core-image-sato.bb > +++ b/meta/recipes-sato/images/core-image-sato.bb > @@ -9,3 +9,17 @@ IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}" > LICENSE = "MIT" > > inherit core-image > + > +LIVE = "${@base_contains('IMAGE_FSTYPES', 'live', 'yes', 'no', d)}" > + > +do_check_unionfs() { > + if [ "${NOISO}" = "1" ]; then > + return > + fi > + > + if [ "${LIVE}" = "yes" ] && ! grep -q "CONFIG_UNION_FS=y" > ${STAGING_KERNEL_DIR}/.config; then > + bbwarn "Building LIVE CD without UNION FS enabled in kernel" > + fi > +} > + > +addtask check_unionfs before do_build after do_bootimg -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto