Compare commits
No commits in common. "c764b67c5c83a49393232a31685e7b5a97b311d6" and "4af04f573d38714caf02793c970e6ed3564f1fcb" have entirely different histories.
c764b67c5c
...
4af04f573d
22
Makefile
22
Makefile
|
@ -19,12 +19,6 @@ umnt-system:
|
|||
umount $(MNTDIR)/dev/pts
|
||||
umount $(MNTDIR)/dev
|
||||
|
||||
mnt-drive:
|
||||
mount $(DRIVE) $(MNTDIR)
|
||||
|
||||
umnt-drive: umnt-system
|
||||
umount $(DRIVE)
|
||||
|
||||
base: base-fs mnt-system
|
||||
$(call vinstall,base-system)
|
||||
|
||||
|
@ -59,18 +53,10 @@ 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
|
||||
|
||||
cp-script:
|
||||
scripts:
|
||||
cp scripts/* $(MNTDIR)/usr/local/bin/
|
||||
chmod 755 $(MNTDIR)/usr/local/bin/*
|
||||
|
||||
lilo: set-fstab cp-script
|
||||
$(call vinstall,lilo,perl)
|
||||
chroot $(MNTDIR) lilo-conf-mkr.sh $(BOOTLDR)
|
||||
|
||||
grub:
|
||||
$(call vinstall,grub)
|
||||
mkdir $(MNTDIR)/boot/grub
|
||||
chroot $(MNTDIR) grub-mkconfig -o /boot/grub/grub.cfg
|
||||
chroot $(MNTDIR) grub-install $(BOOTLDR)
|
||||
|
||||
metal: mnt-drive base grub
|
||||
lilo: set-fstab scripts
|
||||
$(call vinstall,lilo)
|
||||
chroot $(MNTDIR) lilo-conf-mkr.sh $(LBOOT)
|
||||
|
|
Loading…
Reference in New Issue