summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-02-20 11:12:00 +0300
committerDevaev Maxim <[email protected]>2020-02-20 11:12:00 +0300
commitd1823afd04164c9c9d8195fd789ca707e47b6aae (patch)
tree4f2d6bf5760a07d338529c09925a1849d4dc727f /Makefile
parent6cd4a0a988da566243381d7387114f4cfe9eba5f (diff)
find first unused loop device
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ea5b14b..34a21db1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
TESTENV_IMAGE ?= kvmd-testenv
TESTENV_HID ?= /dev/ttyS10
TESTENV_VIDEO ?= /dev/video0
-TESTENV_LOOP ?= /dev/loop7
+TESTENV_LOOP ?= $(shell losetup -f)
USTREAMER_MIN_VERSION ?= $(shell grep -o 'ustreamer>=[^"]\+' PKGBUILD | sed 's/ustreamer>=//g')