blob: be2059ba43243c835416610f0f83978565f98380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash -xe
set -o pipefail
# Enable additional sources
cat > "${root:?}"/etc/apt/sources.list << EOF
deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
EOF
# update/upgrade system
chroot "${root:?}" apt-get update
chroot "${root:?}" apt-get upgrade --assume-yes
|