mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +00:00
uml-utilities: Use update alternatives for tunctl
This can then live along with toybox Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -15,6 +15,8 @@ PR = "r1"
|
|||||||
|
|
||||||
S = "${WORKDIR}/tools"
|
S = "${WORKDIR}/tools"
|
||||||
|
|
||||||
|
inherit update-alternatives
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
oe_runmake
|
oe_runmake
|
||||||
}
|
}
|
||||||
@@ -25,3 +27,6 @@ do_install() {
|
|||||||
|
|
||||||
FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}"
|
FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}"
|
||||||
FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug"
|
FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug"
|
||||||
|
|
||||||
|
ALTERNATIVE_${PN} = "tunctl"
|
||||||
|
ALTERNATIVE_LINK_NAME[tunctl] = "${bindir}/tunctl"
|
||||||
|
|||||||
Reference in New Issue
Block a user