mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
time: use BPN for alternatives
(From OE-Core rev: 0a621679772d7996c6342ad1e99de484082d9987) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1fa4e0554c
commit
ae68cb6b00
@@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
|
|||||||
inherit update-alternatives
|
inherit update-alternatives
|
||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
mv ${D}${bindir}/time ${D}${bindir}/time.${PN}
|
mv ${D}${bindir}/time ${D}${bindir}/time.${BPN}
|
||||||
}
|
}
|
||||||
|
|
||||||
ALTERNATIVE_NAME = "time"
|
ALTERNATIVE_NAME = "time"
|
||||||
ALTERNATIVE_LINK = "${bindir}/time"
|
ALTERNATIVE_LINK = "${bindir}/time"
|
||||||
ALTERNATIVE_PATH = "${bindir}/time.${PN}"
|
ALTERNATIVE_PATH = "${bindir}/time.${BPN}"
|
||||||
ALTERNATIVE_PRIORITY = "100"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
|
|||||||
Reference in New Issue
Block a user