Commit 7bbe0993 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-disk: rely on mkinitfs's links to kernel

mkinitfs is supposed to create the links to current kernel
parent 5531beb0
......@@ -98,9 +98,6 @@ install_mounted_root() {
ln -s boot/grsec.gz "$mnt"/grsec.gz
ln -s boot/grsec "$mnt"/grsec
if is_vmware; then
pax_nouderef="pax_nouderef "
......@@ -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
# fix the fstab
enumerate_fstab "$mnt" >> "$mnt"/etc/fstab
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment