Skip to content

Commit f3abea7

Browse files
authored
Merge branch 'main' into kvm-bindings-0.8.0-again
2 parents 4e8e649 + 4a28b9c commit f3abea7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/test-popular-containers/build_rootfs.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ function make_rootfs {
4343
umount -l mnt
4444
rmdir mnt
4545

46-
systemd-nspawn --pipe -i $IMG /bin/sh <<EOF
46+
# --timezone=off parameter is needed to prevent systemd-nspawn from
47+
# bind-mounting /etc/timezone, which causes a file conflict in Ubuntu 24.04
48+
systemd-nspawn --timezone=off --pipe -i $IMG /bin/sh <<EOF
4749
set -x
4850
. /etc/os-release
4951
passwd -d root
@@ -65,5 +67,6 @@ EOF
6567

6668
make_rootfs alpine:latest
6769
make_rootfs ubuntu:22.04
68-
make_rootfs ubuntu:23.04
70+
make_rootfs ubuntu:23.10
71+
make_rootfs ubuntu:24.04
6972
# make_rootfs ubuntu:latest

0 commit comments

Comments
 (0)