summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2023-06-09autologin: call setterm --resize only when supportedHelmut Grohne
2023-06-09the argument to setterm is --resize, not -resizeHelmut Grohne
2023-04-27debvm-create: recognize finit as an init systemHelmut Grohne
2023-03-06debvm-create: autodetect size of serial consolesHelmut Grohne
We now extend /etc/profile to invoke setterm -resize when detecting an interactive login on a serial console. This should fix 90% of wrongly sized serial consoles.
2023-03-06support a mips64el kernel in a mipsel image via multiarchHelmut Grohne
Reported-by: Fabian Gruenbichler
2023-02-23debvm-create: also support --initsystem=runitHelmut Grohne
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-01-25debvm-create: handle multiarch kernel for 32bit+64bit armHelmut 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-21debvm-create: try rpi kernel for armelHelmut Grohne
marvell seems deprecated. Suggested by Jochen Sprickerhof.
2023-01-18debvm-create: explain why we install an initramfsHelmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
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-17Add --skip=autologinJochen Sprickerhof
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-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.
2023-01-12debvm-create: also move dpkg's available database to a hook fileHelmut Grohne
2023-01-11debvm-create: move functionality into support filesHelmut Grohne
The benefit of this change is that we don't have to escape that much. As a consequence, it becomes easier to put more code into the customization hooks, which have access to installed package versions. Thus we can reduce the use of DEBVER and thus improve working with snapshot.d.o.