set-fstab target added

This commit is contained in:
ed barz 2020-05-01 12:10:03 +02:00
parent 5d37856e73
commit 61b0a7fcc1
1 changed files with 4 additions and 0 deletions

View File

@ -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