Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.rebootstrap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.rebootstrap
Commits
85a3807e
Commit
85a3807e
authored
Mar 15, 2017
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! drop zc.buildout version pinning in reboot() to prevent loop in case of version change.
parent
5f644a3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
slapos/rebootstrap/__init__.py
slapos/rebootstrap/__init__.py
+0
-4
No files found.
slapos/rebootstrap/__init__.py
View file @
85a3807e
...
...
@@ -68,8 +68,6 @@ Buildout will be restarted automatically to have this change applied.
running_python
=
self
.
running_python
)
self
.
logger
.
info
(
message
)
args
=
map
(
zc
.
buildout
.
easy_install
.
_safe_arg
,
sys
.
argv
)
# drop zc.buildout version to prevent loop in case of version change
args
=
[
x
for
x
in
args
if
not
x
.
startswith
(
'versions:zc.buildout='
)]
env
=
os
.
environ
if
'ORIG_PYTHON'
not
in
env
:
env
[
'ORIG_PYTHON'
]
=
sys
.
executable
...
...
@@ -106,8 +104,6 @@ Buildout will be restarted automatically to have this change applied.
# rerun buildout with only neeeded section to reuse buildout
# ability to calcuate all dependency
args
.
extend
([
# use the last zc.buildout version that supports Python 2.6
'versions:zc.buildout=2.5.2+slapos005'
,
# chroot to rebootstrap directory
'buildout:directory=%s'
%
self
.
rebootstrap_directory
,
# preserve bin-directory outside the chroot.
...
...
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