From 7207d6c42a327de0f120dcfa571c59adfc792567 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 28 Nov 2014 23:58:58 +0200 Subject: [PATCH] omap3-pandora-kernel: try fixing once more also reverse the bump to try to avoid the update through opkg upgrade (which will probably not work as intended but whatever) --- recipes/linux/{linux.inc => linux26.inc} | 11 +++++++---- recipes/linux/omap3-pandora-kernel_2.6.27-pandora.bb | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) rename recipes/linux/{linux.inc => linux26.inc} (98%) diff --git a/recipes/linux/linux.inc b/recipes/linux/linux26.inc similarity index 98% rename from recipes/linux/linux.inc rename to recipes/linux/linux26.inc index 29fc408..71bc465 100755 --- a/recipes/linux/linux.inc +++ b/recipes/linux/linux26.inc @@ -244,12 +244,15 @@ 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 #} +pkg_postinst_kernel () { + # reverse damage from older uninstall script.. + if [ -f /boot/uImage-3 -a ! -h /boot/uImage ]; then cd /boot; ln -s uImage-3 uImage; fi +} + +pkg_postrm_kernel () { +} diff --git a/recipes/linux/omap3-pandora-kernel_2.6.27-pandora.bb b/recipes/linux/omap3-pandora-kernel_2.6.27-pandora.bb index 809a721..1e6727e 100755 --- a/recipes/linux/omap3-pandora-kernel_2.6.27-pandora.bb +++ b/recipes/linux/omap3-pandora-kernel_2.6.27-pandora.bb @@ -1,4 +1,4 @@ -require linux.inc +require linux26.inc DESCRIPTION = "2.6.27 Linux kernel for the Pandora handheld console" KERNEL_IMAGETYPE = "uImage" @@ -13,7 +13,7 @@ SRC_URI = " \ # ------------------------------- -PV = "2.6.27-pandora+${PR}+git${SRCREV}.15" +PV = "2.6.27-pandora+${PR}+git${SRCREV}.14" SRC_URI_append = " \ file://defconfig \ -- 2.39.2