From: Grazvydas Ignotas Date: Fri, 28 Nov 2014 02:12:10 +0000 (+0200) Subject: omap3-pandora-kernel: try fixing some damage X-Git-Tag: sz_172rc~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad53d109ff729ef054822555015a1eaa5399b082;p=openpandora.oe.git omap3-pandora-kernel: try fixing some damage hacks, hacks, and more hacks.. --- 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