summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
28 hoursLeave an apt.conf.d/00mmdebstrap behinddebian/bookworm-backportsHelmut Grohne
bookworm's mmdebstrap fails when it's not present, but we do not want it to be in the generated ext4 image. Reported-by: Colin Watson <cjwatson@debian.org>
39 hoursMerge main into bookworm-backports and release as 0.4.5~bpo12+1Helmut Grohne
8 daysupload as 0.4.4~bpo12+2 to bookworm-backportsHelmut Grohne
8 daysRelax qemu dependencyHelmut Grohne
It was tightened up beyond bookworm via 1c98a5b3b36f ("bin/debvm-run: qemu (>> 1:8.0) provides symlinks for qemu-system-${debarch} as well as qemu-system-any") and then via 1f768f1dae33 ("debvm-run: re-enable qemu detection for pre-trixie") the dependency was practically relaxed but not in debian/control.
9 daysupload 0.4.5 to unstableHelmut Grohne
9 daysupload as 0.4.4~bpo12+1 to bookworm-backportsHelmut Grohne
10 daysdebvm-create: fix corner case in #1079443 workaroundHelmut Grohne
2025-06-12debefivm-run: fix parsing of --efi-vars optionHelmut Grohne
The option would previously cause an error message scrolling by and proceed as if the option wasn't given.
2025-06-12debefivm-create: clean up unreproducible filesHelmut Grohne
These files are normally deleted by mmdebstrap. However, debefivm-create invokes mkfs.ext4 itself and thereby implicitly skips all cleanup actions normally done by mmdebstrap. This happens to include the truncation of /etc/machine-id and that results in non-reproducibility as well as reused images sharing a machine-id even though they should never do that. Reported-by: Stefano Rivera <stefanor@debian.org> Closes: #1107719
2025-06-04upload 0.4.4 to unstableHelmut Grohne
2025-06-04Force tests to not use smpHelmut Grohne
According to Michael, a key ingredient to reproducing #1106792 is concurrency. By disabling smp, we skip the problem Closes: #1106397
2025-05-31upload 0.4.3 to unstableHelmut Grohne
2025-05-31Fix a spelling mistake in manual pagesHelmut Grohne
2025-05-30Merge salsa/main into dgit/sidHelmut Grohne
2025-05-30Merge branch 'systemd_boot_efi' into 'main'Helmut Grohne
debefivm-create: pull in systemd-boot-efi for stub binary See merge request helmutg/debvm!52
2025-05-30debefivm-create: pull in systemd-boot-efi for stub binaryLuca Boccassi
301s I: running special hook: download '/usr/lib/systemd/boot/efi/linuxx64.efi.stub' '/tmp/tmp.p5ZnciDkKP/stub' 301s W: hooklistener errored out: E: received error on socket 301s 301s E: setup failed: E: hookhelper failed: E: path does not exist: /tmp/mmdebstrap.Isamzv02mH/usr/lib/systemd/boot/efi/linuxx64.efi.stub systemd-boot prefers the package containing the signed EFI binary now, if available. The stub is in the unsigned package, given it's needed, depend on it directly. Closes: #1106847
2025-05-26upload 0.4.2 to unstabledebian/0.4.2mainHelmut Grohne
2025-05-25Attempt to limit test reliability by reducing concurrencyHelmut Grohne
2025-05-12Merge branch 'usage-typo' into 'main'Helmut Grohne
debefivm-create: fix typo in usage message See merge request helmutg/debvm!51
2025-05-12debefivm-create: fix typo in usage messageColin Watson
2025-05-06upload 0.4.1 to unstableHelmut Grohne
2025-05-06debefivm-create: drop nosymfollow for the EFI filesystemHelmut Grohne
On stretch, the nosymfollow mount option is not supported. Given that vfat does not do symlinks at all, the simple way forward is skipping it. Reported-by: Stefano Rivera <stefanor@debian.org>
2025-05-06autopkgtests: refine architectures to testHelmut Grohne
2025-05-06autopkgtests: test running autopkgtestHelmut Grohne
debefivm-create is able to create an image compatible with autopkgtest-virt-qemu. We can test this.
2025-05-06autopkgtests: use qemu-system-nativeHelmut Grohne
This is available since 1:9.2.0+ds-5 and more suitable than qemu-kvm as it is universally available now.
2025-05-06tests/autopkgtest-qemu-efi.sh: increase boot timeout to satisfy CIHelmut Grohne
2025-05-06debvm-create: fix network during mmdebstrap for old releasesHelmut Grohne
We primarily run the systemd network stack inside debvm and that comes with turning /etc/resolv.conf into a symbolic link. Unfortunately, we may break networking during VM construction that way. The behavior is quite release dependent. For trixie and later, systemd-resolved.postinst takes a copy of /etc/resolv.conf and places it at the symlink target. For bookworm, systemd-resolved.postinst overwrites /etc/resolv.conf with a link that becomes dead. For bullseye and earlier, customize-resolved.conf overwrites /etc/resolv.conf with a link that becomes dead. That being dead means that passing any further customize hooks will not be able to utilize networking as DNS resolution fails. To improve the user experience, customize-resolved.sh will now turn ensure that those symlink targets are reasonably popoulated.
2025-04-11upload 0.4.0 to unstableHelmut Grohne
2025-04-11Merge branch 'debefivm' into 'main'Helmut Grohne
add a new family of wrappers for EFI based images See merge request helmutg/debvm!49
2025-04-11enable basic debefivm salsa tests as autopkgtestHelmut Grohne
2025-04-11debefivm-create: follow autologin change of debvm-createHelmut Grohne
2025-04-11Merge branch 'skip-autologin-rootpw' into 'main'Helmut Grohne
debvm-create: --skip=autologin also covers deletion of the root password See merge request helmutg/debvm!50
2025-04-10debvm-create: reword --skip=autologin documentation againHelmut Grohne
This gets rid of unidiomatic "at once". It drops implementation details such as which hook performs the action and focuses on the user visible effects. Reported-by: Gioele Barabucci <gioele@debian.org>
2025-04-10debvm-create: --skip=autologin also covers deletion of the root passwordHelmut Grohne
Suggested-by: Gioele Barabucci <gioele@debian.org>
2025-04-06d/control: extend recommends and suggests for debefivm-* and document their needHelmut Grohne
2025-04-06salsa-ci: add a test case for the mmdebstrap-autopkgtest-build-qemu use caseHelmut Grohne
2025-04-06salsa-ci: add basic tests for debefivm-*Helmut Grohne
2025-04-06add a new family of wrappers for EFI based imagesHelmut Grohne
debefivm-create is based on mmdebstrap-autopkgtest-build-qemu, which is is co-authored with Johannes Schauer Marin Rodrigues. Also thanks to Jochen Sprickerhof for suggesting the --rootsize option for use in Debusine.
2025-04-06declare compliance with policy 4.7.2Helmut Grohne
2025-04-06update copyright yearsHelmut Grohne
2025-04-01Trigger autopkgtests on mmdebstrap uploadsHelmut Grohne
2025-03-31upload 0.3.2 to unstableHelmut Grohne
2025-03-30debvm-create: work around arm32 boot failureHelmut Grohne
The long story of this commit can be found in #1079443. Special thanks to all of the following for investing significant amounts of time into debugging the root cause: * Tj <tj.iam.tj@proton.me> * Jochen Sprickerhof <jspricke@debian.org> * Chris Hofstaedtler <zeha@debian.org> In the end, dracut-install fails to install kernel modules (including virtio_blk) that are being passed as =directory if said directory has an inode number exceeding 32bit on an arm32 userland. Lots of thought has been expended into fixing fts on the glibc side with little conclusions. Since armhf is still somewhat important, we settle on a workaround here. The problem is acknowledged and we explicitly install the virtio_blk kernel module that dracut-install should have installed. Doing so at least makes the debvm boot. For reproducing the problem, TMPDIR needs to point to a directory where created directories receive inodes exceeding 32bit. On a tmpfs, this situation can be achieved by creating and deleting lots of directories. The following code can be run in parallel to increase the inode counter in a couple of hours: #include <sys/stat.h> #include <unistd.h> int main(int argc, char **argv) { for(;;) { mkdir(argv[1], 0755); rmdir(argv[1]); } }
2025-03-29gitlab-ci: allow choosing the suite for performing architecture testsHelmut Grohne
2025-03-29debvm-run: fix recognizing amd64 kernels with updated file toolHelmut Grohne
2025-03-29autopkgtests: trigger by systemd uploadsHelmut Grohne
2025-03-29debvm-create: create a more sensible /etc/hostsHelmut Grohne
This is close to what the debian installer sets up.
2025-03-29debvm-run: re-enable qemu detection for pre-trixieHelmut Grohne
Fixes: 1c98a5b3b36f ("qemu-system-${debarch} as well as qemu-system-any")
2025-03-27fix deletion of root password againHelmut Grohne
Unless passwd is installed, shadow is not enabled. That is, shadow being enabled is not a boolean. It can be enabled per user and systemd enables it for its own users, so shadow exists, but may not contain the root user. Thus the password deletion logic need a bit more fancyness for covering systems that lack the passwd package.
2025-03-09.gitlab-ci.yml: explicitly install gpgv for jessieHelmut Grohne
The jessie test was broken by apt defaulting to sqv in the sense that mmdebstrap's gpgvnoexpkeysig requires gpgv, but it no longer is being installed. The earlier error message was not diagnosing this, but Johannes Schauer Marin Rodrigues kindly debugged and fixed that on the mmdebstrap side. Thanks! Now with a proper error message, a missing gpgv can be easily addressed. apt will still prefer sqv for everything but jessie.