diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-09-11 22:10:49 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-11 22:10:49 +0000 |
commit | 5a6386c53a0e4752b3fa8fd29cf1a8653d9030c6 (patch) | |
tree | 4d7f4201c42532ee6fee21be7e7cf2fdc0484b46 /conf | |
parent | 79f476dc493d2566cd235760f874490478f9be1c (diff) |
IMAGE_FSTYPE updates. Add new tar.bz2 and tar.gz image types so the compression format can be specified. Update tar references to tar.bz2. Update spitz and borzoi to correctly use tar.gz. ***Users of IMAGE_FSTYPE="tar" are advised to switch to tar.bz2***. tar is likely to become an uncompressed tarball at some point.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/bitbake.conf | 2 | ||||
-rw-r--r-- | conf/distro/jlime.conf | 2 | ||||
-rw-r--r-- | conf/machine/borzoi.conf | 2 | ||||
-rw-r--r-- | conf/machine/lite5200.conf | 2 | ||||
-rw-r--r-- | conf/machine/spitz.conf | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 04603d393d..0141eb5bcd 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -170,6 +170,8 @@ IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_ IMAGE_CMD_ext2.gz = "mkdir ${DEPLOY_DIR_IMAGE}/tmp.gz; genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz; rmdir ${DEPLOY_DIR_IMAGE}/tmp.gz" IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." +IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz ." +IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." EXTRA_IMAGECMD = "" EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" EXTRA_IMAGECMD_squashfs = "-le -b 16384" diff --git a/conf/distro/jlime.conf b/conf/distro/jlime.conf index 4f4ecd42af..f1cda8d539 100644 --- a/conf/distro/jlime.conf +++ b/conf/distro/jlime.conf @@ -35,7 +35,7 @@ PREFERRED_VERSION_xserver-kdrive = "20050207" INHERIT += "package_tar package_ipk" BBINCLUDELOGS = "yes" MODUTILS = "26" -IMAGE_FSTYPES = "tar" +IMAGE_FSTYPES = "tar.bz2" BOOTSTRAP_EXTRA_DEPENDS += "pcmcia-cs ncurses nano virtual/kernel wireless-tools console-tools" BOOTSTRAP_EXTRA_RDEPENDS += "pcmcia-cs ncurses nano wireless-tools \ diff --git a/conf/machine/borzoi.conf b/conf/machine/borzoi.conf index 0950a5a008..b2d2eafc22 100644 --- a/conf/machine/borzoi.conf +++ b/conf/machine/borzoi.conf @@ -15,6 +15,6 @@ PIVOTBOOT_EXTRA_RRECOMMENDS += "" BOOTSTRAP_EXTRA_DEPENDS += "hdparm e2fsprogs" BOOTSTRAP_EXTRA_RDEPENDS += "hdparm e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs" -IMAGE_FSTYPES = "jffs2 tar" +IMAGE_FSTYPES = "jffs2 tar.gz" ROOT_FLASH_SIZE = "32" diff --git a/conf/machine/lite5200.conf b/conf/machine/lite5200.conf index e8cb819551..f990d1390e 100644 --- a/conf/machine/lite5200.conf +++ b/conf/machine/lite5200.conf @@ -14,6 +14,6 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" -IMAGE_FSTYPES = "jffs2 tar" +IMAGE_FSTYPES = "jffs2 tar.bz2" include conf/machine/tune-ppc603e.conf diff --git a/conf/machine/spitz.conf b/conf/machine/spitz.conf index 6e6ea7f605..79ce0c4193 100644 --- a/conf/machine/spitz.conf +++ b/conf/machine/spitz.conf @@ -15,6 +15,6 @@ PIVOTBOOT_EXTRA_RRECOMMENDS += "" BOOTSTRAP_EXTRA_DEPENDS += "hdparm e2fsprogs" BOOTSTRAP_EXTRA_RDEPENDS += "hdparm e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs" -IMAGE_FSTYPES = "jffs2 tar" +IMAGE_FSTYPES = "jffs2 tar.gz" ROOT_FLASH_SIZE = "100" |