Change HG_REPO to AIRPORT_REPO. Fix bug where AVAHI=YES wasn't working.

This commit is contained in:
Albert Hopkins 2012-01-19 01:01:00 +00:00
parent c7a56139e2
commit 8e42219e93
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
APP_ROOT := /var/airport APP_ROOT := /var/airport
HG_REPO := https://bitbucket.org/marduk/airport AIRPORT_REPO ?= https://bitbucket.org/marduk/airport
rcdefault := /etc/runlevels/default
preinstall: preinstall:
sed -i '/^APACHE2_/d' $(CHROOT)/etc/make.conf 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) chsh -s /bin/sh postgres
$(inroot) $(EMERGE) -1n $(USEPKG) dev-python/virtualenv $(inroot) $(EMERGE) -1n $(USEPKG) dev-python/virtualenv
rm -rf $(CHROOT)/$(APP_ROOT) 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 echo 'VERSION="'`date +1.%y%m%d.%H%m`'"' > $(CHROOT)/$(APP_ROOT)/djangoproject/airport/__init__.py
chroot $(CHROOT) virtualenv --no-site-packages $(APP_ROOT) chroot $(CHROOT) virtualenv --no-site-packages $(APP_ROOT)
$(inroot) bash -c ". $(APP_ROOT)/bin/activate ; pip install -r $(APP_ROOT)/requirements.txt" $(inroot) bash -c ". $(APP_ROOT)/bin/activate ; pip install -r $(APP_ROOT)/requirements.txt"