mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-21 05:57:05 +00:00
grubby: fix conflict with debianutils
Both of recipe grubby and debianutils provides installkernel, use update-alternative to resolve the conflict Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -38,4 +38,8 @@ do_install_ptest() {
|
|||||||
RDEPENDS:${PN} += "bash"
|
RDEPENDS:${PN} += "bash"
|
||||||
RDEPENDS:${PN}-ptest = "util-linux-getopt bash"
|
RDEPENDS:${PN}-ptest = "util-linux-getopt bash"
|
||||||
|
|
||||||
|
inherit update-alternatives
|
||||||
|
ALTERNATIVE_${PN} = "installkernel"
|
||||||
|
ALTERNATIVE_LINK_NAME[installkernel] = "${sbindir}/installkernel"
|
||||||
|
|
||||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)'
|
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)'
|
||||||
|
|||||||
Reference in New Issue
Block a user