From 7a4c177c6a23645d4f36baa9511382ce87fe4ae0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 18 Oct 2011 00:46:08 +0200 Subject: [PATCH] also generate initramfs Signed-off-by: Nico Schottelius --- linux/install.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/linux/install.sh b/linux/install.sh index 7cba1de..148a3d5 100755 --- a/linux/install.sh +++ b/linux/install.sh @@ -24,20 +24,23 @@ version=$(cat include/config/kernel.release) ddir="/boot" spath="arch/x86/boot/bzImage" fname="vmlinuz-$version" +fname="vmlinuz-nico" fpath="${ddir}/${fname}" gpath="$ddir/grub/menu.lst" +initramfs="/boot/initramfs-nico.img" #make install cp "$spath" "$fpath" make modules_install +mkinitcpio -k "$version" -g "$initramfs" #update-grub -cat << eof >> "$gpath" -title $version -root (hd0,0) -kernel ${fpath} - -eof +#cat << eof >> "$gpath" +#title $version +#root (hd0,0) +#kernel ${fpath} +# +#eof echo "Reboot should reboot to $version now ..." read notyet