Skip to content

Commit

Permalink
config partition
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jul 31, 2023
1 parent ec7de89 commit e2f0d3d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions stages/03-Preconfiguration/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,11 @@ cd /opt/additionalFiles
cp motd /etc/motd

if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" ]] || [[ "${OS}" == "radxa-debian" ]]; then
echo "this is the config partition"
ls /config/openhd
mkdir -p /config/openhd
echo "this is in the openhd boot partition"
ls /boot/openhd/
cp -rv /boot/openhd/* /config/openhd
umount /boot/openhd
rm -Rf /boot/openhd
#sudo ln -s /config/openhd/ /boot/openhd
mkdir -p /boot/openhd
touch /boot/openhd/rock5.txt
mkdir -p /etc/systemd/system/[email protected]
rm /config/before.txt
rm /boot/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/
Expand Down

0 comments on commit e2f0d3d

Please sign in to comment.