RDEPENDS_kernel-image += "mtd-utils" pkg_postinst_kernel-image () { if test "x$D" != "x"; then exit 1 else if [ -f ${sysconfdir}/default/flashkernel ] ; then echo "Upgrading Kernel in Flash" echo "DO NOT stop this process" MTD_KERNEL_PARTITION=`cat /proc/mtd | grep kernel | cut -d':' -f1` MTD_KERNEL_PARTITION=/dev/$MTD_KERNEL_PARTITION if [ "x$MTD_KERNEL_PARTITION" = "x" ] ; then exit 1 fi ${bindir}/flash_eraseall $MTD_KERNEL_PARTITION ${bindir}/nandwrite -p $MTD_KERNEL_PARTITION /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} else touch ${sysconfdir}/default/flashkernel fi fi } =s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-58643691-1', 'auto'); ga('send', 'pageview');
index : openocd+libswd.git | ||
Unnamed repository; edit this file 'description' to name the repository. | Trygve Laugstøl |
summaryrefslogtreecommitdiff |