summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/cmd/installer-pc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cmd/installer-pc.sh b/lib/cmd/installer-pc.sh
index e375763..12e1193 100644
--- a/lib/cmd/installer-pc.sh
+++ b/lib/cmd/installer-pc.sh
@@ -72,7 +72,7 @@ cmd_installer_pc_main()
$(od -An -tx1 -v -j 440 -N 4 "${dev}")
EOF
# This ln command won't be needed once lilo 24.1-1 is uploaded.
- ln "${mountpoint}/boot/vmlinuz" "${mountpoint}/boot/vmlinuz.old"
+ ln "${root}/boot/vmlinuz" "${root}/boot/vmlinuz.old"
session_begin "${root}" . : false
session_exec install-lilo \
"${dev}" "PARTUUID=${b1}${b2}${b3}${b4}-01"