Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
35c53d9a
Commit
35c53d9a
authored
Aug 01, 2013
by
Mukund Sivaraman
Browse files
[2962] Don't run b10-certgen in parallel (which results in corruption of PEM output files)
parent
940eae0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/cmdctl/Makefile.am
View file @
35c53d9a
...
...
@@ -57,12 +57,19 @@ b10_certgen_CXXFLAGS = $(BOTAN_INCLUDES)
b10_certgen_LDFLAGS
=
$(BOTAN_LIBS)
# Generate the initial certificates immediately
cmdctl-certfile.pem
:
b10-certgen
./b10-certgen
-q
-w
cmdctl-keyfile.pem
:
b10-certgen
./b10-certgen
-q
-w
# Do nothing. This is a hack, as b10-certgen creates both
# cmdctl-keyfile.pem and cmdctl-certfile.pem, and in a parallel make,
# making these targets simultaneously may result in corrupted
# files. With GNU make, there is a non-portable way of working around
# this with pattern rules, but we adopt this hack instead. The downside
# is that cmdctl-certfile.pem will not be generated if
# cmdctl-keyfile.pem exists. See Trac ticket #2962.
cmdctl-certfile.pem
:
cmdctl-keyfile.pem
noop
if
INSTALL_CONFIGURATIONS
# Below we intentionally use ${INSTALL} -m 640 instead of $(INSTALL_DATA)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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