diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-08-30 01:23:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-30 16:23:46 +0100 |
commit | 7be46d903b8c655389117210a272191169911435 (patch) | |
tree | d29d9f6f42646ba30cf916abf83f616e3c113700 | |
parent | abfe9af9e5b93da225f05d114213a5ca90b8ad4f (diff) | |
download | poky-7be46d903b8c655389117210a272191169911435.tar.gz |
image_types.bbclass: use mkfs.cramfs instead of makecramfs
The former is provided by util-linux and the latter is
now to be removed for meta-filesystems.
This allows to generate cramfs images whithout extra layers.
(From OE-Core rev: 451546a9d2f675ac331f72f4e66317685d931aba)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image_types.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index c168ed50e6..8c49169533 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -139,7 +139,7 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLO | |||
139 | IMAGE_CMD_sum.jffs2 = "${IMAGE_CMD_jffs2} && sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ | 139 | IMAGE_CMD_sum.jffs2 = "${IMAGE_CMD_jffs2} && sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ |
140 | -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sum.jffs2 -n ${EXTRA_IMAGECMD}" | 140 | -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sum.jffs2 -n ${EXTRA_IMAGECMD}" |
141 | 141 | ||
142 | IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" | 142 | IMAGE_CMD_cramfs = "mkfs.cramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" |
143 | 143 | ||
144 | oe_mkext234fs () { | 144 | oe_mkext234fs () { |
145 | fstype=$1 | 145 | fstype=$1 |
@@ -218,7 +218,7 @@ EXTRA_IMAGECMD_elf ?= "" | |||
218 | IMAGE_DEPENDS = "" | 218 | IMAGE_DEPENDS = "" |
219 | IMAGE_DEPENDS_jffs2 = "mtd-utils-native" | 219 | IMAGE_DEPENDS_jffs2 = "mtd-utils-native" |
220 | IMAGE_DEPENDS_sum.jffs2 = "mtd-utils-native" | 220 | IMAGE_DEPENDS_sum.jffs2 = "mtd-utils-native" |
221 | IMAGE_DEPENDS_cramfs = "cramfs-native" | 221 | IMAGE_DEPENDS_cramfs = "util-linux-native" |
222 | IMAGE_DEPENDS_ext2 = "e2fsprogs-native" | 222 | IMAGE_DEPENDS_ext2 = "e2fsprogs-native" |
223 | IMAGE_DEPENDS_ext3 = "e2fsprogs-native" | 223 | IMAGE_DEPENDS_ext3 = "e2fsprogs-native" |
224 | IMAGE_DEPENDS_ext4 = "e2fsprogs-native" | 224 | IMAGE_DEPENDS_ext4 = "e2fsprogs-native" |