summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-23debvm-create: also support --initsystem=runitHelmut Grohne
2023-02-23debvm-create: do not fsckHelmut Grohne
Asking for a fsck pass in fstab is not what we want. Requiring fsck makes sysvinit fail when fsck.ext4 is missing. Without that pass, it happily boots without e2fsprogs. Link: https://bugs.debian.org/1028267 Thanks: Thorsten Glaster <t.glaser@tarent.de>
2023-02-20debvm-create: add --initsystem optionHelmut Grohne
This option allows changing the init system. The notable addition is sysv.
2023-02-20debvm-create: fix graphical sysv autologinHelmut Grohne
2023-02-20debvm-create: extend autologin hook to work with sysvinitHelmut 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-05debvm-create: fix resizing of output imageHelmut Grohne
resize2fs -b will not actually perform a resize. Rather, it will truncate the file to the filesystem length, reversing the earlier truncate call. Thus we need second resize2fs call to change the size of the filesystem. Fixes: 09bcaa8fe901 ("debvm-create: make the ext4 look more like ext4")
2023-02-05debvm-create: add --skip=initsystemHelmut Grohne
Closes: #1030254
2023-02-05debvm-create: install systemd-sysv rather than initHelmut Grohne
We actually expect systemd in the network configuration. Be more honest about this.
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-03Merge branch tar-output into mainHelmut Grohne
Closes: !29
2023-02-03debvm-create: update documentation for --skip=ext4Helmut Grohne
2023-02-02debvm-create: Output image in tar format if step "ext4" is skippedGioele Barabucci
Outputting the image in tar format breaks interoperability with `debvm-run`, but makes it easier to inspect, convert or perform additional modifications of the generated image.
2023-02-02debvm-run: deal with arbitrary disk labelsHelmut Grohne
Reported-by: Gioele Barabucci <gioele@svario.it> Closes: #1030255
2023-02-02debvm-create: make the ext4 look more like ext4Helmut Grohne
One notable difference remains. metadata_csum keeps missing as tune2fs insists on doing this interactively only. Reported-by: Gioele Barabucci <gioele@svario.it> Closes: #1030252
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-26debvm-run: be a bit more verbose about detected architectureHelmut Grohne
2023-01-25upload as 0.2.5 to unstableHelmut Grohne
2023-01-25Merge branch 'multiarch' into 'main'Helmut Grohne
install and use multiarch kernels for sibling architectures See merge request helmutg/debvm!28
2023-01-25debvm-run: always pass gic-version=max for arm64Helmut Grohne
We already pass it in the kvm case where it should become host and all should be fine. However in the non-kvm case, the default gic can only support 8 cores. If we want to go beyond that, we need a higher gic-version. We couldn't measure a performance difference between max and unset, so we'll just always pass max. Thanks: Arnd Bergmann <arnd@arndb.de> Thanks: Johannes Schauer Marin Rodrigues <josch@debian.org>
2023-01-25debvm-run: disable kvm for armhf -> arm64 when the cpu cannot run itHelmut Grohne
Reported-by: Arnd Bergmann <arnd@arndb.de>
2023-01-25debvm-run: internally differentiate between VMARCH and KERNELARCHHelmut Grohne
In a multiarch setting, VMARCH shall describe the contained userland and KERNELARCH shall describe the architecture of the contained kernel.
2023-01-25debvm-run: make shellcheck happyHelmut Grohne
Fixes: 66b9374cc19c ("debvm-run: extract kernel image before inspecting it")
2023-01-25debvm-run: also handle upgrading armHelmut Grohne
elf-arch may report armel and armhf as arm.
2023-01-25debvm-run: extract kernel image before inspecting itHelmut Grohne
Reported-by: Arnd Bergmann <arnd@arndb.de>
2023-01-25tests: use an amd64 kernel on i386Helmut Grohne
2023-01-25debvm-create: handle multiarch kernel for 32bit+64bit armHelmut 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-24debvm-run: do not pass -smp on unicore systemsHelmut Grohne
2023-01-24tests: add armel with an armhf kernelHelmut Grohne
2023-01-24debvm-create: install better kernels in multiarch caseHelmut Grohne
While this works for armel+armhf by sheer luck, debvm-run fails for i386+amd64 as it selects qemu-system-i386.
2023-01-24debvm-create: fix parsing dpkg architecture in multiarch caseHelmut Grohne
2023-01-24tests: bump up timeout for create-and-run.shHelmut Grohne
Timeouts were hit on salsa-ci for arm64 occasionally. The armhf autopkgtest also runs into this timeout.
2023-01-23upload debvm/0.2.4 to unstableHelmut Grohne
2023-01-23debian: fix placement of general mmdebstrap hooksHelmut Grohne
2023-01-22debvm-run: arm virt machine cannot do more than 8 coresHelmut Grohne
2023-01-22debv-run: apply smp limits for the native caseHelmut Grohne
This was never tried, but autopkgtests indicate that smp limits also apply to the native case.
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-21debvm-run: also avoid pci networking for m68kHelmut Grohne