]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: install /etc/hosts
authorFranck Bui <fbui@suse.com>
Mon, 1 Jul 2024 16:06:45 +0000 (18:06 +0200)
committerFranck Bui <fbui@suse.com>
Tue, 2 Jul 2024 17:03:49 +0000 (19:03 +0200)
Needed for resolving the "localhost" hostname.

test/test-functions

index 8b497b2e27cd9d7eacca265ed331ad525c1aef9a..16e9c9c12ae49ef64aa74fb16a73a9cebb0006f4 100644 (file)
@@ -1947,6 +1947,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