diff options
| -rw-r--r-- | meta/classes/bootimg.bbclass | 4 | ||||
| -rw-r--r-- | meta/classes/image-live.bbclass | 4 | ||||
| -rw-r--r-- | meta/classes/image-vm.bbclass | 8 | ||||
| -rw-r--r-- | meta/classes/image_types.bbclass | 2 | ||||
| -rw-r--r-- | meta/lib/oe/image.py | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 5adcacc0f3..ec9d0b7d52 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass | |||
| @@ -296,8 +296,8 @@ python do_bootimg() { | |||
| 296 | bb.build.exec_func('build_iso', d) | 296 | bb.build.exec_func('build_iso', d) |
| 297 | } | 297 | } |
| 298 | 298 | ||
| 299 | IMAGE_TYPEDEP_iso = "ext3" | 299 | IMAGE_TYPEDEP_iso = "ext4" |
| 300 | IMAGE_TYPEDEP_hddimg = "ext3" | 300 | IMAGE_TYPEDEP_hddimg = "ext4" |
| 301 | IMAGE_TYPES_MASKED += "iso hddimg" | 301 | IMAGE_TYPES_MASKED += "iso hddimg" |
| 302 | 302 | ||
| 303 | addtask bootimg before do_build | 303 | addtask bootimg before do_build |
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index 52b6de718a..fa7a131eda 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass | |||
| @@ -7,12 +7,12 @@ SYSLINUX_TIMEOUT ?= "50" | |||
| 7 | SYSLINUX_LABELS ?= "boot install" | 7 | SYSLINUX_LABELS ?= "boot install" |
| 8 | LABELS_append = " ${SYSLINUX_LABELS} " | 8 | LABELS_append = " ${SYSLINUX_LABELS} " |
| 9 | 9 | ||
| 10 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" | 10 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4" |
| 11 | 11 | ||
| 12 | do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs" | 12 | do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs" |
| 13 | do_bootimg[depends] += "${PN}:do_rootfs" | 13 | do_bootimg[depends] += "${PN}:do_rootfs" |
| 14 | 14 | ||
| 15 | inherit bootimg | 15 | inherit bootimg |
| 16 | 16 | ||
| 17 | IMAGE_TYPEDEP_live = "ext3" | 17 | IMAGE_TYPEDEP_live = "ext4" |
| 18 | IMAGE_TYPES_MASKED += "live" | 18 | IMAGE_TYPES_MASKED += "live" |
diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass index 28519c8af1..bc0503bfc0 100644 --- a/meta/classes/image-vm.bbclass +++ b/meta/classes/image-vm.bbclass | |||
| @@ -7,14 +7,14 @@ LABELS_append = " ${SYSLINUX_LABELS} " | |||
| 7 | 7 | ||
| 8 | # need to define the dependency and the ROOTFS for directdisk | 8 | # need to define the dependency and the ROOTFS for directdisk |
| 9 | do_bootdirectdisk[depends] += "${PN}:do_rootfs" | 9 | do_bootdirectdisk[depends] += "${PN}:do_rootfs" |
| 10 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" | 10 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4" |
| 11 | 11 | ||
| 12 | # creating VM images relies on having a hddimg so ensure we inherit it here. | 12 | # creating VM images relies on having a hddimg so ensure we inherit it here. |
| 13 | inherit boot-directdisk | 13 | inherit boot-directdisk |
| 14 | 14 | ||
| 15 | IMAGE_TYPEDEP_vmdk = "ext3" | 15 | IMAGE_TYPEDEP_vmdk = "ext4" |
| 16 | IMAGE_TYPEDEP_vdi = "ext3" | 16 | IMAGE_TYPEDEP_vdi = "ext4" |
| 17 | IMAGE_TYPEDEP_qcow2 = "ext3" | 17 | IMAGE_TYPEDEP_qcow2 = "ext4" |
| 18 | IMAGE_TYPES_MASKED += "vmdk vdi qcow2" | 18 | IMAGE_TYPES_MASKED += "vmdk vdi qcow2" |
| 19 | 19 | ||
| 20 | create_vmdk_image () { | 20 | create_vmdk_image () { |
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index cc789fc27f..35ceb7beaf 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
| @@ -14,7 +14,7 @@ def imagetypes_getdepends(d): | |||
| 14 | ctypes = d.getVar('COMPRESSIONTYPES', True).split() | 14 | ctypes = d.getVar('COMPRESSIONTYPES', True).split() |
| 15 | for type in (d.getVar('IMAGE_FSTYPES', True) or "").split(): | 15 | for type in (d.getVar('IMAGE_FSTYPES', True) or "").split(): |
| 16 | if type in ["vmdk", "vdi", "qcow2", "live", "iso", "hddimg"]: | 16 | if type in ["vmdk", "vdi", "qcow2", "live", "iso", "hddimg"]: |
| 17 | type = "ext3" | 17 | type = "ext4" |
| 18 | basetype = type | 18 | basetype = type |
| 19 | for ctype in ctypes: | 19 | for ctype in ctypes: |
| 20 | if type.endswith("." + ctype): | 20 | if type.endswith("." + ctype): |
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index 40f61515eb..699c30fa2b 100644 --- a/meta/lib/oe/image.py +++ b/meta/lib/oe/image.py | |||
| @@ -76,8 +76,8 @@ class ImageDepGraph(object): | |||
| 76 | 76 | ||
| 77 | def _image_base_type(self, type): | 77 | def _image_base_type(self, type): |
| 78 | ctypes = self.d.getVar('COMPRESSIONTYPES', True).split() | 78 | ctypes = self.d.getVar('COMPRESSIONTYPES', True).split() |
| 79 | if type in ["vmdk", "vdi", "live", "iso", "hddimg"]: | 79 | if type in ["vmdk", "vdi", "qcow2", "live", "iso", "hddimg"]: |
| 80 | type = "ext3" | 80 | type = "ext4" |
| 81 | basetype = type | 81 | basetype = type |
| 82 | for ctype in ctypes: | 82 | for ctype in ctypes: |
| 83 | if type.endswith("." + ctype): | 83 | if type.endswith("." + ctype): |
