Change HG_REPO to AIRPORT_REPO. Fix bug where AVAHI=YES wasn't working.
This commit is contained in:
parent
c7a56139e2
commit
8e42219e93
|
@ -1,5 +1,7 @@
|
|||
APP_ROOT := /var/airport
|
||||
HG_REPO := https://bitbucket.org/marduk/airport
|
||||
AIRPORT_REPO ?= https://bitbucket.org/marduk/airport
|
||||
|
||||
rcdefault := /etc/runlevels/default
|
||||
|
||||
preinstall:
|
||||
sed -i '/^APACHE2_/d' $(CHROOT)/etc/make.conf
|
||||
|
@ -19,7 +21,7 @@ postinstall: airport.service settings.py airport.wsgi default_vhost.include firs
|
|||
$(inroot) chsh -s /bin/sh postgres
|
||||
$(inroot) $(EMERGE) -1n $(USEPKG) dev-python/virtualenv
|
||||
rm -rf $(CHROOT)/$(APP_ROOT)
|
||||
hg clone $(HG_REPO) $(CHROOT)/$(APP_ROOT)
|
||||
hg clone $(AIRPORT_REPO) $(CHROOT)/$(APP_ROOT)
|
||||
echo 'VERSION="'`date +1.%y%m%d.%H%m`'"' > $(CHROOT)/$(APP_ROOT)/djangoproject/airport/__init__.py
|
||||
chroot $(CHROOT) virtualenv --no-site-packages $(APP_ROOT)
|
||||
$(inroot) bash -c ". $(APP_ROOT)/bin/activate ; pip install -r $(APP_ROOT)/requirements.txt"
|
||||
|
|
Loading…
Reference in New Issue