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