mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
test: follow-up to 2235fb83
Renamed .conf file for udev/mdev etc. caused 'mdev -df' to start in tests. This fix closes that again since none of that is needed in our small namespaced world. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
e4163b7221
commit
19b2b2a279
1 file changed
+3
-3
@@ -12,12 +12,12 @@ cp "$top_builddir/test/src/serv" "$SYSROOT/sbin/"
|
|||||||
FINITBIN="$(pwd)/$top_builddir/src/finit" DEST="$SYSROOT" make -f "$srcdir/lib/sysroot.mk"
|
FINITBIN="$(pwd)/$top_builddir/src/finit" DEST="$SYSROOT" make -f "$srcdir/lib/sysroot.mk"
|
||||||
|
|
||||||
# Drop plugins we don't need in test, only causes confusing FAIL in logs.
|
# Drop plugins we don't need in test, only causes confusing FAIL in logs.
|
||||||
for plugin in tty.so urandom.so rtc.so modprobe.so hotplug.so; do
|
for plugin in tty.so urandom.so rtc.so modprobe.so; do
|
||||||
find "$SYSROOT" -name $plugin -delete
|
find "$SYSROOT" -name $plugin -delete
|
||||||
done
|
done
|
||||||
|
|
||||||
# Drop system .conf files we don't need in test, same as above
|
# Drop system .conf files we don't need in test, same as above
|
||||||
for conf in hotplug.conf; do
|
# shellcheck disable=SC2043
|
||||||
|
for conf in 10-hotplug.conf; do
|
||||||
find "$SYSROOT" -name $conf -delete
|
find "$SYSROOT" -name $conf -delete
|
||||||
done
|
done
|
||||||
|
|
||||||
Reference in new issue
Block a user