summaryrefslogtreecommitdiffstats
path: root/config/binary_local-hooks
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-12-02 17:52:13 +0000
committerTails developers <amnesia@boum.org>2013-12-02 17:52:13 +0000
commit72814819a38d2771699d2948215c0e625e9a3233 (patch)
tree10a52b14b4f4d899eeb7ec4b7d44d46e073062cb /config/binary_local-hooks
parentecf4f0eaf65b17b7c718aa87d2d19a9c5ed6d4ed (diff)
Install amd64 kernel instead of 686-pae one: a 64-bit kernel will be required for UEFI boot on 64-bit hardware.
Diffstat (limited to 'config/binary_local-hooks')
-rwxr-xr-xconfig/binary_local-hooks/20-syslinux_detect_cpu10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/binary_local-hooks/20-syslinux_detect_cpu b/config/binary_local-hooks/20-syslinux_detect_cpu
index ed56b6b..252cc52 100755
--- a/config/binary_local-hooks/20-syslinux_detect_cpu
+++ b/config/binary_local-hooks/20-syslinux_detect_cpu
@@ -66,10 +66,10 @@ Remove_package
cat > "${SYSLINUX_CFG}" <<EOF
label select_menu
com32 ifcpu64.c32
- append menu_686-pae -- menu_686-pae -- menu_486
-label menu_686-pae
+ append menu_amd64 -- menu_amd64 -- menu_486
+label menu_amd64
kernel vesamenu.c32
- append live686.cfg
+ append liveamd64.cfg
label menu_486
kernel vesamenu.c32
append live486.cfg
@@ -82,7 +82,7 @@ EOF
sed -i -e "1i prompt 0\ntimeout 40\n" "${SYSLINUX_MENU_CFG}"
# Copy and adapt live.cfg for each kernel
-for arch in 486 686
+for arch in 486 amd64
do
(
echo "include menu.cfg"
@@ -93,7 +93,7 @@ do
append=2
fi
sed -e "s,/vmlinuz$,/vmlinuz${append}, ; s,initrd\.img,initrd${append}.img," "${SYSLINUX_LIVE_CFG}"
- ) | sed -n -e '/^label live-686-pae.*/ { q } ; p' \
+ ) | sed -n -e '/^label live-amd64.*/ { q } ; p' \
> "${SYSLINUX_PATH}/live${arch}.cfg"
done