Skip to content

Commit

Permalink
Try to add backports to a different file
Browse files Browse the repository at this point in the history
  • Loading branch information
novusthedev committed Mar 28, 2024
1 parent a5bdaea commit a14a9d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ echo "calamares calamares-settings-debian" > $WKDIR/$BLDDIR/config/package-lists
# Make folders in the chroot

mkdir -p $WKDIR/$BLDDIR/config/hooks/normal/
mkdir -p $WKDIR/$BLDDIR/config/archives/
mkdir -p $WKDIR/$BLDDIR/config/includes.chroot/usr/local/bin/
mkdir -p $WKDIR/$BLDDIR/config/includes.chroot/etc/apt/trusted.gpg.d
mkdir -p $WKDIR/$BLDDIR/config/includes.chroot/etc/skel/.config/
Expand Down Expand Up @@ -78,10 +79,10 @@ cp -p /etc/resolv.conf $WKDIR/$BLDDIR/config/includes.chroot/etc/resolv.conf
lb build

# Disclaimer:
# THIS SOFTWARE IS PROVIDED BY EZNIX “AS IS” AND ANY EXPRESS OR IMPLIED
# THIS SOFTWARE IS PROVIDED BY THE AUTHORS “AS IS” AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL EZNIX BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
Expand Down
6 changes: 6 additions & 0 deletions hooks/Global/9095-setup-os.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ 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
Expand Down

0 comments on commit a14a9d1

Please sign in to comment.