mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00: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" \
|
cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
|
||||||
| sed -e 's#Architecture ".*";#Architecture "${DPKG_ARCH}";#' \
|
| sed -e 's#Architecture ".*";#Architecture "${DPKG_ARCH}";#' \
|
||||||
|
| sed -e 's:#ROOTFS#:${IMAGE_ROOTFS}:g' \
|
||||||
> "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
> "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
||||||
|
|
||||||
export APT_CONFIG="${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
|
require apt-native.inc
|
||||||
|
|
||||||
PR = "r3"
|
PR = "r4"
|
||||||
|
|
||||||
SRC_URI += "file://nodoc.patch \
|
SRC_URI += "file://nodoc.patch \
|
||||||
file://noconfigure.patch \
|
file://noconfigure.patch \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Dir "${STAGING_DIR_NATIVE}/"
|
|||||||
State "var/lib/apt/"
|
State "var/lib/apt/"
|
||||||
{
|
{
|
||||||
Lists "lists/";
|
Lists "lists/";
|
||||||
status "${IMAGE_ROOTFS}/var/dpkg/status";
|
status "#ROOTFS#/var/dpkg/status";
|
||||||
};
|
};
|
||||||
Cache "var/cache/apt/"
|
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