grubby: fix conflict with debianutils
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 1/1 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 <[email protected]>
--- meta-initramfs/recipes-devtools/grubby/grubby_git.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-initramfs/recipes-devtools/grubby/grubby_git.bb +4 -0
@@ -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.*)'
Signature · 1 line
2.33.0