mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 19:02:13 +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:
parent
c950d3966b
commit
0e93a3d7ee
@ -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.*)'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user