tiny refactor
This commit is contained in:
parent
1d4243693d
commit
892fdbff8b
2
Makefile
2
Makefile
|
@ -78,10 +78,10 @@ tools:
|
||||||
|
|
||||||
post-install: python tools
|
post-install: python tools
|
||||||
cp post-install.sh $(MNTDIR)/usr/local/bin/
|
cp post-install.sh $(MNTDIR)/usr/local/bin/
|
||||||
|
cp first-boot.sh $(MNTDIR)/usr/local/bin/
|
||||||
chmod 755 $(MNTDIR)/usr/local/bin/post-install.sh
|
chmod 755 $(MNTDIR)/usr/local/bin/post-install.sh
|
||||||
chroot $(MNTDIR) ln -s /usr/share/zoneinfo/$(TIMEZN) /etc/localtime
|
chroot $(MNTDIR) ln -s /usr/share/zoneinfo/$(TIMEZN) /etc/localtime
|
||||||
echo $(HSTNM) > $(MNTDIR)/etc/hostname
|
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
|
chmod 755 $(MNTDIR)/usr/local/bin/first-boot.sh
|
||||||
|
|
||||||
run-post-install: post-install
|
run-post-install: post-install
|
||||||
|
|
Loading…
Reference in New Issue