diff options
Diffstat (limited to 'meta/recipes-devtools/update-alternatives')
-rw-r--r-- | meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc index f7f9ae979d..c881ae0219 100644 --- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc +++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc @@ -8,7 +8,7 @@ SECTION = "base" SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2" S = "${WORKDIR}/dpkg-${PV}" PACKAGE_ARCH = "all" -INC_PR = "r2" +INC_PR = "r3" inherit gettext @@ -20,7 +20,7 @@ do_patch () { s/^.*$/$D=$ENV{"D"} || ""\;/; p; x; - s,^\$admindir=.*staging.*$,$admindir="$D${localstatedir}/dpkg"\;,; + s,^\$admindir=.*staging.*$,$admindir="$D${localstatedir}/lib/dpkg"\;,; }; s,^\$altdir=.*$,$altdir="$D${sysconfdir}/alternatives"\;,; p;' > ${S}/scripts/update-alternatives @@ -28,7 +28,7 @@ do_patch () { do_install () { install -d ${D}${sbindir} \ - ${D}${localstatedir}/dpkg/alternatives \ + ${D}${localstatedir}/lib/dpkg/alternatives \ ${D}${sysconfdir}/alternatives install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives |