set-fstab target added
This commit is contained in:
parent
5d37856e73
commit
61b0a7fcc1
4
Makefile
4
Makefile
|
@ -48,3 +48,7 @@ archive:
|
||||||
--exclude=./tmp/* \
|
--exclude=./tmp/* \
|
||||||
--exclude=./run/* \
|
--exclude=./run/* \
|
||||||
-C $(MNTDIR) .
|
-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
|
||||||
|
|
Loading…
Reference in New Issue