tests: Add regulatory database to VMs
Add a common well-known regulatory database to the test VMs during runs to remove one thing to have correct in the host. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
139202a116
commit
a29c2399a7
3 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ TELNET=$(sed 's/.*TELNET=\([^ ]*\) .*/\1/' /proc/cmdline)
|
|||
ARGS=$(sed 's/.*ARGS=\([^ ]*\)\( \|$\).*/\1/' /proc/cmdline)
|
||||
LOGDIR=$(sed 's/.*LOGDIR=\([^ ]*\)\( \|$\).*/\1/' /proc/cmdline)
|
||||
|
||||
mount --bind "$TESTDIR/vm/regdb/" /lib/firmware
|
||||
|
||||
# create /dev entries we need
|
||||
mknod -m 660 /dev/ttyS0 c 4 64
|
||||
mknod -m 666 /dev/ptmx c 5 2
|
||||
|
|
BIN
tests/hwsim/vm/regdb/regulatory.db
Normal file
BIN
tests/hwsim/vm/regdb/regulatory.db
Normal file
Binary file not shown.
BIN
tests/hwsim/vm/regdb/regulatory.db.p7s
Normal file
BIN
tests/hwsim/vm/regdb/regulatory.db.p7s
Normal file
Binary file not shown.
Loading…
Reference in a new issue