[oe-commits] Drew Moseley : classes/kernel: Use full path for symlink in update-alternatives.
git at git.openembedded.org
git at git.openembedded.org
Sun Jun 29 08:04:52 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 78ee4d8b1782445caecce8331e68efe83fc32044
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=78ee4d8b1782445caecce8331e68efe83fc32044
Author: Drew Moseley <drew_moseley at mentor.com>
Date: Thu Jun 26 13:01:16 2014 -0400
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.
Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6ed1cb7..f5d7258 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 () {
More information about the Openembedded-commits
mailing list