rootfs_deb: Fix problem with pseduo and rootfs location

This address [BUGID #401] to complete dpkg rootfs support

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
This commit is contained in:
Saul Wold
2010-10-08 11:46:10 -07:00
parent 0ae7e9e2cb
commit e72e7b2fdc
3 changed files with 4 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ fakeroot rootfs_deb_do_rootfs () {
cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
| sed -e 's#Architecture ".*";#Architecture "${DPKG_ARCH}";#' \
| sed -e 's:#ROOTFS#:${IMAGE_ROOTFS}:g' \
> "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"