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
e69e698c
Commit
e69e698c
authored
Jun 11, 2013
by
Srikanth Raju
Committed by
Leigh B Stoller
Jul 23, 2013
Browse files
Do configure variable voodoo for temporary directory to scp into
parent
6a728f7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
e69e698c
...
...
@@ -253,6 +253,7 @@ AC_SUBST(NODE_USAGE_SUPPORT)
AC_SUBST(NOSTACKMIB)
AC_SUBST(EXP_VIS_SUPPORT)
AC_SUBST(NOSHAREDFS)
AC_SUBST(IMPORT_TMPDIR)
AC_SUBST(SELFLOADER_DATA)
AC_SUBST(TBUSEDBI)
AC_SUBST(NEEDMCQUERIER)
...
...
@@ -376,6 +377,7 @@ NODE_USAGE_SUPPORT=0
EXP_VIS_SUPPORT=0
NOSTACKMIB=0
NOSHAREDFS=0
IMPORT_TMPDIR="/q"
NFSRACY=1
SELFLOADER_DATA="__DATA__"
NEEDMCQUERIER=0
...
...
utils/ec2import-image.pl
View file @
e69e698c
...
...
@@ -47,20 +47,24 @@ $| = 1;
# Need this for predicates.
use
libsetup
;
#
# Configure variables
#
my
$TB
=
"
@prefix
@
";
my
$IMPORT_BASE
=
"
@IMPORT_TMPDIR
@
"
my
$TB
=
"
/usr/testbed
";
#
# No configure vars.
#
my
$WORK_BASE
=
"
/q/import_temp/
";
my
$IN_BASE
=
"
/q/indir/
";
#TODO something in some script that creates these two directorieso
my
$TAR
=
"
tar
";
my
$sudo
;
my
$zipper
=
"
/usr/local/bin/imagezip
";
my
$uploader
=
"
/usr/local/etc/emulab/frisupload
";
my
$error
=
0
;
my
$WORK_BASE
=
$IMPORT_BASE
+
"
/import_temp/
";
my
$IN_BASE
=
$IMPORT_BASE
+
"
/indir
";
for
my
$path
(
qw#/usr/local/bin /usr/bin#
)
{
if
(
-
e
"
$path
/sudo
")
{
$sudo
=
"
$path
/sudo
";
...
...
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