Skip to content

Commit

Permalink
partion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Aug 1, 2023
1 parent 2467495 commit f241245
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions stages/03-Preconfiguration/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ cd /opt/additionalFiles
cp motd /etc/motd

if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" ]] || [[ "${OS}" == "radxa-debian" ]]; then
touch /boot/openhd/rock5.txt
rm /boot/before.txt
cp /opt/additionalFiles/before.txt /boot/before.txt
touch /boot/config.txt
rm /conf/before.txt
cp /opt/additionalFiles/before.txt /conf/before.txt
touch /conf/config.txt
#mounting config partition
ls -a /conf
mkdir -p /conf/openhd
cp -rv /boot/openhd/* /conf/openhd/
touch /conf/openhd/rock5.txt
cp -r /usr/lib/linux-image-5.10.110-99-rockchip-g1bbc04113/rockchip/* /boot/dtbo/
fi

Expand Down

0 comments on commit f241245

Please sign in to comment.