mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
mkosi: use util-linux's autologin
login is now from util-linux so credentials are supported. It also needs to be pulled in as it's Protected: yes rather than Essential: yes. Keep the old setting for Ubuntu as that still uses login from shadow.
This commit is contained in:
parent
360b8dc9a6
commit
ec54029017
@ -8,10 +8,6 @@ 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
|
||||
@ -58,6 +54,7 @@ Packages=
|
||||
knot
|
||||
libcap-ng-utils
|
||||
locales
|
||||
login
|
||||
man-db
|
||||
multipath-tools
|
||||
ncat
|
||||
|
@ -8,6 +8,9 @@ Release=noble
|
||||
Repositories=universe
|
||||
|
||||
[Content]
|
||||
# Ubuntu 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
|
||||
Packages=
|
||||
linux-image-generic
|
||||
linux-tools-common
|
||||
|
Loading…
Reference in New Issue
Block a user