Compare commits
2 Commits
1ef689c328
...
b64cfc4375
Author | SHA1 | Date | |
---|---|---|---|
b64cfc4375 | |||
73f8394959 |
@ -114,8 +114,8 @@ echo
|
|||||||
echo "Initializing config..."
|
echo "Initializing config..."
|
||||||
# Initialize the live-build config
|
# Initialize the live-build config
|
||||||
lb config \
|
lb config \
|
||||||
--distribution bookworm \
|
--distribution bullseye \
|
||||||
--archive-areas "main contrib non-free-firmware" \
|
--archive-areas "main contrib non-free" \
|
||||||
--mirror-bootstrap "${mirror_server}/debian" \
|
--mirror-bootstrap "${mirror_server}/debian" \
|
||||||
--mirror-chroot-security "${mirror_server}/debian-security" \
|
--mirror-chroot-security "${mirror_server}/debian-security" \
|
||||||
--debconf-frontend readline \
|
--debconf-frontend readline \
|
||||||
|
@ -17,7 +17,7 @@ this_tty=$( tty | sed -e "s:/dev/::" )
|
|||||||
echo "This TTY: ${this_tty}"
|
echo "This TTY: ${this_tty}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [[ ${#active_ttys} -gt 1 ]]; then
|
if [[ ${#active_ttys[@]} -gt 1 ]]; then
|
||||||
if [[ "${active_ttys[@]}" =~ "ttyS" ]]; then
|
if [[ "${active_ttys[@]}" =~ "ttyS" ]]; then
|
||||||
if grep -q -E -o "tty[0-9]+" <<<"${this_tty}"; then
|
if grep -q -E -o "tty[0-9]+" <<<"${this_tty}"; then
|
||||||
echo "Found more than one TTY and at least one serial TTY!"
|
echo "Found more than one TTY and at least one serial TTY!"
|
||||||
|
Reference in New Issue
Block a user