summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-16 14:11:16 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-16 14:11:16 +0000
commit76d5cdc3e0f7843bc4009383a390faf143e1c4c5 (patch)
tree339c322ce31de400c7dbe8d97e9bdda237195141
parentbdb1f56ae1ed97783849464e40ef76da55735013 (diff)
downloadpoky-76d5cdc3e0f7843bc4009383a390faf143e1c4c5.tar.gz
poky-76d5cdc3e0f7843bc4009383a390faf143e1c4c5.tar.bz2
poky-76d5cdc3e0f7843bc4009383a390faf143e1c4c5.zip
rootfs_deb.bbclass: Backport bashism fix from trunk
git-svn-id: https://svn.o-hand.com/repos/poky/branches/blinky@2504 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/rootfs_deb.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index b7a139c02b..75933883b9 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -1,9 +1,13 @@
+#
+# Copyright 2006-2007 Openedhand Ltd.
+#
do_rootfs[depends] += "dpkg-native:do_populate_staging apt-native:do_populate_staging"
fakeroot rootfs_deb_do_rootfs () {
set +e
- mkdir -p ${IMAGE_ROOTFS}/var/dpkg/{info,updates}
+ mkdir -p ${IMAGE_ROOTFS}/var/dpkg/info
+ mkdir -p ${IMAGE_ROOTFS}/var/dpkg/updates
rm -f ${STAGING_DIR}/etc/apt/sources.list.rev
rm -f ${STAGING_DIR}/etc/apt/preferences