diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2022-01-10 00:08:47 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-11 17:51:55 -0800 |
commit | 0e93a3d7eea111ef1730fc718137005f6e2a821c (patch) | |
tree | 32057dc4b2bd11e48b7fb0bab583e17ba14c4b69 /meta-initramfs | |
parent | c950d3966b446976ae5bd700d5ebcf4122eebb2a (diff) | |
download | meta-openembedded-0e93a3d7eea111ef1730fc718137005f6e2a821c.tar.gz |
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>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/recipes-devtools/grubby/grubby_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb index d275387c8..43fcc1aee 100644 --- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb +++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb | |||
@@ -38,4 +38,8 @@ do_install_ptest() { | |||
38 | RDEPENDS:${PN} += "bash" | 38 | RDEPENDS:${PN} += "bash" |
39 | RDEPENDS:${PN}-ptest = "util-linux-getopt bash" | 39 | RDEPENDS:${PN}-ptest = "util-linux-getopt bash" |
40 | 40 | ||
41 | inherit update-alternatives | ||
42 | ALTERNATIVE_${PN} = "installkernel" | ||
43 | ALTERNATIVE_LINK_NAME[installkernel] = "${sbindir}/installkernel" | ||
44 | |||
41 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' | 45 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' |