ubuntu debs

This commit is contained in:
Andrey Korolyov 2013-09-17 00:32:50 +04:00
parent 7b7673f927
commit 7f3cdb2086
5 changed files with 11 additions and 3 deletions

View File

@ -130,6 +130,7 @@ MIRROR_EGGS?=http://pypi.python.org/simple
MIRROR_GEMS?=http://rubygems.org
REQUIRED_RPMS:=$(shell grep -v "^\\s*\#" $(SOURCE_DIR)/requirements-rpm.txt)
REQUIRED_DEBS:=$(shell grep -v "^\\s*\#" $(SOURCE_DIR)/requirements-deb.txt)
REQUIRED_EGGS:=$(shell grep -v "^\\s*\#" $(SOURCE_DIR)/requirements-eggs.txt)
OSTF_EGGS:=$(shell grep -v "^\\s*\#" $(SOURCE_DIR)/fuel/deployment/puppet/nailgun/files/venv-ostf.txt)
REQUIRED_SRCS:=$(shell grep -v ^\\s*\# $(SOURCE_DIR)/requirements-src.txt)

View File

@ -6,4 +6,6 @@ $(BUILD_DIR)/mirror/ubuntu/createchroot.done:
echo deb http://download.mirantis.com/precise-grizzly-fuel-3.2 $(UBUNTU_RELEASE) main | sudo tee $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/etc/apt/sources.list.d/mirantis.list
echo 'APT::Get::AllowUnauthenticated 1;' | sudo tee $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/etc/apt/apt.conf.d/02mirantis-unauthenticated
sudo chroot $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot /bin/bash -c "apt-get -y install reprepro germinate"
sed 's/^/\ \* /g' $(SOURCE_DIR)/requirements-deb.txt | sudo tee '$(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/requirements.txt
sudo cp -a $(SOURCE_DIR)/mirror/ubuntu/resolvedep/ $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/
$(ACTION.TOUCH)

View File

@ -1,6 +1,7 @@
Origin: Mirantis
Label: Mirantis
Codename: precise
Architectures: i386 amd64
Architectures: amd64
Components: main restricted universe
Description: Mirantis local package mirror
Description: Mirantis local mirror
Update: MirantisRepo

View File

@ -1 +1,5 @@
FilterList: purge ../germinate/mirror.packages
Name: MirantisRepo
Method: http://mirror.yandex.ru/ubuntu
Components: main restricted universe
Architectures: amd64
FilterList: purge ../mirror.packages

0
requirements-deb.txt Normal file
View File