diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-16 14:56:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-16 16:47:43 +0000 |
commit | 61f50d884081096366cbe639a22f242500fb7bc3 (patch) | |
tree | a8030f513feee5110ef458d256f433fb2f076d63 /meta/recipes-extended | |
parent | b6154d4f175697b433ba86bbbbd07ff0ca759b9f (diff) | |
download | poky-61f50d884081096366cbe639a22f242500fb7bc3.tar.gz |
tar: Fix unpackaged files warnings
WARNING: For recipe tar, the following files/directories were installed but not shipped in any package:
WARNING: /usr/sbin
WARNING: /usr/bin
(From OE-Core rev: bc63db7bc7dda759ee95ccef37f2ceb257c83777)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/tar/tar.inc | 4 | ||||
-rw-r--r-- | meta/recipes-extended/tar/tar_1.26.bb | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc index 6e77051a33..0533b82d27 100644 --- a/meta/recipes-extended/tar/tar.inc +++ b/meta/recipes-extended/tar/tar.inc | |||
@@ -12,12 +12,14 @@ EXTRAINSTALL = "do_install_extra" | |||
12 | 12 | ||
13 | do_install () { | 13 | do_install () { |
14 | autotools_do_install | 14 | autotools_do_install |
15 | install -d ${D}${base_bindir} | ||
16 | ${EXTRAINSTALL} | 15 | ${EXTRAINSTALL} |
17 | } | 16 | } |
18 | 17 | ||
19 | do_install_extra () { | 18 | do_install_extra () { |
19 | install -d ${D}${base_bindir} | ||
20 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} | 20 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} |
21 | rmdir ${D}${bindir}/ | ||
22 | rmdir ${D}${sbindir}/ | ||
21 | mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} | 23 | mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} |
22 | } | 24 | } |
23 | 25 | ||
diff --git a/meta/recipes-extended/tar/tar_1.26.bb b/meta/recipes-extended/tar/tar_1.26.bb index 26fdc4a506..e679ccbf00 100644 --- a/meta/recipes-extended/tar/tar_1.26.bb +++ b/meta/recipes-extended/tar/tar_1.26.bb | |||
@@ -3,7 +3,7 @@ require tar.inc | |||
3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
5 | 5 | ||
6 | PR = "r0" | 6 | PR = "r1" |
7 | 7 | ||
8 | SRC_URI[md5sum] = "2cee42a2ff4f1cd4f9298eeeb2264519" | 8 | SRC_URI[md5sum] = "2cee42a2ff4f1cd4f9298eeeb2264519" |
9 | SRC_URI[sha256sum] = "5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41" | 9 | SRC_URI[sha256sum] = "5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41" |