summaryrefslogtreecommitdiff
path: root/classes/image_ipk.oeclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-01 16:26:16 +0000
committerPhil Blundell <philb@gnu.org>2004-08-01 16:26:16 +0000
commitd50bfa26e2b48fe3dd315e888fd8c7a3ca132502 (patch)
tree339eb6dd5095466920108b148ccaf25212476a20 /classes/image_ipk.oeclass
parent2fc317e611a3d9e248065c8b45f7ec2d345d093f (diff)
allow multiple IMAGE_FSTYPES
BKrev: 410d19a8xQfEMg8Lqb06AUquSJrj4g
Diffstat (limited to 'classes/image_ipk.oeclass')
-rw-r--r--classes/image_ipk.oeclass12
1 files changed, 7 insertions, 5 deletions
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
}