From b60d0c57a2e16d690fd11c6349917efc57630004 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 21 Mar 2012 16:30:37 +0000 Subject: gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions Signed-off-by: Richard Purdie --- meta/recipes-extended/gawk/gawk_3.1.5.bb | 5 +++++ meta/recipes-extended/grep/grep_2.5.1a.bb | 1 + meta/recipes-extended/sed/sed_4.1.2.bb | 1 + 3 files changed, 7 insertions(+) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/gawk/gawk_3.1.5.bb b/meta/recipes-extended/gawk/gawk_3.1.5.bb index bd8460d79..d5d9beaa4 100644 --- a/meta/recipes-extended/gawk/gawk_3.1.5.bb +++ b/meta/recipes-extended/gawk/gawk_3.1.5.bb @@ -33,3 +33,8 @@ ALTERNATIVE_NAME = "awk" ALTERNATIVE_PATH = "gawk" ALTERNATIVE_LINK = "${bindir}/awk" ALTERNATIVE_PRIORITY = "100" + +do_install_append() { + # remove the link since we don't package it + rm ${D}${bindir}/awk +} diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb b/meta/recipes-extended/grep/grep_2.5.1a.bb index bb4f53fb0..64064fc5c 100644 --- a/meta/recipes-extended/grep/grep_2.5.1a.bb +++ b/meta/recipes-extended/grep/grep_2.5.1a.bb @@ -27,6 +27,7 @@ do_install () { mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN} mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN} mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN} + rmdir ${D}${bindir}/ } pkg_postinst_${PN} () { diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb index 713524c41..8baa180f7 100644 --- a/meta/recipes-extended/sed/sed_4.1.2.bb +++ b/meta/recipes-extended/sed/sed_4.1.2.bb @@ -18,6 +18,7 @@ do_install () { autotools_do_install install -d ${D}${base_bindir} mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN} + rmdir ${D}${bindir}/ } ALTERNATIVE_NAME = "sed" -- cgit v1.2.3