Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
emulab
emulab-stable
Commits
de1e38ad
Commit
de1e38ad
authored
Sep 26, 2018
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix for CONFIG_NODBINIT.
parent
a4e52162
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
clientside/tmcc/common/config/rc.mkelab
clientside/tmcc/common/config/rc.mkelab
+4
-4
No files found.
clientside/tmcc/common/config/rc.mkelab
View file @
de1e38ad
...
...
@@ -2200,16 +2200,16 @@ sub SetupBossNode($)
}
mysystem
("
ln -s
$TBDIR
/data/mysql /var/db/mysql
");
print
"
Copying over initial dbstate from /proj
\n
";
my
$expdir
=
"
/proj/
$pid
/exp/
$eid
";
my
$stuffdir
=
"
$TBDIR
/stuff
";
RecreateDir
("
$stuffdir
",
1
);
mysystem
("
cp -fp
$expdir
/dbstate.tar.gz
$stuffdir
");
mysystem
("
cp -fp
$expdir
/outer_db_schema
$stuffdir
");
mysystem
("
cp -fp
$expdir
/users.tar.gz
$stuffdir
")
if
(
-
e
"
$expdir
/users.tar.gz
");
if
(
!
$emulabconfig
{"
CONFIG_NOSETUP
"})
{
if
(
!
$emulabconfig
{"
CONFIG_NODBINIT
"})
{
print
"
Copying over initial dbstate from /proj
\n
";
mysystem
("
cp -fp
$expdir
/dbstate.tar.gz
$stuffdir
");
mysystem
("
cp -fp
$expdir
/outer_db_schema
$stuffdir
");
print
"
Check for db schema mismatch before we go any further
\n
";
my
$testbed_srcdir
=
"
$TBDIR
/src/testbed
";
my
$schemadiff
=
"
$testbed_srcdir
/utils/schemadiff
";
...
...
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