Skip to content

Commit c048ead

Browse files
committed
testing: move debian to bullseye
1 parent 7bb154d commit c048ead

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

testing/helpers/chroot-debian.sh

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
11
#!/bin/bash
22

33
cat << EOF > /etc/apt/sources.list
4-
deb http://deb.debian.org/debian buster main contrib
5-
deb-src http://deb.debian.org/debian buster main contrib
6-
EOF
7-
8-
cat << EOF > /etc/apt/sources.list.d/buster-backports.list
9-
deb http://deb.debian.org/debian buster-backports main contrib
10-
deb-src http://deb.debian.org/debian buster-backports main contrib
4+
deb http://deb.debian.org/debian bullseye main contrib
5+
deb-src http://deb.debian.org/debian bullseye main contrib
116
EOF
127

138
apt-get update
149

15-
cat << EOF > /etc/apt/preferences.d/90_zfs
16-
Package: libnvpair1linux libuutil1linux libzfs2linux libzfslinux-dev libzpool2linux python3-pyzfs pyzfs-doc spl spl-dkms zfs-dkms zfs-dracut zfs-initramfs zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed
17-
Pin: release n=buster-backports
18-
Pin-Priority: 990
19-
EOF
20-
2110
# Prevent terminal stupidity and interactive prompts
2211
export TERM=linux
2312
export DEBIAN_FRONTEND=noninteractive

testing/helpers/configure-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ -x /root/network-systemd.sh ]; then
2222
fi
2323

2424
# Remove build tools
25-
apt-get autoremove
25+
apt-get --yes autoremove
2626

2727
# If not using /hostcache, clean the cache
2828
[ -d /hostcache ] || apt-get clean

testing/helpers/install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ "$0" =~ "ubuntu" ]]; then
1111
MIRROR="http://us.archive.ubuntu.com/ubuntu/"
1212
CONFIGURATOR="configure-ubuntu.sh"
1313
else
14-
SUITE="buster"
14+
SUITE="bullseye"
1515
MIRROR="http://ftp.us.debian.org/debian/"
1616
CONFIGURATOR="configure-debian.sh"
1717
fi

0 commit comments

Comments
 (0)