mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require apt-native.inc
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI += "file://nodoc.patch \
|
||||
file://noconfigure.patch \
|
||||
|
||||
@@ -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"};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user