forked from rapido-linux/rapido
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cut_fstests_cifs.sh
executable file
·41 lines (38 loc) · 1.7 KB
/
cut_fstests_cifs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
#
# Copyright (C) SUSE LINUX GmbH 2016, all rights reserved.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) version 3.
#
# This library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details.
RAPIDO_DIR="$(realpath -e ${0%/*})"
. "${RAPIDO_DIR}/runtime.vars"
_rt_require_dracut_args
_rt_require_fstests
_rt_require_lib "libkeyutils.so.1 libhandle.so.1 libssl.so.1 libgdbm.so libgdbm_compat.so"
dracut --install "tail blockdev ps rmdir resize dd vim grep find df sha256sum \
strace mkfs mkfs.xfs \
which perl awk bc touch cut chmod true false unlink \
mktemp getfattr setfattr chacl attr killall \
id sort uniq date expr tac diff head dirname seq \
basename tee egrep hexdump sync xfs_db xfs_io mount.cifs \
fstrim fio logger dmsetup chattr lsattr cmp stat \
dbench /usr/share/dbench/client.txt hostname getconf md5sum \
od wc getfacl setfacl tr xargs sysctl link truncate quota \
repquota setquota quotacheck quotaon xfs_mkfile \
chgrp du fgrep pgrep tar \
$LIBS_INSTALL_LIST" \
--include "$FSTESTS_SRC" "/fstests" \
--include "$RAPIDO_DIR/fstests_cifs_autorun.sh" "/.profile" \
--include "$RAPIDO_DIR/rapido.conf" "/rapido.conf" \
--include "$RAPIDO_DIR/vm_autorun.env" "/vm_autorun.env" \
--add-drivers "cifs ccm ctr" \
--modules "bash base network ifcfg" \
$DRACUT_EXTRA_ARGS \
$DRACUT_OUT