From 7e6d2d8831f27cec736d13f247dce7b353bcd264 Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Thu, 24 May 2018 17:14:17 -0700 Subject: cpio: move contents of cpio_v2.inc into the cpio recipe Merge contents of cpio_v2.inc into the only recipe which uses it. (From OE-Core rev: 162ff3871779d646dadc7e7287f4667641d6e612) (From OE-Core rev: f3e929b6d4304c36264e70a3358ffabf1e1e4e2a) Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit b177ee9244e1978bcfcaab799e83fcb7d5e6242c) Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- meta/recipes-extended/cpio/cpio_v2.inc | 43 ---------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 meta/recipes-extended/cpio/cpio_v2.inc (limited to 'meta/recipes-extended/cpio/cpio_v2.inc') diff --git a/meta/recipes-extended/cpio/cpio_v2.inc b/meta/recipes-extended/cpio/cpio_v2.inc deleted file mode 100644 index 31adb717d4..0000000000 --- a/meta/recipes-extended/cpio/cpio_v2.inc +++ /dev/null @@ -1,43 +0,0 @@ -SUMMARY = "GNU cpio is a program to manage archives of files" -DESCRIPTION = "GNU cpio is a tool for creating and extracting archives, or copying files from one place to \ -another. It handles a number of cpio formats as well as reading and writing tar files." -HOMEPAGE = "http://www.gnu.org/software/cpio/" -SECTION = "base" - -DEPENDS = "texinfo-native" - -SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ - " - -inherit autotools gettext texinfo - -S = "${WORKDIR}/cpio-${PV}" - -EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}" - -do_install () { - autotools_do_install - if [ "${base_bindir}" != "${bindir}" ]; then - install -d ${D}${base_bindir}/ - mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio" - rmdir ${D}${bindir}/ - fi -} - -PACKAGES =+ "${PN}-rmt" - -FILES_${PN}-rmt = "${base_sbindir}/rmt*" - -inherit update-alternatives - -ALTERNATIVE_PRIORITY = "100" - -ALTERNATIVE_${PN} = "cpio" -ALTERNATIVE_${PN}-rmt = "rmt" - -ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" - -ALTERNATIVE_PRIORITY[rmt] = "50" -ALTERNATIVE_LINK_NAME[rmt] = "${base_sbindir}/rmt" - -BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf