diff options
Diffstat (limited to 'meta/recipes-extended/cpio')
-rw-r--r-- | meta/recipes-extended/cpio/cpio_2.13.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/cpio/cpio_2.13.bb b/meta/recipes-extended/cpio/cpio_2.13.bb index 9e35a80f8b..94d86100c7 100644 --- a/meta/recipes-extended/cpio/cpio_2.13.bb +++ b/meta/recipes-extended/cpio/cpio_2.13.bb | |||
@@ -23,7 +23,9 @@ do_install () { | |||
23 | if [ "${base_bindir}" != "${bindir}" ]; then | 23 | if [ "${base_bindir}" != "${bindir}" ]; then |
24 | install -d ${D}${base_bindir}/ | 24 | install -d ${D}${base_bindir}/ |
25 | mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio" | 25 | mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio" |
26 | rmdir ${D}${bindir}/ | 26 | if [ "${sbindir}" != "${bindir}" ]; then |
27 | rmdir ${D}${bindir}/ | ||
28 | fi | ||
27 | fi | 29 | fi |
28 | 30 | ||
29 | # Avoid conflicts with the version from tar | 31 | # Avoid conflicts with the version from tar |
@@ -46,4 +48,4 @@ ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" | |||
46 | ALTERNATIVE_PRIORITY[rmt] = "50" | 48 | ALTERNATIVE_PRIORITY[rmt] = "50" |
47 | ALTERNATIVE_LINK_NAME[rmt] = "${sbindir}/rmt" | 49 | ALTERNATIVE_LINK_NAME[rmt] = "${sbindir}/rmt" |
48 | 50 | ||
49 | BBCLASSEXTEND = "native" | 51 | BBCLASSEXTEND = "native nativesdk" |