summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-06-26 13:01:16 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-29 09:04:22 +0100
commit61ab649849dff3853e6441fe118d9f3df47bb487 (patch)
treeed40676421d37d5acf741c2d2d87c84934aafa87 /meta/classes/kernel.bbclass
parentddb70af7d363db9d094023e0ab73f8b9c71c94ae (diff)
downloadpoky-61ab649849dff3853e6441fe118d9f3df47bb487.tar.gz
classes/kernel: Use full path for symlink in update-alternatives.
Use a fully qualified path for the <path> parameter in calls to update-alternatives. The chkconfig-alternatives version requires a full path and without it, the symlink is not properly created. (From OE-Core rev: 78ee4d8b1782445caecce8331e68efe83fc32044) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
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 () {
374} 374}
375 375
376pkg_postinst_kernel-image () { 376pkg_postinst_kernel-image () {
377 update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true 377 update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
378} 378}
379 379
380pkg_postrm_kernel-image () { 380pkg_postrm_kernel-image () {