Skip to content

Commit

Permalink
Hopefully this fixes the input problem
Browse files Browse the repository at this point in the history
  • Loading branch information
novusthedev committed Mar 28, 2024
1 parent a14a9d1 commit 2009307
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
14 changes: 0 additions & 14 deletions hooks/Global/9095-setup-os.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ 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.d/bookworm-backports.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
17 changes: 17 additions & 0 deletions hooks/Global/9999-setup-backports.chroot
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

set -e

# 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.d/bookworm-backports.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

0 comments on commit 2009307

Please sign in to comment.