diff options
author | Filip Zyzniewski <filip.zyzniewski@gmail.com> | 2011-02-07 02:00:35 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-08 07:20:15 -0700 |
commit | 3b801ad400951fbc722587a7cf83d40a957e5022 (patch) | |
tree | 8de3fad389404a7702427c5c87d1b5da39a13fcb /recipes/dpkg | |
parent | d2e75021ae233d47f6baa93aa9a889524d284ef3 (diff) | |
download | openembedded-3b801ad400951fbc722587a7cf83d40a957e5022.tar.gz |
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@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/dpkg')
-rw-r--r-- | 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 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() { |