Skip to content

Commit

Permalink
actually fix arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Dec 31, 2024
1 parent 93c7c8b commit eb57838
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion etc/config/hooks/live/000-remove-blacklisted-packages.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ sudo apt-get install qml-module-qtquick2 qml-module-qtquick-window2 -q -y
sudo dpkg --force-depends --remove snapd-seed-glue
sudo dpkg --force-depends --remove calamares-settings-ubuntu-common calamares-settings-lubuntu
# So it can be downgraded, not the best permanent solution however
curl -L -q http://mirrors.kernel.org/ubuntu/pool/universe/c/calamares-settings-ubuntu/calamares-settings-ubuntu-common_24.10.5_$(dpkg --print-architecture).deb -o calamares-settings-ubuntu-common.deb
if [[ $(dpkg --print-architecture) == "arm64" ]]; then
calam_link="http://ports.ubuntu.com/ubuntu-ports/pool/universe/c/calamares-settings-ubuntu/calamares-settings-ubuntu-common_24.10.5_arm64.deb"
else
calam_link="http://mirrors.kernel.org/ubuntu/pool/universe/c/calamares-settings-ubuntu/calamares-settings-ubuntu-common_24.10.5_amd64.deb"
fi
curl -L -q "${calam_link}" -o calamares-settings-ubuntu-common.deb
curl -L -q http://mirrors.kernel.org/ubuntu/pool/universe/c/calamares-settings-ubuntu/calamares-settings-lubuntu_24.10.5_all.deb -o calamares-settings-lubuntu.deb
sudo dpkg -i calamares-settings-ubuntu-common.deb calamares-settings-lubuntu.deb
rm calamares-settings-ubuntu-common.deb calamares-settings-lubuntu.deb
Expand Down

0 comments on commit eb57838

Please sign in to comment.