1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-12 08:58:20 +03:00

test: install /etc/hosts

Needed for resolving the "localhost" hostname.

(cherry picked from commit a09825ce9fb3bd315f35654b6e6ee4f92c675cde)
(cherry picked from commit 4f7d6885a12c0e5e27a9d29f9ef09fb2fa53d6ef)
(cherry picked from commit 58205cfea853a049f79e47ca336c320c881328d8)
(cherry picked from commit a5735d3653287ebea8e4dbdfa36b13b13ee06ec3)
This commit is contained in:
Franck Bui 2024-07-01 18:06:45 +02:00 committed by Luca Boccassi
parent bbbcffa6fa
commit eabc948bd5

View File

@ -1939,6 +1939,7 @@ EOF
install_config_files() {
dinfo "Install config files"
inst /etc/sysconfig/init || :
inst /etc/hosts || :
inst /etc/passwd
inst /etc/shadow
inst_any /etc/login.defs /usr/etc/login.defs