[oe-commits] Andreas Oberritter : dpkg: Don't move update-alternatives to sbindir
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 24 10:12:21 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 5f6faeb24ba80cdb6c9f62b185e40adc15f0fd6e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5f6faeb24ba80cdb6c9f62b185e40adc15f0fd6e
Author: Andreas Oberritter <obi at opendreambox.org>
Date: Mon Mar 23 20:09:25 2015 +0100
dpkg: Don't move update-alternatives to sbindir
Debian, Ubuntu and opkg all have it in bindir.
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/dpkg/dpkg.inc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 7df8efa..bbbd881 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"
More information about the Openembedded-commits
mailing list