summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2025-03-27fix deletion of root password againmainHelmut 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.
2023-10-31customize-autologin.sh: bump minimum setterm versionHelmut Grohne
There was a bug that would cause setterm to randomly enable O_ASYNC on the console due to the use of uninitialized memory. As a consequence, any keystroke would raise SIGIO and kill the shell. Since setterm is a convenience feature and killing the shell is bad, disable it for earlier versions. Reported-by: Emanuele Rocca <ema@debian.org> Thanks: Chris Hofstaedtler <zeha@debian.org>
2023-07-25Fix resolv.conf in stretchJochen Sprickerhof
stub-resolv.conf was introduced in systemd 236 (e6b2d948f8). Regression of c751e22.
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.