Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steven Gueguen
slapos
Commits
36c820aa
Commit
36c820aa
authored
Jun 30, 2011
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to instance, software and kvm buildout profiles
parent
7d6bedb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
29 deletions
+33
-29
software/kvm/instance.cfg
software/kvm/instance.cfg
+4
-2
software/kvm/software.cfg
software/kvm/software.cfg
+18
-16
stack/kvm.cfg
stack/kvm.cfg
+11
-11
No files found.
software/kvm/instance.cfg
View file @
36c820aa
...
...
@@ -3,14 +3,16 @@ parts =
kvminstance
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
[kvminstance]
recipe =
${instance-recipe:egg}:${instance-recipe:module}
recipe =
slapos.recipe.kvm
qemu_path = ${kvm:location}/bin/qemu-system-x86_64
qemu_img_path = ${kvm:location}/bin/qemu-img
slapmonitor_path = ${buildout:bin-directory}/slapmonitor
slapreport_path = ${buildout:bin-directory}/slapreport
websockify_path = ${buildout:parts-directory}/websockify/websockify
noVNC_location = ${buildout:parts-directory}/noVNC/
smp_count = 1
ram_size = 1024
...
...
software/kvm/software.cfg
View file @
36c820aa
[buildout]
extends =
../../stack/kvm.cfg
slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook
develop =
${:slaposcookbook_recipe_location}
versions = versions
extends =
../../stack/kvm.cfg
parts +=
template
instance-recipe-egg
[instance-recipe-egg]
slaposcookbook_dummy = ${slaposcookbook:location}
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
md5sum = cea53c71db313471620155e1105ebee3
#md5sum = 6dd35876f5877fcab99f8d910058e076
output = ${buildout:directory}/template.cfg
mode = 0644
[instance-recipe]
egg = slapos.cookbook
module = kvm
[instance-recipe-egg]
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}
[versions]
slapos.cookbook = 0.10
[slaposcookbook]
recipe = plone.recipe.command
git_param = --quiet -b mysql
git = ${git:location}/bin/git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
\ No newline at end of file
stack/kvm.cfg
View file @
36c820aa
...
...
@@ -7,9 +7,10 @@ extends =
../component/readline/buildout.cfg
../component/ncurses/buildout.cfg
../component/libuuid/buildout.cfg
../component/noVNC/buildout.cfg
extensions =
slapos.
tool.
rebootstrap
slapos.rebootstrap
parts =
gnutls
...
...
@@ -27,8 +28,8 @@ version = 1
[gpg-error]
recipe = hexagonit.recipe.cmmi
url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.
9
.tar.gz
md5sum = 6dde8fd075aef8eaf8d3ae414447bb35
url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.
10
.tar.gz
#
md5sum = 6dde8fd075aef8eaf8d3ae414447bb35
[gcrypt]
recipe = hexagonit.recipe.cmmi
...
...
@@ -38,8 +39,8 @@ configure-options =
--with-gpg-error-prefix=${gpg-error:location}
environment =
CPPFLAGS=-I${gpg-error:location}/include
LDFLAGS=-Wl,-rpath -Wl,${gpg-error:location}/lib
LDFLAGS=-Wl,-rpath -Wl,${gpg-error:location}/lib
-Wl,${gpg-error:location}/lib/libgpg-error.so.0
[gnutls]
recipe = hexagonit.recipe.cmmi
url = ftp://ftp.gnupg.org/gcrypt/gnutls/gnutls-2.8.6.tar.bz2
...
...
@@ -48,7 +49,7 @@ configure-options =
--with-libgcrypt-prefix=${gcrypt:location}
environment =
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${gcrypt:location}/include -I${gpg-error:location}/include
LDFLAGS=-L${readline:location}/lib -L${ncurses:location}/lib -L${gcrypt:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${gcrypt:location}/lib -Wl,-rpath -Wl,${gpg-error:location}/lib
LDFLAGS=-L${readline:location}/lib -L${ncurses:location}/lib -L${gcrypt:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${gcrypt:location}/lib -Wl,-rpath -Wl,${gpg-error:location}/lib
-Wl,${gcrypt:location}/lib/libgcrypt.so.11
PKG_CONFIG=${zlib:location}/lib/pkgconfig
[kvm]
...
...
@@ -75,12 +76,11 @@ environment =
recipe=plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
tag = slapos-v0.1
#
tag = slapos-v0.1
command =
(${git:location}/bin/git clone --quiet --branch ipv6 git://gitorious.org/slapos/slapos-kvm.git ${:location} &&
cd ${:location} && ${git:location}/bin/git pull --quiet origin tag ${:tag}) || (rm -fr ${:location} ; exit 1)
update-command =
cd ${:location} && ${git:location}/bin/git pull --quiet origin tag ${:tag}
(${git:location}/bin/git clone --quiet http://git.erp5.org/repos/slapos.kvm.git ${:location} ) || (rm -fr ${:location} ; exit 1)
#update-command =
# cd ${:location} && ${git:location}/bin/git pull --quiet origin tag ${:tag}
[eggs]
recipe = zc.recipe.egg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment