diff options
| author | Mark Hatle <mark.hatle@windriver.com> | 2012-05-22 12:38:19 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 12:04:39 +0100 |
| commit | 1a6f679d1b46ff1bf1c604ce0578911914fd3e79 (patch) | |
| tree | 22ce7f882653b627a0e09a2b9c6553205692c97a | |
| parent | 079f2fb98108b51042081d5b0c0e4a24ac43edd7 (diff) | |
| download | poky-1a6f679d1b46ff1bf1c604ce0578911914fd3e79.tar.gz | |
sed: use BPN for alternatives
(From OE-Core rev: cd059cb57efa2aad332ef2fc7f1f411afce82b73)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/sed/sed_4.1.2.bb | 4 | ||||
| -rw-r--r-- | meta/recipes-extended/sed/sed_4.2.1.bb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb index 8baa180f72..ca22736b7f 100644 --- a/meta/recipes-extended/sed/sed_4.1.2.bb +++ b/meta/recipes-extended/sed/sed_4.1.2.bb | |||
| @@ -17,12 +17,12 @@ inherit autotools update-alternatives gettext | |||
| 17 | do_install () { | 17 | do_install () { |
| 18 | autotools_do_install | 18 | autotools_do_install |
| 19 | install -d ${D}${base_bindir} | 19 | install -d ${D}${base_bindir} |
| 20 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN} | 20 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN} |
| 21 | rmdir ${D}${bindir}/ | 21 | rmdir ${D}${bindir}/ |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | ALTERNATIVE_NAME = "sed" | 24 | ALTERNATIVE_NAME = "sed" |
| 25 | ALTERNATIVE_PATH = "sed.${PN}" | 25 | ALTERNATIVE_PATH = "sed.${BPN}" |
| 26 | ALTERNATIVE_LINK = "${base_bindir}/sed" | 26 | ALTERNATIVE_LINK = "${base_bindir}/sed" |
| 27 | ALTERNATIVE_PRIORITY = "100" | 27 | ALTERNATIVE_PRIORITY = "100" |
| 28 | 28 | ||
diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb index 0fceecd6be..b39eca0bc0 100644 --- a/meta/recipes-extended/sed/sed_4.2.1.bb +++ b/meta/recipes-extended/sed/sed_4.2.1.bb | |||
| @@ -18,12 +18,12 @@ EXTRA_OECONF = "--disable-acl" | |||
| 18 | do_install () { | 18 | do_install () { |
| 19 | autotools_do_install | 19 | autotools_do_install |
| 20 | install -d ${D}${base_bindir} | 20 | install -d ${D}${base_bindir} |
| 21 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN} | 21 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN} |
| 22 | rmdir ${D}${bindir}/ | 22 | rmdir ${D}${bindir}/ |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | ALTERNATIVE_NAME = "sed" | 25 | ALTERNATIVE_NAME = "sed" |
| 26 | ALTERNATIVE_PATH = "sed.${PN}" | 26 | ALTERNATIVE_PATH = "sed.${BPN}" |
| 27 | ALTERNATIVE_LINK = "${base_bindir}/sed" | 27 | ALTERNATIVE_LINK = "${base_bindir}/sed" |
| 28 | ALTERNATIVE_PRIORITY = "100" | 28 | ALTERNATIVE_PRIORITY = "100" |
| 29 | 29 | ||
