summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2015-03-23 20:09:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-24 10:07:59 +0000
commit5f6faeb24ba80cdb6c9f62b185e40adc15f0fd6e (patch)
tree0a3fcb6d9d7a263aeedf5e70dc4990348e0f5e74 /meta/recipes-devtools/dpkg
parentf4932e2e640764d16f1f6d398390ebfb376f4cf1 (diff)
downloadopenembedded-core-5f6faeb24ba80cdb6c9f62b185e40adc15f0fd6e.tar.gz
openembedded-core-5f6faeb24ba80cdb6c9f62b185e40adc15f0fd6e.tar.bz2
openembedded-core-5f6faeb24ba80cdb6c9f62b185e40adc15f0fd6e.zip
dpkg: Don't move update-alternatives to sbindir
Debian, Ubuntu and opkg all have it in bindir. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 7df8efa050..bbbd881e47 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -46,7 +46,6 @@ do_install_append () {
rm ${D}${bindir}/update-alternatives
sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-*
else
- mv ${D}${bindir}/update-alternatives ${D}${sbindir}
sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-*
fi
@@ -67,7 +66,7 @@ PROV_class-native = ""
PROVIDES += "${PROV}"
PACKAGES =+ "update-alternatives-dpkg"
-FILES_update-alternatives-dpkg = "${sbindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
+FILES_update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
RPROVIDES_update-alternatives-dpkg += "update-alternatives"
PACKAGES += "${PN}-perl"