omap3-pandora-kernel: remove postinst script from old 2.6 kernel
[openpandora.oe.git] / recipes / linux / linux.inc
index 3b2da6c..9931bdb 100755 (executable)
@@ -240,11 +240,12 @@ do_devicetree_image() {
 
 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_postrm_kernel-devicetree () {
-       cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true
-}
+# pandora uses different method for this..
+#pkg_postinst_kernel-devicetree () {
+#      cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/devicetree devicetree devicetree-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
+#}
+
+#pkg_postrm_kernel-devicetree () {
+#      cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true
+#}