mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user