mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
poky-image-live.inc: Only run the FSTYPES check when the task is run
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5175 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -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"
|
AUTO_SYSLINUXCFG = "1"
|
||||||
INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz"
|
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"
|
do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
|
||||||
|
|
||||||
inherit bootimg
|
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")
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user