From: Drew Moseley Date: Thu, 26 Jun 2014 17:01:16 +0000 (-0400) Subject: classes/kernel: Use full path for symlink in update-alternatives. X-Git-Tag: 2015-4~2450 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=78ee4d8b1782445caecce8331e68efe83fc32044;p=openembedded-core.git classes/kernel: Use full path for symlink in update-alternatives. Use a fully qualified path for the parameter in calls to update-alternatives. The chkconfig-alternatives version requires a full path and without it, the symlink is not properly created. Signed-off-by: Drew Moseley Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6ed1cb73c8..f5d725878f 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -374,7 +374,7 @@ pkg_postinst_kernel-base () { } pkg_postinst_kernel-image () { - update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true + update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true } pkg_postrm_kernel-image () {