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
Carlos Ramos Carreño
slapos
Commits
566bb2b2
Commit
566bb2b2
authored
Oct 24, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/ca-certificates: prefer python3 in our "any python" patch
We want to detect usage of system python2 or python.
parent
912ae37a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
component/ca-certificates/buildout.cfg
component/ca-certificates/buildout.cfg
+1
-1
component/ca-certificates/ca-certificates-any-python.patch
component/ca-certificates/ca-certificates-any-python.patch
+1
-1
No files found.
component/ca-certificates/buildout.cfg
View file @
566bb2b2
...
@@ -16,7 +16,7 @@ url = http://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_2
...
@@ -16,7 +16,7 @@ url = http://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_2
md5sum = e91d3d9259127ba2dbb65fda58d73f31
md5sum = e91d3d9259127ba2dbb65fda58d73f31
patch-binary = ${patch:location}/bin/patch
patch-binary = ${patch:location}/bin/patch
patches =
patches =
${:_profile_base_location_}/ca-certificates-any-python.patch#
087b5e860c7a4b8ff6656c95c5835ee2
${:_profile_base_location_}/ca-certificates-any-python.patch#
b7e234b1b2a40750c054c06603fb3749
${:_profile_base_location_}/ca-certificates-sbin-dir.patch#0b4e7d82ce768823c01954ee41ef177b
${:_profile_base_location_}/ca-certificates-sbin-dir.patch#0b4e7d82ce768823c01954ee41ef177b
patch-options = -p0
patch-options = -p0
configure-command = true
configure-command = true
...
...
component/ca-certificates/ca-certificates-any-python.patch
View file @
566bb2b2
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
all:
all:
- python certdata2pem.py
- python certdata2pem.py
+ for x in
'' 2 3
; do type python$$x && break; done >/dev/null \
+ for x in
3 '' 2
; do type python$$x && break; done >/dev/null \
+ && python$$x certdata2pem.py
+ && python$$x certdata2pem.py
clean:
clean:
...
...
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