Commit dac9d1ec authored by Julien Muchembled's avatar Julien Muchembled Committed by Rafael Monnerat

fixup! component/slapos: Example script to build slapos from source.

parent fb88a31c
#!/bin/bash #!/bin/sh -e
# #
# This simple script to buildout slapos from source using 1.0 branch on # This simple script to buildout slapos from source using 1.0 branch on
# /opt/slapos folder, adapt this script as you please. # /opt/slapos folder, adapt this script as you please.
...@@ -12,18 +12,19 @@ cd /opt/slapos/ ...@@ -12,18 +12,19 @@ cd /opt/slapos/
# Create buildout.cfg SlapOS bootstrap file # Create buildout.cfg SlapOS bootstrap file
echo "[buildout] echo "[buildout]
extends = https://lab.nexedi.com/nexedi/slapos/raw/1.0/component/slapos/buildout.cfg extends = https://lab.nexedi.com/nexedi/slapos/raw/1.0/component/slapos/buildout.cfg
" > buildout.cfg " > buildout.cfg
# Required in some distros such as Mandriva # Required in some distros such as Mandriva
unset</span> PYTHONPATH unset PYTHONPATH
unset</span> PYTHONDONTWRITEBYTECODE unset PYTHONDONTWRITEBYTECODE
unset</span> CONFIG_SITE unset CONFIG_SITE
# #
# Bootstrap SlapOS, using forked version of buildout. # Bootstrap SlapOS, using forked version of buildout.
# #
wget https://bootstrap.pypa.io/bootstrap-buildout.py wget https://bootstrap.pypa.io/bootstrap-buildout.py
python -S --builout-version python -S bootstrap-buildout.py --buildout-version 2.5.2+slapos009 -f http://www.nexedi.org/static/packages/source/slapos.buildout/ python -S bootstrap-buildout.py --buildout-version 2.5.2+slapos009 \
-f http://www.nexedi.org/static/packages/source/slapos.buildout/
# #
# Warning:Depending on your distribution you might need to # Warning:Depending on your distribution you might need to
......
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