diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-27 17:29:04 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-27 17:29:04 +0000 |
commit | 207db00743b82b4f6ad7c9db974129a8a5ef1daa (patch) | |
tree | 392a3adf9de919b7ca1135cf554c92731b653c0f /meta/classes/rootfs_deb.bbclass | |
parent | 2d56326467b6e142d9cfb7342805b794a28761bb (diff) | |
download | openembedded-core-207db00743b82b4f6ad7c9db974129a8a5ef1daa.tar.gz openembedded-core-207db00743b82b4f6ad7c9db974129a8a5ef1daa.tar.bz2 openembedded-core-207db00743b82b4f6ad7c9db974129a8a5ef1daa.zip |
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/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 4 |
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 () { priority=$(expr $priority + 5) done - export APT_CONFIG="${STAGING_DIR}/etc/apt/apt.conf" + cat "${STAGING_DIR}/etc/apt/apt.conf.sample" | sed -e 's#Architecture ".*";#Architecture "${TARGET_ARCH}";#' > "${STAGING_DIR}/etc/apt/apt-rootfs.conf" + + export APT_CONFIG="${STAGING_DIR}/etc/apt/apt-rootfs.conf" export D=${IMAGE_ROOTFS} export OFFLINE_ROOT=${IMAGE_ROOTFS} export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} |