From 38e5d63c4de9f3b9e33977f916103318fbd698a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= Date: Mon, 23 Oct 2017 12:06:45 +0100 Subject: [PATCH] build: fix mkfs.ext4 invocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This currently fails with: mkfs.ext4: invalid blocks '-F' on device 'fscryptctl_image' The reason is that that the argument after the device name is treated as the file system size. Move -F in the command line to make it work. Signed-off-by: André Draszik --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 89b6254..a188dc3 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ clean: .PHONY: test-setup test-teardown test-setup: root dd if=/dev/zero of=$(IMAGE) bs=1M count=20 - mkfs.ext4 -b 4096 -O encrypt $(IMAGE) -F + mkfs.ext4 -b 4096 -O encrypt -F $(IMAGE) mkdir -p $(MOUNT) mount -o rw,loop,user $(IMAGE) $(MOUNT) chmod +777 $(MOUNT)