Version in base suite: 0.4.5 Base version: debvm_0.4.5 Target version: debvm_0.4.5+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/d/debvm/debvm_0.4.5.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/d/debvm/debvm_0.4.5+deb13u1.dsc bin/debefivm-run | 10 ++++++---- debian/changelog | 16 ++++++++++++++++ debian/tests/control | 8 ++++---- share/customize-autologin.sh | 11 +++++++++-- share/customize-resolved.sh | 18 ++++++++++++++++++ tests/create-and-run.sh | 2 +- 6 files changed, 54 insertions(+), 11 deletions(-) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpf75o_7hv/debvm_0.4.5.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpf75o_7hv/debvm_0.4.5+deb13u1.dsc: no acceptable signature found diff -Nru debvm-0.4.5/bin/debefivm-run debvm-0.4.5+deb13u1/bin/debefivm-run --- debvm-0.4.5/bin/debefivm-run 2025-06-18 09:18:37.000000000 +0000 +++ debvm-0.4.5+deb13u1/bin/debefivm-run 2026-02-28 16:55:24.000000000 +0000 @@ -344,8 +344,6 @@ set -- \ -no-user-config \ -nodefaults \ - -chardev stdio,id=console,mux=on,signal=off \ - -serial chardev:console \ -name "debefivm-run $IMAGE" \ -m 1G \ -drive "if=pflash,format=raw,unit=0,read-only=on,file=$(comma_escape "$BIOSCODE")" \ @@ -371,9 +369,13 @@ fi if test -z "$GRAPHICAL"; then - set -- -nographic "$@" + set -- \ + -nographic \ + -chardev stdio,id=console,mux=on,signal=off \ + -serial chardev:console \ + "$@" else - case "$KERNELARCH" in + case "$IMAGE_ARCH" in amd64|i386) set -- -vga virtio "$@" ;; diff -Nru debvm-0.4.5/debian/changelog debvm-0.4.5+deb13u1/debian/changelog --- debvm-0.4.5/debian/changelog 2025-06-18 09:18:37.000000000 +0000 +++ debvm-0.4.5+deb13u1/debian/changelog 2026-02-28 16:55:24.000000000 +0000 @@ -1,3 +1,19 @@ +debvm (0.4.5+deb13u1) trixie; urgency=medium + + [ Jochen Sprickerhof ] + * debefivm-run: fix variable name + * debefivm-run: only use the console in nographics mode + + [ Helmut Grohne ] + * tests: buster has been archived + * customize-resolved.sh: explicitly install systemd-resolved + * autopkgtest: skip riscv64 as the emulation is too slow + + [ Luca Boccassi ] + * autologin: prefer credentials to monkey patching unit + + -- Helmut Grohne Sat, 28 Feb 2026 17:55:24 +0100 + debvm (0.4.5) unstable; urgency=medium * debefivm-create: clean up unreproducible files (Closes: #1107719) diff -Nru debvm-0.4.5/debian/tests/control debvm-0.4.5+deb13u1/debian/tests/control --- debvm-0.4.5/debian/tests/control 2025-06-18 09:18:37.000000000 +0000 +++ debvm-0.4.5+deb13u1/debian/tests/control 2026-02-28 16:55:24.000000000 +0000 @@ -2,23 +2,23 @@ Test-Command: setsid ./tests/create-and-run.sh $(dpkg --print-architecture) "" Depends: debian-archive-keyring, debvm, expect, file, openssh-client, seabios [ppc64el], qemu-system-native Restrictions: allow-stderr, needs-internet, needs-root -# Skip armel and armhf: Emulation too slow. +# Skip armel, armhf, and riscv64: Emulation too slow. # Skip i386: No kernel. # Skip loong64: # unable to handle EFI zboot image with "zstd" compression # qemu-system-loongarch64: could not load kernel '/proc/self/fd/3': Failed to load ELF -Architecture: !armel !armhf !i386 !loong64 +Architecture: !armel !armhf !i386 !loong64 !riscv64 Features: test-name=debvm-unshare Test-Command: unshare -U -m -p -f -r --mount-proc true || exit 77; ./tests/create-and-run.sh $(dpkg --print-architecture) "" Depends: debian-archive-keyring, debvm, expect, file, openssh-client, seabios [ppc64el], uidmap, qemu-system-native Restrictions: allow-stderr, needs-internet, skippable -# Skip armel and armhf: Emulation too slow. +# Skip armel, armhf, and riscv64: Emulation too slow. # Skip i386: No kernel. # Skip loong64: # unable to handle EFI zboot image with "zstd" compression # qemu-system-loongarch64: could not load kernel '/proc/self/fd/3': Failed to load ELF -Architecture: !armel !armhf !i386 !loong64 +Architecture: !armel !armhf !i386 !riscv64 !loong64 Features: test-name=debefivm-root Test-Command: setsid ./tests/efi-create-and-run.sh $(dpkg --print-architecture) "" diff -Nru debvm-0.4.5/share/customize-autologin.sh debvm-0.4.5+deb13u1/share/customize-autologin.sh --- debvm-0.4.5/share/customize-autologin.sh 2025-06-18 09:18:37.000000000 +0000 +++ debvm-0.4.5+deb13u1/share/customize-autologin.sh 2026-02-28 16:55:24.000000000 +0000 @@ -35,10 +35,17 @@ echo '[Service]' printf '%s\n' 'ExecStartPre=/bin/sed -n -e "s/^\\(.* \\)\\?\\(TERM=[^ ]*\\).*/\\2/w/run/debvmterm" /proc/cmdline' echo 'EnvironmentFile=-/run/debvmterm' - echo 'ExecStart=' - sed -n 's,^ExecStart=-/sbin/agetty ,&-a root ,p' "$TARGET/lib/systemd/system/$UNIT" + echo 'SetCredential=agetty.autologin:root' ) > "$TARGET/etc/systemd/system/$UNIT.d/autologin.conf" + if dpkg --compare-versions "$(dpkg-query --root "$TARGET" -f '${Version}' -W util-linux)" lt 2.40 || \ + dpkg --compare-versions "$(dpkg-query --root "$TARGET" -f '${Version}' -W systemd)" lt 247; then + ( + echo 'ExecStart=' + sed -n 's,^ExecStart=-/sbin/agetty ,&-a root ,p' "$TARGET/lib/systemd/system/$UNIT" + ) >> "$TARGET/etc/systemd/system/$UNIT.d/autologin.conf" + fi + exit 0 fi diff -Nru debvm-0.4.5/share/customize-resolved.sh debvm-0.4.5+deb13u1/share/customize-resolved.sh --- debvm-0.4.5/share/customize-resolved.sh 2025-06-18 09:18:37.000000000 +0000 +++ debvm-0.4.5+deb13u1/share/customize-resolved.sh 2026-02-28 16:55:24.000000000 +0000 @@ -11,6 +11,23 @@ LIBNSS_RESOLVE_VERSION=$(dpkg-query --root "$TARGET" -f '${Version}' -W libnss-resolve 2>/dev/null) || : +target_apt_get() { + if test "${MMDEBSTRAP_MODE:-}" = chrootless; then + APT_CONFIG="$MMDEBSTRAP_APT_CONFIG" \ + apt-get \ + -oDPkg::Options::=--force-not-root \ + -oDPkg::Options::=--force-script-chrootless \ + -oDPkg::Options::=--root="$TARGET" \ + -oDPkg::Options::=--log="$TARGET/var/log/dpkg.log" + "$@" + else + APT_CONFIG="$MMDEBSTRAP_APT_CONFIG" \ + apt-get \ + -oDPkg::Chroot-Directory="$TARGET" \ + "$@" + fi +} + link_resolv_conf() { if ! test -e "$TARGET$1" -o -h "$TARGET/etc/resolv.conf"; then # To avoid breaking network during mmdebstrap via a dead link, take a copy. @@ -32,6 +49,7 @@ link_resolv_conf /run/systemd/resolve/stub-resolv.conf fi else + target_apt_get --yes install systemd-resolved if test -h "$TARGET/etc/resolv.conf" && ! test -e "$TARGET/etc/resolv.conf"; then resolvconftarget=$(readlink "$TARGET/etc/resolv.conf") if test "${resolvconftarget#../run/}" != "$resolvconftarget"; then diff -Nru debvm-0.4.5/tests/create-and-run.sh debvm-0.4.5+deb13u1/tests/create-and-run.sh --- debvm-0.4.5/tests/create-and-run.sh 2025-06-18 09:18:37.000000000 +0000 +++ debvm-0.4.5+deb13u1/tests/create-and-run.sh 2026-02-28 16:55:24.000000000 +0000 @@ -39,7 +39,7 @@ esac fi case "$RELEASE" in - jessie|stretch) + jessie|stretch|buster) MIRROR=http://archive.debian.org/debian ;; esac