Commit 0fc3d03c authored by intrigeri's avatar intrigeri

Display a "sorry!" message when trying to boot on a 32-bit BIOS system.

Note: we copy cat.c32 and ifcpu64.c32 from the place where the
syslinux-common package installs all its BIOS
modules (/usr/lib/syslinux/modules/bios/), instead of from the place
where we copy _some_ syslinux modules with
config/chroot_local-hooks/60-copy-syslinux-modules.

refs: #11638
parent fa9741de
......@@ -47,9 +47,9 @@ Restore_cache cache/packages_binary
Install_package
# Copy necessary syslinux modules
for module in ifcpu64.c32
for module in cat.c32 ifcpu64.c32
do
cp "chroot/usr/lib/syslinux/${module}" "${SYSLINUX_PATH}/"
cp "chroot/usr/lib/syslinux/modules/bios/${module}" "${SYSLINUX_PATH}/"
done
# Saving cache
......@@ -67,8 +67,8 @@ label menu_64
kernel vesamenu.c32
append live64.cfg
label menu_32
kernel vesamenu.c32
append live32.cfg
com32 cat.c32
append sorry32.txt
default select_menu
prompt 0
EOF
......@@ -83,8 +83,6 @@ sed -i -e "1i prompt 0\ntimeout 40\n" "${SYSLINUX_MENU_CFG}"
sed -n -e '/^label live-amd64.*/ { q } ; p' "${SYSLINUX_LIVE_CFG}"
) > "${SYSLINUX_PATH}/live64.cfg"
# XXX: #11638
# Don't load live.cfg from menu.cfg:
# syslinux_cfg automatically loads arch-specific menus
sed -i -e '/^include live\.cfg/d' "${SYSLINUX_MENU_CFG}"
We are sorry!
Tails can not work on this computer:
Tails now requires a 64-bit computer.
For more information, see:
https://tails.boum.org/doc/about/requirements/
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