From: Daan De Meyer Date: Fri, 2 Aug 2024 14:22:37 +0000 (+0200) Subject: mkosi: Enable Autologin= again on Debian X-Git-Tag: v257-rc1~733^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea696c5f5300c240ae2749f7791aaa78837d556b;p=thirdparty%2Fsystemd.git 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 --- diff --git a/mkosi.conf.d/10-debian-ubuntu/mkosi.conf b/mkosi.conf.d/10-debian-ubuntu/mkosi.conf index 43e078117f2..d14746f1ed8 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