diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-16 14:11:16 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-16 14:11:16 +0000 |
commit | 76d5cdc3e0f7843bc4009383a390faf143e1c4c5 (patch) | |
tree | 339c322ce31de400c7dbe8d97e9bdda237195141 /meta/classes | |
parent | bdb1f56ae1ed97783849464e40ef76da55735013 (diff) | |
download | poky-76d5cdc3e0f7843bc4009383a390faf143e1c4c5.tar.gz |
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
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 6 |
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 @@ | |||
1 | # | ||
2 | # Copyright 2006-2007 Openedhand Ltd. | ||
3 | # | ||
1 | 4 | ||
2 | do_rootfs[depends] += "dpkg-native:do_populate_staging apt-native:do_populate_staging" | 5 | do_rootfs[depends] += "dpkg-native:do_populate_staging apt-native:do_populate_staging" |
3 | 6 | ||
4 | fakeroot rootfs_deb_do_rootfs () { | 7 | fakeroot rootfs_deb_do_rootfs () { |
5 | set +e | 8 | set +e |
6 | mkdir -p ${IMAGE_ROOTFS}/var/dpkg/{info,updates} | 9 | mkdir -p ${IMAGE_ROOTFS}/var/dpkg/info |
10 | mkdir -p ${IMAGE_ROOTFS}/var/dpkg/updates | ||
7 | 11 | ||
8 | rm -f ${STAGING_DIR}/etc/apt/sources.list.rev | 12 | rm -f ${STAGING_DIR}/etc/apt/sources.list.rev |
9 | rm -f ${STAGING_DIR}/etc/apt/preferences | 13 | rm -f ${STAGING_DIR}/etc/apt/preferences |