All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-initramfs][PATCH V2] grubby: fix conflict with debianutils
       [not found] <16C8D9A296F94165.27414@lists.openembedded.org>
@ 2022-01-10  8:08 ` Hongxu Jia
  0 siblings, 0 replies; only message in thread
From: Hongxu Jia @ 2022-01-10  8:08 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Both of recipe grubby and debianutils provides installkernel,
use update-alternative to resolve the conflict

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-initramfs/recipes-devtools/grubby/grubby_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

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() {
 RDEPENDS:${PN} += "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.*)'
-- 
2.33.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-10  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16C8D9A296F94165.27414@lists.openembedded.org>
2022-01-10  8:08 ` [meta-initramfs][PATCH V2] grubby: fix conflict with debianutils Hongxu Jia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.