mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
fixed make run
This commit is contained in:
parent
ac06ef62fc
commit
f8a77c8403
3
Makefile
3
Makefile
@ -116,7 +116,8 @@ run: testenv $(TESTENV_GPIO)
|
||||
--publish 8080:80/tcp \
|
||||
--publish 4430:443/tcp \
|
||||
-it $(TESTENV_IMAGE) /bin/bash -c " \
|
||||
mount -t debugfs none /sys/kernel/debug \
|
||||
mkdir -p /tmp/kvmd-nginx \
|
||||
&& mount -t debugfs none /sys/kernel/debug \
|
||||
&& test -d /sys/kernel/debug/gpio-mockup/`basename $(TESTENV_GPIO)`/ || (echo \"Missing GPIO mockup\" && exit 1) \
|
||||
&& (socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \
|
||||
&& cp -r /usr/share/kvmd/configs.default/nginx/* /etc/kvmd/nginx \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user