You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debootstrap.sh replaces extraargs or another line in the environment where it finds 'console=' before the line that starts with console=
Suggested the following fix:
--- a/lib/debootstrap.sh+++ b/lib/debootstrap.sh@@ -626,7 +626,7 @@ prepare_partitions()
# if we have a headless device, set console to DEFAULT_CONSOLE
if [[ -n $DEFAULT_CONSOLE && -f $SDCARD/boot/armbianEnv.txt ]]; then
if grep -lq "^console=" $SDCARD/boot/armbianEnv.txt; then
- sed -i "s/console=.*/console=$DEFAULT_CONSOLE/" $SDCARD/boot/armbianEnv.txt+ sed -i "s/^console=.*/console=$DEFAULT_CONSOLE/" $SDCARD/boot/armbianEnv.txt
else
echo "console=$DEFAULT_CONSOLE" >> $SDCARD/boot/armbianEnv.txt
fi
The text was updated successfully, but these errors were encountered:
debootstrap.sh
replacesextraargs
or another line in the environment where it finds 'console=' before the line that starts with console=Suggested the following fix:
The text was updated successfully, but these errors were encountered: