summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-09-13 21:30:37 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-13 17:11:10 +0100
commita1c62ae8f412600fe62226b19d4e7956dcf4b84f (patch)
treec3ee84e6e979e6f695a21c396b92d3f548deab86 /meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
parent50e184e0d9d7b38a08f979286eb65cd73d295f13 (diff)
downloadpoky-a1c62ae8f412600fe62226b19d4e7956dcf4b84f.tar.gz
dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives
[YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. (From OE-Core rev: c7af358ec427487ccc053316d2f68f6121b97181) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb b/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
index 91535d38e3..99197c0b7f 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
@@ -20,6 +20,6 @@ EXTRA_OECONF = "--without-static-progs \
20 20
21BBCLASSEXTEND = "native" 21BBCLASSEXTEND = "native"
22 22
23do_install_append_virtclass-native () { 23do_install_append () {
24 rm ${D}${bindir}/update-alternatives 24 rm ${D}${bindir}/update-alternatives
25} 25}