From 61b0a7fcc1d1dc8460bb83e2bc0765cf8c64d115 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 1 May 2020 12:10:03 +0200 Subject: [PATCH] set-fstab target added --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 188ca0a..d8f693f 100644 --- a/Makefile +++ b/Makefile @@ -48,3 +48,7 @@ archive: --exclude=./tmp/* \ --exclude=./run/* \ -C $(MNTDIR) . + +set-fstab: + cp files/fstab $(MNTDIR)/etc/fstab + echo "$(shell file -s $(DRIVE)|tr ' ' '\n'|grep UUID) / ext4 rw,noatime,discard 0 1" >> $(MNTDIR)/etc/fstab