lilo target added
This commit is contained in:
parent
61b0a7fcc1
commit
3d0afc2944
10
Makefile
10
Makefile
|
@ -1,7 +1,7 @@
|
||||||
include config.mk
|
include config.mk
|
||||||
|
|
||||||
define vinstall
|
define vinstall
|
||||||
export XBPS_ARCH=$(VOID_ARCH) && xbps-install -Su -R $(VOID_REPO) -r $(MNTDIR) $(1)
|
export XBPS_ARCH=$(VOID_ARCH) && xbps-install -Suy -R $(VOID_REPO) -r $(MNTDIR) $(1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
base-fs:
|
base-fs:
|
||||||
|
@ -52,3 +52,11 @@ archive:
|
||||||
set-fstab:
|
set-fstab:
|
||||||
cp files/fstab $(MNTDIR)/etc/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
|
echo "$(shell file -s $(DRIVE)|tr ' ' '\n'|grep UUID) / ext4 rw,noatime,discard 0 1" >> $(MNTDIR)/etc/fstab
|
||||||
|
|
||||||
|
scripts:
|
||||||
|
cp scripts/* $(MNTDIR)/usr/local/bin/
|
||||||
|
chmod 755 $(MNTDIR)/usr/local/bin/*
|
||||||
|
|
||||||
|
lilo: set-fstab scripts
|
||||||
|
$(call vinstall,lilo)
|
||||||
|
chroot $(MNTDIR) lilo-conf-mkr.sh $(LBOOT)
|
||||||
|
|
Loading…
Reference in New Issue