Blame SOURCES/0671-test-01-basic-mask-some-services-that-currently-don-.patch

17b0f1
From 5daaf2b0fd5086aa281f44c665513a7de8f403e1 Mon Sep 17 00:00:00 2001
17b0f1
From: Daniel Mack <daniel@zonque.org>
17b0f1
Date: Thu, 19 Nov 2015 13:27:39 +0100
17b0f1
Subject: [PATCH] test: 01-basic: mask some services that currently don't run
17b0f1
 in qemu
17b0f1
17b0f1
Cherry-picked from: 6f9d3b08cf3e50d3903282d2ce36244bb86c7b7c
17b0f1
---
17b0f1
 test/TEST-01-BASIC/test.sh | 7 +++++++
17b0f1
 1 file changed, 7 insertions(+)
17b0f1
17b0f1
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
17b0f1
index d97fbe24d4..ee9c66aba8 100755
17b0f1
--- a/test/TEST-01-BASIC/test.sh
17b0f1
+++ b/test/TEST-01-BASIC/test.sh
17b0f1
@@ -61,6 +61,13 @@ EOF
17b0f1
     )
17b0f1
     setup_nspawn_root
17b0f1
 
17b0f1
+    # mask some services that we do not want to run in these tests
17b0f1
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
17b0f1
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
17b0f1
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.service
17b0f1
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
17b0f1
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-resolved.service
17b0f1
+
17b0f1
     ddebug "umount $TESTDIR/root"
17b0f1
     umount $TESTDIR/root
17b0f1
 }