diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-08-02 16:22:37 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-08-05 15:00:24 +0200 |
commit | ea696c5f5300c240ae2749f7791aaa78837d556b (patch) | |
tree | 60f65548636204921ce50329d4721e7827fb2eb6 | |
parent | test: Implement TEST_SHELL for mkosi based test runner (diff) | |
download | systemd-ea696c5f5300c240ae2749f7791aaa78837d556b.tar.xz systemd-ea696c5f5300c240ae2749f7791aaa78837d556b.zip |
mkosi: Enable Autologin= again on Debian
Debian uses /usr/bin/login from the shadow package instead of util-linux
which doesn't support credentials. Let's enable autologin the old
fashioned way for now.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833256
-rw-r--r-- | mkosi.conf.d/10-debian-ubuntu/mkosi.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-debian-ubuntu/mkosi.conf b/mkosi.conf.d/10-debian-ubuntu/mkosi.conf index 43e078117f..d14746f1ed 100644 --- a/mkosi.conf.d/10-debian-ubuntu/mkosi.conf +++ b/mkosi.conf.d/10-debian-ubuntu/mkosi.conf @@ -8,6 +8,10 @@ Distribution=|ubuntu PackageManagerTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref [Content] +# Debian ships /usr/bin/login from shadow instead of util-linux which doesn't support credentials so we +# enable autologin the old-fashioned way. +Autologin=yes + VolatilePackages= libnss-myhostname libnss-mymachines |