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" | |||
| 8 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2" | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2" |
| 9 | S = "${WORKDIR}/dpkg-${PV}" | 9 | S = "${WORKDIR}/dpkg-${PV}" |
| 10 | PACKAGE_ARCH = "all" | 10 | PACKAGE_ARCH = "all" |
| 11 | INC_PR = "r2" | 11 | INC_PR = "r3" |
| 12 | 12 | ||
| 13 | inherit gettext | 13 | inherit gettext |
| 14 | 14 | ||
| @@ -20,7 +20,7 @@ do_patch () { | |||
| 20 | s/^.*$/$D=$ENV{"D"} || ""\;/; | 20 | s/^.*$/$D=$ENV{"D"} || ""\;/; |
| 21 | p; | 21 | p; |
| 22 | x; | 22 | x; |
| 23 | s,^\$admindir=.*staging.*$,$admindir="$D${localstatedir}/dpkg"\;,; | 23 | s,^\$admindir=.*staging.*$,$admindir="$D${localstatedir}/lib/dpkg"\;,; |
| 24 | }; | 24 | }; |
| 25 | s,^\$altdir=.*$,$altdir="$D${sysconfdir}/alternatives"\;,; | 25 | s,^\$altdir=.*$,$altdir="$D${sysconfdir}/alternatives"\;,; |
| 26 | p;' > ${S}/scripts/update-alternatives | 26 | p;' > ${S}/scripts/update-alternatives |
| @@ -28,7 +28,7 @@ do_patch () { | |||
| 28 | 28 | ||
| 29 | do_install () { | 29 | do_install () { |
| 30 | install -d ${D}${sbindir} \ | 30 | install -d ${D}${sbindir} \ |
| 31 | ${D}${localstatedir}/dpkg/alternatives \ | 31 | ${D}${localstatedir}/lib/dpkg/alternatives \ |
| 32 | ${D}${sysconfdir}/alternatives | 32 | ${D}${sysconfdir}/alternatives |
| 33 | 33 | ||
| 34 | install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives | 34 | install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives |
