1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-05 13:18:06 +03:00
systemd/mkosi.conf.d/10-ubuntu/mkosi.conf
Luca Boccassi ec54029017 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.
2024-08-28 16:32:17 +01:00

18 lines
390 B
Plaintext

# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
Distribution=ubuntu
[Distribution]
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
linux-tools-virtual