From 3b801ad400951fbc722587a7cf83d40a957e5022 Mon Sep 17 00:00:00 2001 From: Filip Zyzniewski Date: Mon, 7 Feb 2011 02:00:35 +0000 Subject: [PATCH] dpkg-native: Fix the admindir location. Until now the admindir was specified as $STAGING_DIR_NATIVE/var/dpkg, which caused update-alternatives to put alternative definitions there. This patch causes the definitions to be put into the host's rootfs during rootfs_deb_do_rootfs (when running busybox postinst for example). resulting line in Dpkg.pm: our $admindir="$ENV{D}/var/dpkg" Signed-off-by: Filip Zyzniewski Signed-off-by: Tom Rini --- recipes/dpkg/dpkg-native.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/dpkg/dpkg-native.inc b/recipes/dpkg/dpkg-native.inc index a230f29f66..f7b243cc9a 100644 --- a/recipes/dpkg/dpkg-native.inc +++ b/recipes/dpkg/dpkg-native.inc @@ -18,6 +18,7 @@ EXTRA_OECONF = "--without-static-progs \ --with-zlib \ --with-bz2lib \ --without-selinux \ + --with-admindir='\$\$$ENV{D}/var/dpkg' \ --without-sgml-doc" do_stage_append() { -- 2.39.5