From cf9b6cacbf996ff130a84a175cdda7da7af4c3e0 Mon Sep 17 00:00:00 2001 From: Dmitry Teselkin Date: Mon, 25 Nov 2013 13:23:03 +0400 Subject: [PATCH] Info about dependencies added. Change-Id: I2f3dc4fe6050097fb033f6b392a393cf42b27c71 --- package-builder/README.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/package-builder/README.md b/package-builder/README.md index 76ce2bef..ef67aeba 100644 --- a/package-builder/README.md +++ b/package-builder/README.md @@ -4,11 +4,28 @@ This folder contains a set of scripts and files used to automate packaging the M The main workflow is quite simple now: -1. Clone/Update murano-deployment repo -2. Change directory to 'package-builder' -3. Run *build-all.sh* -4. When building completed - open folder *\~/build_dir/debuild* -5. Copy content of murano-*.debian.tar.gz to appropriate repos in OBS +1. Install prerequisites (as root) + +``` +apt-get install --yes ubuntu-cloud-keyring + +cat << EOF > /etc/apt/sources.list.d/cloud-archive.list +# The primary updates archive that users should be using +deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/havana main + +# Public -proposed archive mimicking the SRU process for extended testing. +# Packages should bake here for at least 7 days. +deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-proposed/havana main +EOF + +apt-get install --yes debhelper python-pbr +``` + +2. Clone/Update murano-deployment repo +3. Change directory to 'package-builder' +4. Run *build-all.sh* +5. When building completed - open folder *\~/build_dir/debuild* +6. Copy content of murano-*.debian.tar.gz to appropriate repos in OBS What the scripts actually do: