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:
committed by
Luca Boccassi
parent
360b8dc9a6
commit
ec54029017
@@ -8,10 +8,6 @@ Distribution=|ubuntu
|
|||||||
PackageManagerTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref
|
PackageManagerTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref
|
||||||
|
|
||||||
[Content]
|
[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=
|
VolatilePackages=
|
||||||
libnss-myhostname
|
libnss-myhostname
|
||||||
libnss-mymachines
|
libnss-mymachines
|
||||||
@@ -58,6 +54,7 @@ Packages=
|
|||||||
knot
|
knot
|
||||||
libcap-ng-utils
|
libcap-ng-utils
|
||||||
locales
|
locales
|
||||||
|
login
|
||||||
man-db
|
man-db
|
||||||
multipath-tools
|
multipath-tools
|
||||||
ncat
|
ncat
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ Release=noble
|
|||||||
Repositories=universe
|
Repositories=universe
|
||||||
|
|
||||||
[Content]
|
[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=
|
Packages=
|
||||||
linux-image-generic
|
linux-image-generic
|
||||||
linux-tools-common
|
linux-tools-common
|
||||||
|
|||||||
Reference in New Issue
Block a user