diff options
Diffstat (limited to 'classes/kernel.oeclass')
-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 |