diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/cpio/cpio_2.11.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/cpio/cpio_2.8.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/cpio/cpio_v2.inc | 11 |
3 files changed, 11 insertions, 4 deletions
diff --git a/meta/recipes-extended/cpio/cpio_2.11.bb b/meta/recipes-extended/cpio/cpio_2.11.bb index 9b37dcdeba..5f88b30f1e 100644 --- a/meta/recipes-extended/cpio/cpio_2.11.bb +++ b/meta/recipes-extended/cpio/cpio_2.11.bb | |||
@@ -3,7 +3,7 @@ include cpio_v2.inc | |||
3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" |
5 | 5 | ||
6 | PR = "r3" | 6 | PR = "r4" |
7 | 7 | ||
8 | SRC_URI += "file://remove-gets.patch \ | 8 | SRC_URI += "file://remove-gets.patch \ |
9 | " | 9 | " |
diff --git a/meta/recipes-extended/cpio/cpio_2.8.bb b/meta/recipes-extended/cpio/cpio_2.8.bb index cabc1cd605..b6da207b92 100644 --- a/meta/recipes-extended/cpio/cpio_2.8.bb +++ b/meta/recipes-extended/cpio/cpio_2.8.bb | |||
@@ -3,7 +3,7 @@ require cpio_v2.inc | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b7f772ea3a2489231cb4872656cac34b" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b7f772ea3a2489231cb4872656cac34b" |
5 | 5 | ||
6 | PR = "r2" | 6 | PR = "r3" |
7 | 7 | ||
8 | SRC_URI += "file://m4extensions.patch \ | 8 | SRC_URI += "file://m4extensions.patch \ |
9 | file://avoid_heap_overflow.patch \ | 9 | file://avoid_heap_overflow.patch \ |
diff --git a/meta/recipes-extended/cpio/cpio_v2.inc b/meta/recipes-extended/cpio/cpio_v2.inc index 3b3402b536..30446b0ced 100644 --- a/meta/recipes-extended/cpio/cpio_v2.inc +++ b/meta/recipes-extended/cpio/cpio_v2.inc | |||
@@ -14,6 +14,8 @@ inherit autotools gettext | |||
14 | 14 | ||
15 | S = "${WORKDIR}/cpio-${PV}" | 15 | S = "${WORKDIR}/cpio-${PV}" |
16 | 16 | ||
17 | EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}" | ||
18 | |||
17 | do_install () { | 19 | do_install () { |
18 | autotools_do_install | 20 | autotools_do_install |
19 | install -d ${D}${base_bindir}/ | 21 | install -d ${D}${base_bindir}/ |
@@ -21,13 +23,18 @@ do_install () { | |||
21 | rmdir ${D}${bindir}/ | 23 | rmdir ${D}${bindir}/ |
22 | } | 24 | } |
23 | 25 | ||
26 | PACKAGES =+ "${PN}-rmt" | ||
27 | |||
28 | FILES_${PN}-rmt = "${base_sbindir}/rmt*" | ||
29 | |||
24 | inherit update-alternatives | 30 | inherit update-alternatives |
25 | 31 | ||
26 | ALTERNATIVE_PRIORITY = "100" | 32 | ALTERNATIVE_PRIORITY = "100" |
27 | 33 | ||
28 | ALTERNATIVE_${PN} = "cpio rmt" | 34 | ALTERNATIVE_${PN} = "cpio" |
35 | ALTERNATIVE_${PN}-rmt = "rmt" | ||
29 | 36 | ||
30 | ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" | 37 | ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" |
31 | 38 | ||
32 | ALTERNATIVE_PRIORITY[rmt] = "50" | 39 | ALTERNATIVE_PRIORITY[rmt] = "50" |
33 | ALTERNATIVE_LINK_NAME[rmt] = "${libexecdir}/rmt" | 40 | ALTERNATIVE_LINK_NAME[rmt] = "${base_sbindir}/rmt" |