summaryrefslogtreecommitdiff
path: root/meta/packages/update-alternatives
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/update-alternatives')
-rw-r--r--meta/packages/update-alternatives/update-alternatives-dpkg.inc30
-rw-r--r--meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb7
2 files changed, 0 insertions, 37 deletions
diff --git a/meta/packages/update-alternatives/update-alternatives-dpkg.inc b/meta/packages/update-alternatives/update-alternatives-dpkg.inc
deleted file mode 100644
index 106fa25e14..0000000000
--- a/meta/packages/update-alternatives/update-alternatives-dpkg.inc
+++ /dev/null
@@ -1,30 +0,0 @@
-LICENSE = "GPL"
-SECTION = "base"
-SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz"
-S = "${WORKDIR}/dpkg-${PV}"
-PACKAGE_ARCH = "all"
-PR = "r2"
-
-do_patch () {
- cat ${S}/scripts/update-alternatives.pl | \
- sed -n -e '
- /^\$admindir=.*staging/{
- x
- s/^.*$/$D=$ENV{"D"} || ""\;/;
- p;
- x;
- s,^\$admindir=.*staging.*$,$admindir="$D${localstatedir}/dpkg"\;,;
- };
- s,^\$altdir=.*$,$altdir="$D${sysconfdir}/alternatives"\;,;
- p;' > ${S}/scripts/update-alternatives
-}
-
-do_install () {
- install -d ${D}${sbindir} \
- ${D}${localstatedir}/dpkg/alternatives \
- ${D}${sysconfdir}/alternatives
-
- install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives
-}
-
-BBCLASSEXTEND = "native"
diff --git a/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
deleted file mode 100644
index 5d38d5d36f..0000000000
--- a/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require update-alternatives-dpkg.inc
-
-PROVIDES += "virtual/update-alternatives"
-RPROVIDES_${PN} += "update-alternatives"
-EXTRA_RDEPENDS = "perl dpkg"
-EXTRA_RDEPENDS_virtclass-native = ""
-RDEPENDS_${PN} += "${EXTRA_RDEPENDS}"