diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-03-15 13:34:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-19 14:37:39 +0000 |
commit | f93c98ecd6f8049c03a3c4ed3e2879cb9a38ed1e (patch) | |
tree | ea14a1af576968324ff699cb20c53d170685f8c4 /meta | |
parent | 7161e47fd18ed7bdd988bbd14c8cae65f5bc9680 (diff) | |
download | poky-f93c98ecd6f8049c03a3c4ed3e2879cb9a38ed1e.tar.gz |
gawk: fix packaging warnings
WARNING: For recipe gawk, the following files/directories were installed but not shipped in any package:
WARNING: /usr/bin/dgawk
WARNING: /usr/bin/awk
(From OE-Core rev: 0b3f43c81bea71a5e8c240aba8d97999fcf560ab)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/gawk/gawk_4.0.0.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-extended/gawk/gawk_4.0.0.bb b/meta/recipes-extended/gawk/gawk_4.0.0.bb index 1a2f361342..977feb90ea 100644 --- a/meta/recipes-extended/gawk/gawk_4.0.0.bb +++ b/meta/recipes-extended/gawk/gawk_4.0.0.bb | |||
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
11 | 11 | ||
12 | RDEPENDS_gawk += "gawk-common" | 12 | RDEPENDS_gawk += "gawk-common" |
13 | RDEPENDS_pgawk += "gawk-common" | 13 | RDEPENDS_pgawk += "gawk-common" |
14 | PR = "r0" | 14 | PR = "r1" |
15 | 15 | ||
16 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" | 16 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" |
17 | 17 | ||
@@ -20,14 +20,20 @@ SRC_URI[sha256sum] = "c3a7cf7d976e05c6a1d8a9b3f14fa55d4304707408ddafb1396212653e | |||
20 | 20 | ||
21 | inherit autotools gettext update-alternatives | 21 | inherit autotools gettext update-alternatives |
22 | 22 | ||
23 | PACKAGES += "gawk-common pgawk" | 23 | PACKAGES += "gawk-common pgawk dgawk" |
24 | 24 | ||
25 | FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk" | 25 | FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk" |
26 | FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" | 26 | FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" |
27 | FILES_pgawk = "${bindir}/pgawk*" | 27 | FILES_pgawk = "${bindir}/pgawk*" |
28 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" | 28 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" |
29 | FILES_dgawk = "${bindir}/dgawk*" | ||
29 | 30 | ||
30 | ALTERNATIVE_NAME = "awk" | 31 | ALTERNATIVE_NAME = "awk" |
31 | ALTERNATIVE_PATH = "gawk" | 32 | ALTERNATIVE_PATH = "gawk" |
32 | ALTERNATIVE_LINK = "${bindir}/awk" | 33 | ALTERNATIVE_LINK = "${bindir}/awk" |
33 | ALTERNATIVE_PRIORITY = "100" | 34 | ALTERNATIVE_PRIORITY = "100" |
35 | |||
36 | do_install_append() { | ||
37 | # remove the link since we don't package it | ||
38 | rm ${D}${bindir}/awk | ||
39 | } | ||