Commit 25dbf278 authored by Łukasz Nowak's avatar Łukasz Nowak

- add helpers container

 - move buildout profile to simple shell script helper
 - update documentation about how to prepare Mandirva 2010.0


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32923 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 144f65d8
...@@ -42,8 +42,8 @@ Distribution helpers ...@@ -42,8 +42,8 @@ Distribution helpers
In profiles directory there are profiles to help with preparation of used In profiles directory there are profiles to help with preparation of used
distributions. distributions.
To prepare Mandriva 2010.0 please type, after bootstrapping: To prepare Mandriva 2010.0 please type, having root privileges:
bin/buildout -c profiles/mandriva2010.0.cfg install dependency helpers/mandriva2010.0.sh
sudo is used internally. sudo is used internally.
#!/bin/sh
PACKAGE_LIST="""
bison
cpio
flex
gcc
gcc-c++
libbzip2-devel
libgdbm-devel
libglib2.0-devel
libjpeg-devel
libncurses-devel
libopenssl-devel
libtermcap-devel
libxml2-devel
libxslt-devel
make
patch
rpm
subversion
subversion-devel
subversion-tools
x11-server-xvfb
zlib1-devel
"""
urpmi $PACKAGE_LIST
[buildout]
# temporary solution for fast system preparation to run buildout
develop = recipes/createmandrivaspec
parts =
[dependency]
recipe = plone.recipe.command
package_list =
bison
cpio
flex
gcc
gcc-c++
libbzip2-devel
libgdbm-devel
libglib2.0-devel
libjpeg-devel
libncurses-devel
libopenssl-devel
libtermcap-devel
libxml2-devel
libxslt-devel
make
patch
rpm
subversion
subversion-devel
subversion-tools
x11-server-xvfb
zlib1-devel
command = echo "${:package_list}" | xargs sudo urpmi --auto
update_command = ${:command}
[create-spec]
recipe = createmandrivaspec
input = ${buildout:directory}/templates/${:base}.in
output = ${buildout:directory}/${:base}
name = erp5-official-buildout
version = ${buildout:directory}/VERSION.txt
package_list = ${dependency:package_list}
svnpath = https://svn.erp5.org/repos/public/erp5/trunk/buildout
# only a helper variable
base = erp5-official-buildout-mandriva2010.spec
[create-rpm]
recipe = plone.recipe.command
command = sudo rpmbuild -bb ${create-spec:output}
update_command = ${:command}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment