diff --git a/stages/02-Packages/00-run-chroot.sh b/stages/02-Packages/00-run-chroot.sh index af143d76..8fbe8f28 100755 --- a/stages/02-Packages/00-run-chroot.sh +++ b/stages/02-Packages/00-run-chroot.sh @@ -7,7 +7,6 @@ set -e -cat /boot/extlinux/extlinux* # X20 specific code function install_x20_packages { #sudo apt install -y firmware-realtek NEEDS FIXING diff --git a/stages/03-Preconfiguration/00-run-chroot.sh b/stages/03-Preconfiguration/00-run-chroot.sh index 9e796e7a..1060d1ef 100755 --- a/stages/03-Preconfiguration/00-run-chroot.sh +++ b/stages/03-Preconfiguration/00-run-chroot.sh @@ -11,9 +11,11 @@ rm /etc/motd cp /usr/local/share/openhd_misc/motd /etc/motd if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" ]] || [[ "${OS}" == "radxa-debian-rock-cm3" ]]; then - cat /etc/fstab - tree /conf - #rm /conf/before.txt + #fix uart bug + sudo sed -i -E 's/console=[^ ]*//g' /boot/extlinux/extlinux.txt + sudo sed -i -E 's/\s+/ /g' /boot/extlinux/extlinux.txt + + cp /usr/local/share/openhd_misc/before.txt /conf/before.txt #allow offline auto detection of image format cp /usr/local/share/openhd_misc/issue.txt /conf/issue.txt