diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-12-01 19:07:57 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-12-01 19:07:57 +0000 |
commit | 0d8fd82430349db32917c2f6ea52d4ab39059217 (patch) | |
tree | 670c31695719c74de5c550dffdc47ecc7bcd2108 /classes | |
parent | ee54377f8ab606a781514118b5ff9b1bd39983dc (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.oeclass | 4 |
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 |