summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}