define Package/maemo-kexec/install
$(INSTALL_DIR) $(1)/boot $(1)/sbin
- $(INSTALL_BIN) ./files/sbin/boot-maemo $(1)/sbin/
+ $(INSTALL_BIN) ./files/sbin/bootmaemo $(1)/sbin/
$(INSTALL_DATA) $(MAEMO_KRNL_SRC) $(1)/boot/maemo.zImage
endef
+++ /dev/null
-#!/bin/sh
-
-set -e
-/usr/sbin/kexec --load /boot/maemo.zImage --append "root=1f03 rootfstype=jffs2 ro console=tty0 console=ttyMTD5"
-/usr/sbin/kexec --exec
--- /dev/null
+#!/bin/sh
+
+set -e
+/bin/sync
+/usr/sbin/kexec --load /boot/maemo.zImage --append "root=1f03 rootfstype=jffs2 ro console=tty0 console=ttyMTD5"
+/usr/sbin/kexec --exec