diff --git a/utils/maemo-kexec/Makefile b/utils/maemo-kexec/Makefile index 05b7f50dd..3f31c9755 100644 --- a/utils/maemo-kexec/Makefile +++ b/utils/maemo-kexec/Makefile @@ -50,7 +50,7 @@ MAEMO_KRNL_SRC:=$(if $(CONFIG_MAEMO_KEXEC_DOWNLOAD_KERNEL),\ 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 diff --git a/utils/maemo-kexec/files/sbin/boot-maemo b/utils/maemo-kexec/files/sbin/bootmaemo similarity index 93% rename from utils/maemo-kexec/files/sbin/boot-maemo rename to utils/maemo-kexec/files/sbin/bootmaemo index 6bcd8b17a..498b096f3 100755 --- a/utils/maemo-kexec/files/sbin/boot-maemo +++ b/utils/maemo-kexec/files/sbin/bootmaemo @@ -1,5 +1,6 @@ #!/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