[oe-commits] Filip Zyzniewski : dpkg-native: Fix the admindir location.
git version control
git at git.openembedded.org
Tue Feb 8 14:21:40 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3b801ad400951fbc722587a7cf83d40a957e5022
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3b801ad400951fbc722587a7cf83d40a957e5022
Author: Filip Zyzniewski <filip.zyzniewski at gmail.com>
Date: Mon Feb 7 02:00:35 2011 +0000
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 <filip.zyzniewski at gmail.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/dpkg/dpkg-native.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/recipes/dpkg/dpkg-native.inc b/recipes/dpkg/dpkg-native.inc
index a230f29..f7b243c 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() {
More information about the Openembedded-commits
mailing list