summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-12-01 19:07:57 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-12-01 19:07:57 +0000
commit0d8fd82430349db32917c2f6ea52d4ab39059217 (patch)
tree670c31695719c74de5c550dffdc47ecc7bcd2108 /classes
parentee54377f8ab606a781514118b5ff9b1bd39983dc (diff)
kernel.oeclass: substitute hardcoded zImage w/ KERNEL_IMAGEDEST as pointed out by MSpin
BKrev: 41ae168dtllrpBPM3P2-iK4bgeAuFA
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.oeclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index a97f05880c..cc1aa87877 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -113,11 +113,11 @@ kernel_do_configure() {
}
pkg_postinst_kernel () {
- update-alternatives --install /${KERNEL_IMAGEDEST}/zImage zImage /${KERNEL_IMAGEDEST}/zImage-${PV} ${KERNEL_PRIORITY} || true
+ update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${PV} ${KERNEL_PRIORITY} || true
}
pkg_postrm_kernel () {
- update-alternatives --remove zImage /${KERNEL_IMAGEDEST}/zImage-${PV} || true
+ update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${PV} || true
}
inherit cml1