diff --git a/stages/03-Preconfiguration/00-run-chroot.sh b/stages/03-Preconfiguration/00-run-chroot.sh index 893d909e..85d097b8 100755 --- a/stages/03-Preconfiguration/00-run-chroot.sh +++ b/stages/03-Preconfiguration/00-run-chroot.sh @@ -14,18 +14,14 @@ cp motd /etc/motd if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" ]] || [[ "${OS}" == "radxa-debian" ]]; then mkdir -p /config/openhd cp -rv /boot/openhd/* /config/openhd - cp -rv /config/* /config/openhd/ umount /boot/openhd rm -Rf /boot/openhd sudo ln -s /config/openhd/ /boot/openhd touch /boot/openhd/rock5.txt - mkdir -p /boot/openhd/ mkdir -p /etc/systemd/system/getty@tty1.service.d - touch /boot/openhd/rock5.txt - touch /boot/openhd/ground.txt rm /config/before.txt cp /opt/additionalFiles/before.txt /config/before.txt - + touch /boot/config.txt cp -r /usr/lib/linux-image-5.10.110-99-rockchip-g1bbc04113/rockchip/* /boot/dtbo/ fi