tests: install fsck*
authorEvgeny Vereshchagin <evvers@ya.ru>
Sat, 16 Jan 2016 08:06:59 +0000 (08:06 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 18 Jan 2016 03:56:51 +0000 (03:56 +0000)
systemd-fsck depends on /sbin/fsck*

test/test-functions

index ce6185b..d6be7f8 100644 (file)
@@ -111,6 +111,7 @@ setup_basic_environment() {
     install_keymaps
     install_terminfo
     install_execs
+    install_fsck
     install_plymouth
     install_debug_tools
     install_ld_so_conf
@@ -149,6 +150,11 @@ EOF
     chmod 0755 $_valgrind_wrapper
 }
 
+install_fsck() {
+    dracut_install /sbin/fsck*
+    dracut_install -o /bin/fsck*
+}
+
 install_dmevent() {
     instmods dm_crypt =crypto
     type -P dmeventd >/dev/null && dracut_install dmeventd