summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2025-03-05debian/tests: tighten dependency on qemu-kvmHelmut Grohne
The native test really wants to run kvm (whether it uses kvm or tcg is another question), but debvm only depends on qemu-kvm | qemu-system-any. The latter alternative is of little use for the test and makes it fail.
2024-08-13test for autologin to work using expectHelmut Grohne
2024-08-13debvm-create: implement password deletion with correctly quoted sedHelmut Grohne
While using the --prefix option is great, it's only available in trixie. Hence, revert back to sed, this time getting the quoting right (by avoiding backslashes using character sequences) and also apply to all lines of the file as systemd seems to be adding users to the front. Reported-by: Vasyl Vavrychuk Fixes: 984a1155456d ("debvm-create: revert back to passwd for deleting the root password") Closes: #17
2024-06-23upload 0.3.1 to unstableHelmut Grohne
2024-03-28fix spelling error in changelogHelmut Grohne
Lintian: spelling-error-in-changelog
2024-03-27upload 0.3 to unstableHelmut Grohne
2024-02-27debvm-create: fix --skip ext4Helmut Grohne
We were truncating the output file after generating it. Instead, split the logic and create the file prior to running mmdebstrap to make permission failures fail early.
2024-02-26debvm-create: switch from genext2fs to mkfs.ext4Helmut Grohne
Why? genext2fs is slow. It has O(n^2) behaviour, which becomes annoying with larger filesystems. It also creates an ext2 image and we have to upgrade it to ext4 in multiple steps. Even then, the image has an inode size of 128, which is incompatible with 2038 and does not allow storing sub-second precision time stamps. How? We use mkfs.ext4 from e2fsprogs (which is required anyway) instead. Running this from within a --customize-hook does not work, because the user namespace used for the hook often has no privileges to write to the output image. Instead, we now ask mmdebstrap to output to a directory and create the filesystem separately. We construct a special namespace that has both access to the tree and to the output image and perform the mkfs.ext4 there. As a consequence, we no longer support any mode but unshare and since mkfs.ext4 consumes the size parameter, the size syntax is reduced a bit.
2023-12-28autopkgtest: use negation to exclude 32bit armHelmut Grohne
Suggested-by: Paul Gevers <elbrus@debian.org>
2023-09-28upload 0.2.13 to unstableHelmut Grohne
2023-09-28autopkgtest: contain possible damage by killpgHelmut Grohne
When mmdebstrap fails, it kills its child processes by killing its process group. This is harmless in many cases. For instance, when run from an interactive shell, the shell creates a process group. When run with user namespaces as non-root, not being root limits the possible damage. But when run as root from autopkgtest, mmdebstrap runs in the initial process group and takes down the entire lxc container. Using setsid, we can isolate the container from this killpg call.
2023-09-24make autopkgtest non-flakyHelmut Grohne
When passing an empty release to ./tests/create-and-run.sh, we now use the host's apt sources and pinning. This is an additional gitlab-ci test and replaces the previous autopkgtest involving unstable, which thus becomes non-flaky.
2023-09-24add curl dependency to autopkgtestsHelmut Grohne
Fixes: e2e003c4415f ("tests/create-and-run.sh: choose ports mirror automatically")
2023-06-29add test dep on debian-archive-keyringBrian Murray
2023-06-23upload 0.2.12 to unstableHelmut Grohne
Fix a syntax error in control. Fixes: 1c98a5b3b36f ("bin/debvm-run: qemu (>> 1:8.0) provides symlinks for qemu-system-${debarch} as well as qemu-system-any")
2023-06-22upload 0.2.11 to unstableHelmut Grohne
2023-06-19bin/debvm-run: qemu (>> 1:8.0) provides symlinks for qemu-system-${debarch} ↵Johannes Schauer Marin Rodrigues
as well as qemu-system-any
2023-06-07mark autopkgtests as flaky for nowHelmut Grohne
Closes: #1036932
2023-03-21upload 0.2.10 to unstableHelmut Grohne
2023-02-28upload 0.2.9 to unstableHelmut Grohne
2023-02-20debvm-create: avoid failing when we install no passwdHelmut Grohne
2023-02-10upload 0.2.8 to unstable: more autopkgtest fixingHelmut Grohne
2023-02-09autopkgtest: improve unprivieleged unshare conditionHelmut Grohne
Thanks to Johannes Schauer for trying it on debci and seeing that it properly tests the environment.
2023-02-08autopkgtests: drop versioned qemu dependencyHelmut Grohne
Since qemu-kvm is virtual, it doesn't have a version and we cannot depend on it like that. Rather than revert back to qemu-system-misc (which would defeat the purpose), just drop the dependency as testing has a fixed version now. Thanks to Jochen Sprickerhof for explaining the cause of badpkg.
2023-02-05upload 0.2.7 to unstable: autopkgtest without fakechrootHelmut Grohne
2023-02-05debian: autopkgtest: do away with fakerootHelmut Grohne
Use two tests. One in --mode=root and another skippable one in --mode=unshare. The latter will likely be skipped on Debian infrastructure.
2023-02-01debian: add qemu as test triggerHelmut Grohne
It's only a trigger for s390x yet, due to being a dependency of debvm otherwise.
2023-01-27upload as 0.2.6 to unstable in another attempt at autopkgtestsHelmut Grohne
2023-01-27debian: autopkgtest: disable on armel and armhf as they're too slowHelmut Grohne
2023-01-27debian: autopkgtest: stop triggering on unused 686-pae kernel imageHelmut Grohne
2023-01-27debian: autopkgtests: depend on suitably recent fakechrootHelmut Grohne
2023-01-26debian: autopkgtest needs file on i386 to refine arch guessHelmut Grohne
2023-01-25upload as 0.2.5 to unstableHelmut Grohne
2023-01-25debvm-run: handle some multiarch kernelsHelmut Grohne
We completely treat all 32bit arm as armhf now. Booting the rpi kernel installed by debvm-create for armel will not work at all. The only sane way to boot armel is to enable a multiarch kernel. Refine the VMARCH guess from /bin/true using the file output for the kernel image for the common cases of i386+amd64 and armel/armhf+arm64.
2023-01-23upload debvm/0.2.4 to unstableHelmut Grohne
2023-01-23debian: fix placement of general mmdebstrap hooksHelmut Grohne
2023-01-21upload 0.2.3 to unstableHelmut Grohne
2023-01-21fix ftbfs: cannot use arch restriction for arch:all packageHelmut Grohne
2023-01-21upload the "try to fix autopkgtests" relase as 0.2.2 to unstableHelmut Grohne
2023-01-21debian: work around qemu-system-misc not providing qemu-kvm on s390xHelmut Grohne
This is a workaround for https://bugs.debian.org/1029309
2023-01-21extend bios recommendationsHelmut Grohne
* ppc64el needs seabios for vgabios-stdvga.bin * We need ipxe-qemu for -device virtio-net-pci,netdev=net0
2023-01-20trigger autopkgtests on linux uploadsHelmut Grohne
2023-01-20Upload to unstable as 0.2.1 to fix autopkgtestHelmut Grohne
2023-01-20add lintian override for accessing the dpkg databaseHelmut Grohne
2023-01-18Suggest qemu-system-guiJochen Sprickerhof
2023-01-18Fix qemu recommendationsHelmut Grohne
2023-01-18Demote binfmt-support recommendationHelmut Grohne
systemd-binfmt implements what we need here and that's what most users will have, so only recommend binfmt-support when systemd is missing. Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-18bump mmdebstrap dependencyHelmut Grohne
We really are using 1.3.0 features already.
2023-01-18upload debvm 0.2 to unstableHelmut Grohne
2023-01-18Update debian packagingHelmut Grohne