Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
ed65140b
Commit
ed65140b
authored
Oct 20, 2010
by
Leigh B Stoller
Browse files
Add a bit more; update ssl/ca.cnf.
parent
a33945e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/updates/5/10
View file @
ed65140b
...
...
@@ -10,6 +10,7 @@ use libinstall;
my $NEWSYSLOG_CONF = "/etc/newsyslog.conf";
my $REBOOTLOG = "$LOGDIR/reboot.log";
my $POWERLOG = "$LOGDIR/power.log";
my $CACONF = "$TBROOT/lib/ssl/ca.cnf";
sub InstallUpdate($$)
{
...
...
@@ -24,6 +25,18 @@ sub InstallUpdate($$)
BackUpFileFatal($NEWSYSLOG_CONF);
AppendToFileFatal($NEWSYSLOG_CONF, "$REBOOTLOG 640 14 300 * Z");
};
Phase "ca.cnf", "Updating ssl CA config file", sub {
PhaseSkip("Already updated")
if (`grep 'Added for update 5.10' $CACONF`);
BackUpFileFatal($CACONF);
ExecQuietFatal("$GMAKE -C $TOP_OBJDIR/ssl ca.cnf");
# For impotent mode.
DiffFiles("$TOP_OBJDIR/ssl/ca.cnf", $CACONF);
ExecQuietFatal("$GMAKE -C $TOP_OBJDIR/ssl install-conf");
};
}
#
...
...
Write
Preview
Supports
Markdown
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