diff --git a/Makefile b/Makefile index 94f9772..18dc93b 100644 --- a/Makefile +++ b/Makefile @@ -67,18 +67,23 @@ audio: metal: mnt-drive mnt-system base set-loc set-resolv set-fstab set-root grub +python: + $(call vinstall,python3 python3-pip python3-pipenv) + tools: $(call vinstall,base-devel git tcc wget vim-x11 tmux) -post-install: tools +post-install: python tools cp post-install.sh $(MNTDIR)/usr/local/bin/ chmod 755 $(MNTDIR)/usr/local/bin/post-install.sh - chroot $(MNTDIR) /usr/local/bin/post-install.sh chroot $(MNTDIR) ln -s /usr/share/zoneinfo/$(TIMEZN) /etc/localtime echo $(HSTNM) > $(MNTDIR)/etc/hostname cp first-boot.sh $(MNTDIR)/usr/local/bin/first-boot.sh chmod 755 $(MNTDIR)/usr/local/bin/first-boot.sh +run-post-install: post-install + chroot $(MNTDIR) /usr/local/bin/post-install.sh + nuser: chroot $(MNTDIR) useradd $(NUSRNAME) -G wheel,audio chroot $(MNTDIR) passwd $(NUSRNAME)