summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2023-01-18Merge branch debian into mainHelmut Grohne
Thus, don't do Debian releases that would be separate from upstream releases.
2023-01-18Merge branch 'faq' into 'main'Helmut Grohne
Faq See merge request helmutg/debvm!26
2023-01-18Update FAQ about console renderingsJochen Sprickerhof
2023-01-18Add better Qemu optionsJochen Sprickerhof
2023-01-18debvm-create: explain why we install an initramfsHelmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-18Merge branch 'one-kernel' into 'main'Helmut Grohne
debvm-create: install only one kernel image See merge request helmutg/debvm!27
2023-01-17debvm-create: install an initramfs generatorHelmut Grohne
On Debian, the linux images depend on linux-initramfs-tool, so this isn't actually a change here. On Ubuntu, this dependency is missing, so we actually add it. Unfortunately, initramfs-tools fails to install as it cannot determine the root filesystem type. Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-17debvm-create: install only one kernel imageHelmut Grohne
The apt pattern ?or does not short-circuit. It installs any pattern matching one of the arguments. On amd64, we thus get both the cloud and the non-cloud variant. There aren't that many good options to fix this, so the next best way is using a hook and running apt again, which is suboptimal in terms of repeated triggers, but likely the best we can do at present.
2023-01-17Merge branch 'cleanup' into 'main'Helmut Grohne
Cleanup See merge request helmutg/debvm!25
2023-01-17Add --skip=autologinJochen Sprickerhof
2023-01-17Allow arbitrary image sizesJochen Sprickerhof
2023-01-17expand architecture coverageHelmut Grohne
Give an example of how to use it with ports and add a few architecture-specific cases. Note that m68k and sparc64 do not actually work, because they lack PCI.
2023-01-17debvm-create: combine ?exact-name with ?not(virtual)Helmut Grohne
When apt encounters a package that does not exist, but is referenced via Recommends, Suggests, Breaks or otherwise, it errors out with a missing installation candidate. This happens for linux-image-generic on buster. To avoid this situation, we specifically ask apt to not consider virtual packages whenever we use ?exact-name.
2023-01-17debvm-create: fix syntax broken in parent commitHelmut Grohne
2023-01-17debvm-create: avoid splitting features to multiple code locationsHelmut Grohne
2023-01-17debvm-create: stop validating the suiteHelmut Grohne
The only DEBVER check left checks for jessie. We can just compare the name instead. Thus we no longer reject Ubuntu suites such as jammy. This helps with !20, but not yet with #10.
2023-01-17debvm-create: install linux-image-generic as an alternative kernel nameHelmut Grohne
This is used on Ubuntu and thus helps with !20.
2023-01-17debvm-create: use maybe-merged-usr hookHelmut Grohne
Requires mmdebstrap >= 1.3.0 Closes: #8
2023-01-17debvm-create: defer kernel selection to aptHelmut Grohne
This requires mmdebstrap >= 1.3.0. Closes: #9
2023-01-15Merge branch 'drop_mirror' into 'main'Helmut Grohne
Drop mirror option See merge request helmutg/debvm!24
2023-01-15debvm-create: update documentation for dropped mirror optionHelmut Grohne
2023-01-15debvm-create: actually drop -m from the getopts invocationHelmut Grohne
Fixes: 7a2b46697659 ("Drop mirror option")
2023-01-15debvm-create: carefully handle a -o filename starting with a dashHelmut Grohne
2023-01-15Merge support_boot into mainHelmut Grohne
Closes: !23
2023-01-15debvm-run: fix logic inversion in parent commitHelmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-15debvm-run: fix for relative symlinks below boot/Helmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-15Apply 1 suggestion(s) to 1 file(s)Johannes Schauer Marin Rodrigues
2023-01-15Drop mirror optionJochen Sprickerhof
It is not needed and can also be done with: debvm-create -- "deb http://ftp.de.debian.org/debian/ unstable main"
2023-01-15README.md: fix typoHelmut Grohne
2023-01-15debvm-run: guess the location of the kernelHelmut Grohne
2023-01-15Document additional kernel link namesJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2023-01-15Avoid unnecessary debugfs callJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2023-01-15Support kernel links in /boot (Ubuntu)Jochen Sprickerhof
2023-01-15Merge branch 'helmut' into 'main'Helmut Grohne
reduce usage of DEBVER See merge request helmutg/debvm!22
2023-01-13change cmdline variable debvm.term to TERMHelmut Grohne
Jochen Sprickerhof found that systemd interprets the TERM variable according to our intended meaning and applies it to pid 1. It doesn't apply it to serial-getty, though so we keep that code for now.
2023-01-13debvm-create: remove --package optionHelmut Grohne
This option was meant to make it convenient to add packages, but mmdebstrap's --include provides the same convenience at more flexibility. You can provide apt patterns there provided that you use multiple --include options. So rather than duplicate this functionality under a different name, just refer to mmdebstrap thus reinforcing the notion of being a thin wrapper. This also removes the convenience of overriding the kernel image. You need to use --skip=kernel when passing --include=linux-image-something to mmdebstrap now. This implements "explicit is better than implicit".
2023-01-13Merge branch main into helmutHelmut Grohne
Resolve conflicts in debvm-create arising from adding --skip and moving the functionality to be skipped to share/customize-*.sh.
2023-01-13Merge branch 'skip' into 'main'Helmut Grohne
debvm-create: add a --skip option See merge request helmutg/debvm!21
2023-01-13debvm-create: add --skip=kernelHelmut Grohne
2023-01-13debvm-create: defer the decision of installing libnss-resolve to aptHelmut Grohne
Rather than check the DEBVER, let apt figure out whether it knows about a package called libnss-resolve and install it when available.
2023-01-13automatically set up agetty TERM when possibleHelmut Grohne
* debvm-create will now parse a new kernel cmdline debvm.term and if present will pass its value to agetty as TERM. * debvm-run will now detect whether it is running in a terminal in non-graphic mode and pass its environment TERM variable as debvm.term to the kernel cmdline thus closing the loop.