Compare commits

..

2 Commits

Author SHA1 Message Date
b64cfc4375 Reset liveISO to bullseye
Bookworm seems to have a serious bug with PERC controllers causing the
drive to reset. This goes away with Bullseye, so use that instead.
2023-08-28 20:53:54 -04:00
73f8394959 Fix bug with active TTYs 2023-08-28 20:45:17 -04:00
2 changed files with 3 additions and 3 deletions

View File

@ -114,8 +114,8 @@ echo
echo "Initializing config..."
# Initialize the live-build config
lb config \
--distribution bookworm \
--archive-areas "main contrib non-free-firmware" \
--distribution bullseye \
--archive-areas "main contrib non-free" \
--mirror-bootstrap "${mirror_server}/debian" \
--mirror-chroot-security "${mirror_server}/debian-security" \
--debconf-frontend readline \

View File

@ -17,7 +17,7 @@ this_tty=$( tty | sed -e "s:/dev/::" )
echo "This TTY: ${this_tty}"
echo
if [[ ${#active_ttys} -gt 1 ]]; then
if [[ ${#active_ttys[@]} -gt 1 ]]; then
if [[ "${active_ttys[@]}" =~ "ttyS" ]]; then
if grep -q -E -o "tty[0-9]+" <<<"${this_tty}"; then
echo "Found more than one TTY and at least one serial TTY!"