summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/images/poky-image-live.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/packages/images/poky-image-live.inc b/meta/packages/images/poky-image-live.inc
index a3119a874..9a21a28f4 100644
--- a/meta/packages/images/poky-image-live.inc
+++ b/meta/packages/images/poky-image-live.inc
@@ -1,9 +1,3 @@
-python __anonymous () {
- import bb
- fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
- if 'ext3' not in fstypes:
- bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
-}
AUTO_SYSLINUXCFG = "1"
INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz"
@@ -13,3 +7,11 @@ APPEND += "root=/dev/ram0 video=vesafb:800x600-16@60 vga=788"
do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
inherit bootimg
+
+do_bootimg_prepend () {
+ import bb
+ fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
+ if 'ext3' not in fstypes:
+ bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
+}
+