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"

View File

@@ -1,6 +1,6 @@
require apt-native.inc
PR = "r3"
PR = "r4"
SRC_URI += "file://nodoc.patch \
file://noconfigure.patch \

View File

@@ -3,7 +3,7 @@ Dir "${STAGING_DIR_NATIVE}/"
State "var/lib/apt/"
{
Lists "lists/";
status "${IMAGE_ROOTFS}/var/dpkg/status";
status "#ROOTFS#/var/dpkg/status";
};
Cache "var/cache/apt/"
{
@@ -39,5 +39,5 @@ APT
};
};
DPkg::Options {"--root=${IMAGE_ROOTFS}";"--admindir=${IMAGE_ROOTFS}/var/dpkg";"--force-all";"--no-debsig"};
DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/dpkg";"--force-all";"--no-debsig"};
};