omap3-pandora-kernel: try fixing once more
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 28 Nov 2014 21:58:58 +0000 (23:58 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 28 Nov 2014 21:58:58 +0000 (23:58 +0200)
also reverse the bump to try to avoid the update through opkg upgrade
(which will probably not work as intended but whatever)

recipes/linux/linux26.inc [moved from recipes/linux/linux.inc with 98% similarity]
recipes/linux/omap3-pandora-kernel_2.6.27-pandora.bb

similarity index 98%
rename from recipes/linux/linux.inc
rename to recipes/linux/linux26.inc
index 29fc408..71bc465 100755 (executable)
@@ -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 () {
+}
index 809a721..1e6727e 100755 (executable)
@@ -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 \