From 7bbe0993ee5c0a93a49ee76069b0a7f206f274c6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 Sep 2009 11:12:03 +0000 Subject: setup-disk: rely on mkinitfs's links to kernel mkinitfs is supposed to create the links to current kernel --- setup-disk.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/setup-disk.in b/setup-disk.in index 881c341..d53fba1 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -98,9 +98,6 @@ install_mounted_root() { done fi - ln -s boot/grsec.gz "$mnt"/grsec.gz - ln -s boot/grsec "$mnt"/grsec - if is_vmware; then pax_nouderef="pax_nouderef " else @@ -113,8 +110,8 @@ timeout 20 prompt 1 default grsec label grsec - kernel /grsec - append initrd=/grsec.gz root=$(uuid_or_device $rootdev) modules=sd-mod,usb-storage,ext3$raidmod ${pax_nouderef}quiet + kernel /boot/vmlinuz-grsec + append initrd=/boot/initramfs-grsec root=$(uuid_or_device $rootdev) modules=sd-mod,usb-storage,ext3$raidmod ${pax_nouderef}quiet EOF # fix the fstab enumerate_fstab "$mnt" >> "$mnt"/etc/fstab -- cgit v1.2.3