From ad53d109ff729ef054822555015a1eaa5399b082 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 28 Nov 2014 04:12:10 +0200 Subject: [PATCH] omap3-pandora-kernel: try fixing some damage hacks, hacks, and more hacks.. --- recipes/linux/linux.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc index 9931bdb..29fc408 100755 --- a/recipes/linux/linux.inc +++ b/recipes/linux/linux.inc @@ -244,6 +244,10 @@ addtask devicetree_image after do_install before do_package do_deploy #pkg_postinst_kernel-devicetree () { # cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/devicetree devicetree devicetree-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true #} +pkg_postinst_kernel-devicetree () { + # reverse damage from older uninstall script.. + if [ -f /boot/uImage-3 -a ! -h /boot/uImage ]; then cd /boot; sudo ln -s uImage-3 uImage; fi +} #pkg_postrm_kernel-devicetree () { # cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true -- 2.39.2