From: Grazvydas Ignotas Date: Sat, 16 Mar 2013 16:14:47 +0000 (+0200) Subject: omap3-pandora-kernel2: update, cause a depmod after reboot X-Git-Tag: sz_154~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=33bcc1ec06f25750f0df1957c56ab9f20253d421;hp=ea5ac8b5276511d251908fbf84d73bae7b2ea63b omap3-pandora-kernel2: update, cause a depmod after reboot --- diff --git a/recipes/linux/omap3-pandora-kernel2_3.2-pandora.bb b/recipes/linux/omap3-pandora-kernel2_3.2-pandora.bb index 2bbb869..85e0ce2 100644 --- a/recipes/linux/omap3-pandora-kernel2_3.2-pandora.bb +++ b/recipes/linux/omap3-pandora-kernel2_3.2-pandora.bb @@ -4,12 +4,12 @@ LICENSE = "GPLv2" COMPATIBLE_MACHINE = "omap3-pandora" PACKAGE_ARCH = "${MACHINE_ARCH}" -PR = "r4" +PR = "r5" # we already build 2.6 kernel using OE infrastructure, and # as we don't know how to build another one into the same image # (especially out-of-tree modules), we just package manually prebuilt one -SRC_URI = "http://notaz.gp2x.de/misc/pnd/oe_rootfs_extra_r4.tar.bz2" +SRC_URI = "http://notaz.gp2x.de/misc/pnd/oe_rootfs_extra_r5.tar.bz2" S = "${WORKDIR}" @@ -21,6 +21,10 @@ do_install() { FILES_${PN} = "boot lib" pkg_postinst_${PN} () { + # this will cause depmod to be run on next boot + rm -f /lib/modules/`uname -r`/modules.dep + sync + if ! grep -q '[[:blank:]]/[[:blank:]]*ubifs' /proc/mounts; then test -e /media/PANDORABOOT/uImage && oldkernel=/media/PANDORABOOT/uImage test -e /media/PANDORABOOT/uImage-3 && oldkernel=/media/PANDORABOOT/uImage-3 @@ -37,6 +41,7 @@ where your kernel is booted from (usually set in boot.txt / autoboot.txt)." copy it to the location where kernel is booted from (usually set in \ boot.txt / autoboot.txt) or the system might not start after reboot." fi + sync if test -n "$DISPLAY"; then zenity --info --text "$msg" else @@ -48,5 +53,5 @@ boot.txt / autoboot.txt) or the system might not start after reboot." } PACKAGE_STRIP = "no" -SRC_URI[md5sum] = "9e64a15f07c05c0dcb6970a3bdff226e" -SRC_URI[sha256sum] = "1d037d2e2d2c2be2a4a37b51a00623f950169b2431d5657191169b767bdbd8d8" +SRC_URI[md5sum] = "fe5c4a5ab9e28494b472e2818fed96f2" +SRC_URI[sha256sum] = "48b8d2d2fcc9f4b3e353c6b02bcaab59d294d8145293fe5832b6319f409e4cd7"