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
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
Commits
2bd4e558
Commit
2bd4e558
authored
Aug 04, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
2ed5e927
b69af7c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
15 deletions
+7
-15
component/ceph/buildout.cfg
component/ceph/buildout.cfg
+3
-7
component/qemu-kvm/buildout.cfg
component/qemu-kvm/buildout.cfg
+1
-1
component/systemd/buildout.cfg
component/systemd/buildout.cfg
+3
-7
No files found.
component/ceph/buildout.cfg
View file @
2bd4e558
...
@@ -37,18 +37,14 @@ pyyaml = ${pyyaml-download:target}
...
@@ -37,18 +37,14 @@ pyyaml = ${pyyaml-download:target}
pyaml = ${pyaml-download:target}
pyaml = ${pyaml-download:target}
install =
install =
import os
import os
, sys
call([
options['python']
, '-m', 'venv', '--clear', location])
call([
sys.executable
, '-m', 'venv', '--clear', location])
pip = os.path.join(location, 'bin', 'pip')
pip = os.path.join(location, 'bin', 'pip')
call([pip, 'install', '--no-index', options['pyyaml'], options['pyaml']])
call([pip, 'install', '--no-index', options['pyyaml'], options['pyaml']])
call([pip, 'uninstall', '-y', 'pip', 'setuptools'])
call([pip, 'uninstall', '-y', 'pip', 'setuptools'])
# selftest
# selftest
python = os.path.join(location, 'bin', 'python
3
')
python = os.path.join(location, 'bin', 'python')
call([python, '-c', 'import yaml'])
call([python, '-c', 'import yaml'])
python = ${python3:executable}
[librbd-python:python3]
python = ${buildout:executable}
[librbd]
[librbd]
# CEPH only for librbd
# CEPH only for librbd
...
...
component/qemu-kvm/buildout.cfg
View file @
2bd4e558
...
@@ -67,7 +67,7 @@ environment =
...
@@ -67,7 +67,7 @@ environment =
PATH=${pkgconfig:location}/bin:${bzip2:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${bzip2:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${gnutls:location}/lib/pkgconfig:${gnutls:pkg-config-path}:${libpng:location}/lib/pkgconfig:${liburing:location}/lib/pkgconfig:${ncurses:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig${:PKG_CONFIG_PATH-rbd}
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${gnutls:location}/lib/pkgconfig:${gnutls:pkg-config-path}:${libpng:location}/lib/pkgconfig:${liburing:location}/lib/pkgconfig:${ncurses:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig${:PKG_CONFIG_PATH-rbd}
[qemu:[int(q) for q in platform.libc_ver()[1].split(".")] < [2,25]]
[qemu:
python2 or
[int(q) for q in platform.libc_ver()[1].split(".")] < [2,25]]
configure-rbd =
configure-rbd =
CFLAGS-rbd =
CFLAGS-rbd =
LDFLAGS-rbd =
LDFLAGS-rbd =
...
...
component/systemd/buildout.cfg
View file @
2bd4e558
...
@@ -38,18 +38,14 @@ markupsafe = ${systemd-markupsafe-download:target}
...
@@ -38,18 +38,14 @@ markupsafe = ${systemd-markupsafe-download:target}
jinja2 = ${systemd-jinja2-download:target}
jinja2 = ${systemd-jinja2-download:target}
install =
install =
import os
import os
, sys
call([
options['python']
, '-m', 'venv', '--clear', location])
call([
sys.executable
, '-m', 'venv', '--clear', location])
pip = os.path.join(location, 'bin', 'pip')
pip = os.path.join(location, 'bin', 'pip')
call([pip, 'install', '--no-index', options['markupsafe'], options['jinja2']])
call([pip, 'install', '--no-index', options['markupsafe'], options['jinja2']])
call([pip, 'uninstall', '-y', 'pip', 'setuptools'])
call([pip, 'uninstall', '-y', 'pip', 'setuptools'])
# selftest
# selftest
python = os.path.join(location, 'bin', 'python
3
')
python = os.path.join(location, 'bin', 'python')
call([python, '-c', 'import jinja2'])
call([python, '-c', 'import jinja2'])
python = ${python3:executable}
[systemd-python:python3]
python = ${buildout:executable}
[systemd]
[systemd]
recipe = slapos.recipe.build
recipe = slapos.recipe.build
...
...
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