Compare commits
2 Commits
1ef689c328
...
b64cfc4375
Author | SHA1 | Date | |
---|---|---|---|
b64cfc4375 | |||
73f8394959 |
@ -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 \
|
||||
|
@ -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!"
|
||||
|
Reference in New Issue
Block a user