Skip to content

Commit

Permalink
Trying a fix for backports
Browse files Browse the repository at this point in the history
  • Loading branch information
novusthedev committed Mar 28, 2024
1 parent 8a1d6db commit 88a3036
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hooks/Global/9095-setup-os.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ rm -f /etc/bladeos-repo.deb
/usr/bin/apt autoremove -y
/usr/bin/apt clean

# Add backports
echo "
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free
" > /etc/apt/sources.list

# Pin backports
echo "Package: *
Pin: release n=bookworm-backports
Pin-Priority: 900" > /etc/apt/preferences.d/99debian-backports

# Update the repos
/usr/bin/apt update -y

# Setup flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install org.mozilla.firefox/x86_64/stable org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark -y

0 comments on commit 88a3036

Please sign in to comment.