From 0fcb6601ca66b9e4c2349392663fe9baa30dbbc7 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Thu, 31 Aug 2017 14:05:29 -0700 Subject: filesystem: libblkid -> search /dev/disk/by-uuid --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1ec009e..9f8327e 100644 --- a/Makefile +++ b/Makefile @@ -59,9 +59,9 @@ endif # builds the C code with high optimizations, and C warnings fail. # LDFLAGS # Change the flags passed to the C linker. Empty by default. -# For example: -# make fscrypt "LDFLAGS = -static -luuid -ldl -laudit -lpthread" -# will build a static binary. +# For example (on my system with additional dev packages): +# make fscrypt "LDFLAGS = -static -ldl -laudit -lcap-ng" +# will build a static fscrypt binary. # GO_FLAGS # Change the flags passed to "go build". Empty by default. # For example: @@ -179,8 +179,6 @@ test-setup: sudo mkdir -p $(MOUNT) sudo mount -o rw,loop $(IMAGE) $(MOUNT) sudo chmod +777 $(MOUNT) - # Add UUID to BLKID cache - sudo blkid $$(df $(MOUNT) --output=source | grep /dev/) test-teardown: sudo umount $(MOUNT) -- cgit v1.2.3