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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Lorenzo Martinico
slapos
Commits
16c310e9
Commit
16c310e9
authored
Jul 07, 2017
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! component/slapos: Example script to build slapos from source.
parent
659df632
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
component/slapos/build.sh
component/slapos/build.sh
+7
-6
No files found.
component/slapos/build.sh
View file @
16c310e9
#!/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
...
...
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