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
Ophélie Gagnard
slapos.package
Commits
6d296478
Commit
6d296478
authored
Mar 16, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
obs/generic/build-scripts/bootstrap_buildout.sh: Backup the build tree.
parent
9d1e0f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
obs/generic/build-scripts/bootstrap_buildout.sh
obs/generic/build-scripts/bootstrap_buildout.sh
+8
-0
No files found.
obs/generic/build-scripts/bootstrap_buildout.sh
View file @
6d296478
...
...
@@ -22,3 +22,11 @@ cp $COMPILATION_TEMPLATES_DIR/tmp/$SOFTWARE_NAME/local_buildout.cfg buildout.cfg
# 3rd cmd: run buildout (which apparently modifies itself)
(
python2.7
-S
bootstrap-buildout.py
--buildout-version
2.7.1+slapos016
--setuptools-version
44.1.1
--setuptools-to-dir
eggs
-f
http://www.nexedi.org/static/packages/source/slapos.buildout/
&&
cp
bin/buildout bin/backup.buildout
&&
./bin/buildout
-v
)
#cp $COMPILATION_TEMPLATES_DIR/tmp/buildout_with_gcc.cfg buildout.cfg
cd
$INITIAL_DIR
# the following should simply add "backup." before the directory name pointed to by $TARBALL_DIR
BACKUP_DIR
=
$TARBALL_DIR
/../backup.
$SOFTWARE_AND_VERSION
BACKUP_DIR
=
`
realpath
-m
$BACKUP_DIR
`
# Delete the potential old backup and backup the newly created build tree instead.
rm
-rf
$BACKUP_DIR
cp
-r
$TARBAL_DIR
$BACKUP_DIR
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