From: Michael Lauer Date: Wed, 1 Dec 2004 19:07:57 +0000 (+0000) Subject: kernel.oeclass: substitute hardcoded zImage w/ KERNEL_IMAGEDEST as pointed out by... X-Git-Tag: Release-2010-05/1~15837 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d8fd82430349db32917c2f6ea52d4ab39059217;p=openembedded.git kernel.oeclass: substitute hardcoded zImage w/ KERNEL_IMAGEDEST as pointed out by MSpin BKrev: 41ae168dtllrpBPM3P2-iK4bgeAuFA --- 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