clean python3 install

This commit is contained in:
ed barz 2020-10-27 11:44:47 +01:00
parent 690e5d55ef
commit 5d6aca6a59
1 changed files with 7 additions and 2 deletions

View File

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