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 Feb 13, 2024
1 parent 4048102 commit 08de5de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stages/02-Packages/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ apt update
# rm -Rf /etc/apt/sources.list.d/*
# rm -Rf /etc/apt/sources.list
# touch /etc/apt/sources.list
PLATFORM_PACKAGES_HOLD="r8125-dkms 8852bu-dkms 8852be-dkms task-rockchip radxa-system-config-rockchip linux-image-rock-5a linux-image-5.10.110-6-rockchip linux-image-5.10.110-11-rockchip"
echo "Holding back platform-specific packages..."
for package in ${PLATFORM_PACKAGES_HOLD}; do
echo "Holding ${package}..."
apt-mark hold ${package} || true
if [ $? -ne 0 ]; then
echo "Failed to hold ${package}!"
fi
done
apt update
apt install -y swig gcc-arm*
sudo sed -i 's/deb \[signed-by=\/usr\/share\/keyrings\/openhd-release-archive-keyring.gpg\] https:\/\/dl.cloudsmith.io\/public\/openhd\/release\/deb\/debian bullseye main/deb \[signed-by=\/usr\/share\/keyrings\/openhd-release-archive-keyring.gpg\] https:\/\/dl.cloudsmith.io\/public\/openhd\/dev-release\/deb\/debian sunxi main/' /etc/apt/sources.list.d/openhd-release.list
Expand Down

0 comments on commit 08de5de

Please sign in to comment.