diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-08-31 08:32:14 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-08-31 09:52:38 -0700 |
| commit | bfcf2faba7914bf302cebe76edf09e7c1654190a (patch) | |
| tree | b3c94043889c99bc0db51f05b86864023a4a5d59 | |
| parent | 0bfce1c8eb28cd7c679fe1c1c8b47d6e9b7e6e5e (diff) | |
| download | meta-openembedded-bfcf2faba7914bf302cebe76edf09e7c1654190a.tar.gz | |
uml-utilities: Use update alternatives for tunctl
This can then live along with toybox
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb b/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb index ed19d1e41a..8e00cb3ea4 100644 --- a/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb +++ b/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb | |||
| @@ -15,6 +15,8 @@ PR = "r1" | |||
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/tools" | 16 | S = "${WORKDIR}/tools" |
| 17 | 17 | ||
| 18 | inherit update-alternatives | ||
| 19 | |||
| 18 | do_compile() { | 20 | do_compile() { |
| 19 | oe_runmake | 21 | oe_runmake |
| 20 | } | 22 | } |
| @@ -25,3 +27,6 @@ do_install() { | |||
| 25 | 27 | ||
| 26 | FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}" | 28 | FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}" |
| 27 | FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug" | 29 | FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug" |
| 30 | |||
| 31 | ALTERNATIVE_${PN} = "tunctl" | ||
| 32 | ALTERNATIVE_LINK_NAME[tunctl] = "${bindir}/tunctl" | ||
