![Albert Hopkins](/assets/img/avatar_default.png)
This appliance hosts the Gentoo Virtual Appliance[1] tool. Now you can build the thing that builds the thing that builds the things. Note that you cannot (yet) run this inside of a systemd (or Docker) container (without giving it special privs), but I'm working on that. It should at least be possible to build stage4s with it. [1] https://bitbucket.org/marduk/virtual-appliance
20 lines
533 B
Makefile
20 lines
533 B
Makefile
VABUILDER_HOME = /var/lib/vabuilder
|
|
VABUILDER_REPO = https://bitbucket.org/marduk/virtual-appliance/
|
|
VABUILDER_REV = default
|
|
|
|
M4_DEFS += -D VABUILDER_HOME=$(VABUILDER_HOME) -D HOSTNAME=$(HOSTNAME)
|
|
M4C = $(M4) $(M4_DEFS)
|
|
|
|
preinstall:
|
|
|
|
postinstall: nginx.conf.m4
|
|
$(inroot) rm -rf $(VABUILDER_HOME)
|
|
$(inroot) hg clone -u $(VABUILDER_REV) $(VABUILDER_REPO) $(VABUILDER_HOME)
|
|
$(inroot) ln -nsf $(VABUILDER_HOME) /root/vabuilder
|
|
$(M4C) nginx.conf.m4 > $(CHROOT)/etc/nginx/nginx.conf
|
|
$(inroot) systemctl enable nginx.service
|
|
|
|
|
|
clean:
|
|
|