summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-23 11:12:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-23 11:12:03 +0000
commit7bbe0993ee5c0a93a49ee76069b0a7f206f274c6 (patch)
treef3a969cb303502cbcb844fa89bfeed76ccded8e1
parent5531beb030b8e0a2f0da5ba5b8833bb01ba21c85 (diff)
downloadalpine-conf-7bbe0993ee5c0a93a49ee76069b0a7f206f274c6.tar.bz2
alpine-conf-7bbe0993ee5c0a93a49ee76069b0a7f206f274c6.tar.xz
setup-disk: rely on mkinitfs's links to kernel
mkinitfs is supposed to create the links to current kernel
-rw-r--r--setup-disk.in7
1 files 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