Skip to content

Commit

Permalink
Update 00-run-chroot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jul 30, 2023
1 parent ca38bdc commit 3bfed64
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions stages/03-Preconfiguration/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

Expand Down

0 comments on commit 3bfed64

Please sign in to comment.