Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Xiaowu Zhang
slapos.package
Commits
aab5610b
Commit
aab5610b
authored
Feb 08, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exit if error
parent
773b1d2d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
prepare_slapos_build.sh
prepare_slapos_build.sh
+1
-1
templates/offline.sh.in
templates/offline.sh.in
+2
-2
No files found.
prepare_slapos_build.sh
View file @
aab5610b
...
...
@@ -24,7 +24,7 @@ sed $VERSION_REGEX $TEMPLATES_DIRECTORY/offline.sh.in > $CURRENT_DIRECTORY/$SLAP
# Prepare Download Cache for SlapOS
cd
$CURRENT_DIRECTORY
/
$SLAPOS_DIRECTORY
/slapos/
#rm -rf build/
bash offline.sh
bash offline.sh
||
(
echo
"Impossible to build SlapOS, exiting."
&&
exit
1
)
# Prepare tarball
cd
$CURRENT_DIRECTORY
...
...
templates/offline.sh.in
100644 → 100755
View file @
aab5610b
...
...
@@ -28,8 +28,8 @@ sed "s/\%RECIPE_VERSION\%/$RECIPE_VERSION/g;s|\%PATCHES_DIRECTORY\%|$PATCHES_DI
# Build first time to get download-cache and extends-cache ready
cd
$BUILD_DIRECTORY
wget
$BOOTSTRAP_URL
-O
bootstrap.py
python
-S
bootstrap.py
#
&& \
./bin/buildout
(
python
-S
bootstrap.py
&&
\
./bin/buildout
)
||
(
echo
"Failed to run buildout, exiting."
&&
exit
1
)
cd
$BUILD_ROOT_DIRECTORY
/..
...
...
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