summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-27 17:29:04 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-27 17:29:04 +0000
commit207db00743b82b4f6ad7c9db974129a8a5ef1daa (patch)
tree392a3adf9de919b7ca1135cf554c92731b653c0f /meta
parent2d56326467b6e142d9cfb7342805b794a28761bb (diff)
downloadpoky-207db00743b82b4f6ad7c9db974129a8a5ef1daa.tar.gz
rootfs_deb: Set Architecture correctly in a copy of apt.conf in staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@965 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_deb.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index fee7db9ae0..19e8b44207 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -29,7 +29,9 @@ fakeroot rootfs_deb_do_rootfs () {
29 priority=$(expr $priority + 5) 29 priority=$(expr $priority + 5)
30 done 30 done
31 31
32 export APT_CONFIG="${STAGING_DIR}/etc/apt/apt.conf" 32 cat "${STAGING_DIR}/etc/apt/apt.conf.sample" | sed -e 's#Architecture ".*";#Architecture "${TARGET_ARCH}";#' > "${STAGING_DIR}/etc/apt/apt-rootfs.conf"
33
34 export APT_CONFIG="${STAGING_DIR}/etc/apt/apt-rootfs.conf"
33 export D=${IMAGE_ROOTFS} 35 export D=${IMAGE_ROOTFS}
34 export OFFLINE_ROOT=${IMAGE_ROOTFS} 36 export OFFLINE_ROOT=${IMAGE_ROOTFS}
35 export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} 37 export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}