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
This commit is contained in:
Daan De Meyer 2024-08-02 16:22:37 +02:00
parent dd1c01b20f
commit ea696c5f53

View File

@ -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