[gnome-ostree] More updates for EC2 install



commit 3eb40f94389bbe912bf453266483dc99389b43a4
Author: Colin Walters <walters verbum org>
Date:   Wed Aug 15 18:08:52 2012 -0400

    More updates for EC2 install

 install/amazon-linux-cloud-init.sh |    2 ++
 install/ostree-user-install.sh     |   18 +++++++++++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/install/amazon-linux-cloud-init.sh b/install/amazon-linux-cloud-init.sh
index ce5dcb4..f2a326b 100755
--- a/install/amazon-linux-cloud-init.sh
+++ b/install/amazon-linux-cloud-init.sh
@@ -53,6 +53,8 @@ httpd
 
 yum -y install $PACKAGES
 
+yum --enablerepo=epel -y install python-argparse
+
 mkdir /var/log/httpd/
 
 cat > /etc/httpd/conf.d/ostree.conf <<EOF
diff --git a/install/ostree-user-install.sh b/install/ostree-user-install.sh
index 560bff7..697e1e5 100755
--- a/install/ostree-user-install.sh
+++ b/install/ostree-user-install.sh
@@ -57,9 +57,14 @@ BBLAYERS = " \
   ${HOME}/src/poky/meta-gnomeos \
   "
 END
+cat >> conf/local.conf <<EOF 
+DISTRO=gnomeosdistro
+PARALLEL_MAKE = "-j $(getconf _NPROCESSORS_ONLN)"
+BB_NUMBER_THREADS = "$(getconf _NPROCESSORS_ONLN)"
+EOF
 )
 
-ln -s ~/build/gnomeos-build/tmp/deploy/images/repo ~/build/gnomeos-build
+ln -s ~/build/gnomeos-build/tmp-eglibc/deploy/images/repo ~/build/gnomeos-build
 
 mkdir -p ~/public_html
 cd ~/public_html
@@ -68,3 +73,14 @@ ln -s ~/build/ostbuild/work/logs logs
 
 cp ~/src/gnome-ostree/qa/repoweb/* .
 
+mkdir -p ~/.config
+cat > ~/.config/ostbuild.cfg <<EOF
+[global]
+repo=~/build/gnomeos-build/repo
+mirrordir=~/build/src-mirror
+workdir=~/build/ostbuild
+EOF
+
+ostbuild init
+
+ostbuild prefix gnomeos-3.6



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]