From: Phil Blundell Date: Sun, 1 Aug 2004 16:26:16 +0000 (+0000) Subject: allow multiple IMAGE_FSTYPES X-Git-Tag: Release-2010-05/1~17901 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50bfa26e2b48fe3dd315e888fd8c7a3ca132502;p=openembedded.git allow multiple IMAGE_FSTYPES BKrev: 410d19a8xQfEMg8Lqb06AUquSJrj4g --- diff --git a/classes/image_ipk.oeclass b/classes/image_ipk.oeclass index 46889b9490..1f9cb17955 100644 --- a/classes/image_ipk.oeclass +++ b/classes/image_ipk.oeclass @@ -21,9 +21,11 @@ fakeroot do_rootfs () { export TOPDIR=${TOPDIR} - if test -z "$FAKEROOTKEY"; then - fakeroot -i ${TMPDIR}/fakedb.image oeimage -t ${IMAGE_FSTYPE} -e ${FILE} - else - oeimage -t ${IMAGE_FSTYPE} -e ${FILE} - fi + for type in ${IMAGE_FSTYPES}; do + if test -z "$FAKEROOTKEY"; then + fakeroot -i ${TMPDIR}/fakedb.image oeimage -t $type -e ${FILE} + else + oeimage -t $type -e ${FILE} + fi + done } diff --git a/conf/oe.conf b/conf/oe.conf index 158176dfca..115a5fd3f9 100644 --- a/conf/oe.conf +++ b/conf/oe.conf @@ -171,6 +171,7 @@ EXTRA_IMAGECMD = "" EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" IMAGE_FSTYPE = "jffs2" +IMAGE_FSTYPES = "${IMAGE_FSTYPE}" EXTRA_IMAGEDEPENDS = ""