Skip to content

Commit 9b57d8a

Browse files
committed
testing: move Ubuntu to 22.04 LTS, make column available to Debian/Ubuntu
1 parent feb6a26 commit 9b57d8a

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

testing/helpers/chroot-debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export TERM=linux
1212
export DEBIAN_FRONTEND=noninteractive
1313
export DEBCONF_NONINTERACTIVE_SEEN=true
1414

15-
apt-get install --yes locales console-setup ca-certificates openssh-{client,server}
15+
apt-get install --yes bsdextrautils \
16+
locales console-setup ca-certificates openssh-{client,server}
1617
dpkg-reconfigure -f noninteractive
1718

1819
# Make sure the kernel is installed and configured before ZFS

testing/helpers/chroot-ubuntu.sh

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

33
cat << EOF > /etc/apt/sources.list
4-
deb http://us.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
5-
deb-src http://us.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
4+
deb http://us.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
5+
deb-src http://us.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
66
EOF
77

8-
cat << EOF > /etc/apt/sources.list.d/focal-backports.list
9-
deb http://us.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
10-
deb-src http://us.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
8+
cat << EOF > /etc/apt/sources.list.d/jammy-backports.list
9+
deb http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
10+
deb-src http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
1111
EOF
1212

1313
apt-get update
@@ -17,8 +17,9 @@ export TERM=linux
1717
export DEBIAN_FRONTEND=noninteractive
1818
export DEBCONF_NONINTERACTIVE_SEEN=true
1919

20-
apt-get install --yes locales console-setup ca-certificates openssh-{client,server}
21-
dpkg-reconfigure -f noninteractive
20+
apt-get install --yes bsdextrautils \
21+
locales console-setup ca-certificates openssh-{client,server}
22+
dpkg --configure -a
2223

2324
# Make sure the kernel is installed and configured before ZFS
2425
# Don't allow the kernel to pull in recommended packages (including GRUB)

testing/helpers/install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -z "${CHROOT_MNT}" ] || [ ! -d "${CHROOT_MNT}" ]; then
77
fi
88

99
if [[ "$0" =~ "ubuntu" ]]; then
10-
SUITE="focal"
10+
SUITE="jammy"
1111
MIRROR="http://us.archive.ubuntu.com/ubuntu/"
1212
CONFIGURATOR="configure-ubuntu.sh"
1313
else

0 commit comments

Comments
 (0)