From 571250a9b98d6a924ca2ce704083e8dda881a4f2 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 5 Mar 2023 10:49:14 +0100 Subject: [PATCH] test: drop hotplug.conf system file during tests Signed-off-by: Joachim Wiberg --- test/setup-sysroot.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/setup-sysroot.sh b/test/setup-sysroot.sh index 3434a02c..77e598c7 100755 --- a/test/setup-sysroot.sh +++ b/test/setup-sysroot.sh @@ -15,3 +15,9 @@ FINITBIN="$(pwd)/$top_builddir/src/finit" DEST="$SYSROOT" make -f "$srcdir/lib/s for plugin in tty.so urandom.so rtc.so modprobe.so hotplug.so; do find "$SYSROOT" -name $plugin -delete done + +# Drop system .conf files we don't need in test, same as above +for conf in hotplug.conf; do + find "$SYSROOT" -name $conf -delete +done +