From d1823afd04164c9c9d8195fd789ca707e47b6aae Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 20 Feb 2020 11:12:00 +0300 Subject: find first unused loop device --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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') -- cgit v1.2.3