Commit 4562bf5b authored by Mike Hibler's avatar Mike Hibler
Browse files

Tarball and RPM databases are now kept in /var/emulab/db instead of /var/db.

Not all Linux boxen have the latter since it is a BSD thing.
parent 3608a750
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# Copyright (c) 2000-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -61,7 +61,7 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
#
# No configure vars.
#
my $IDENTFILE = "/var/db/testbed.rpms";
my $IDENTFILE = "$DBDIR/testbed.rpms";
my $rpm = "";
my $usewget = 0;
my $copymode = 0;
......
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# Copyright (c) 2000-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -77,7 +77,7 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
#
# No configure vars.
#
my $IDENTFILE = "/var/db/testbed.tarfiles";
my $IDENTFILE = "$DBDIR/testbed.tarfiles";
my $tarfile = "";
my $decompressflag = "";
my $installdir = "/";
......
......@@ -178,7 +178,7 @@ The
file that determines what tar files are to be installed on this node and then
calls this utility to actually perform the installation.
.TP
/var/db/testbed.tarfiles
/var/emulab/db/testbed.tarfiles
The database of installed tar files, timestamps, MD5 fingerprints, and
installation directories. This file is consulted to determine whether or not a
tar file has changed and the installation needs to be updated.
......
#!/usr/bin/perl -w
#
# Copyright (c) 2004-2011 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -48,7 +48,7 @@ if ($EUID != 0) {
# Script specific goo
my $FRISBEE = "/usr/local/etc/emulab/frisbee -N ";
my $TARINSTALL = "/usr/local/bin/install-tarfile";
my $TARDBFILE = "/var/db/testbed.tarfiles";
my $TARDBFILE = "$DBDIR/testbed.tarfiles";
#
# Load the OS independent support library. It will load the OS dependent
......
#!/usr/bin/perl -w
#
# Copyright (c) 2004-2010 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -47,7 +47,7 @@ if ($EUID != 0) {
# Script specific goo
my $RPMINSTALL = "/usr/local/bin/install-rpm %s %s";
my $RPMDBFILE = "/var/db/testbed.rpms";
my $RPMDBFILE = "$DBDIR/testbed.rpms";
#
# Load the OS independent support library. It will load the OS dependent
......
#!/usr/bin/perl -w
#
# Copyright (c) 2004-2010 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -47,7 +47,7 @@ if ($EUID != 0) {
# Script specific goo
my $TARINSTALL = "/usr/local/bin/install-tarfile %s %s %s";
my $TARDBFILE = "/var/db/testbed.tarfiles";
my $TARDBFILE = "$DBDIR/testbed.tarfiles";
#
# Load the OS independent support library. It will load the OS dependent
......
#!/usr/bin/perl -w
#
# Copyright (c) 2004, 2005 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -47,7 +47,7 @@ if ($EUID != 0) {
# Script specific goo
my $RPMINSTALL = "/usr/local/bin/install-rpm %s %s";
my $RPMDBFILE = "/var/db/testbed.rpms";
my $RPMDBFILE = "$DBDIR/testbed.rpms";
#
# Load the OS independent support library. It will load the OS dependent
......
#!/usr/bin/perl -w
#
# Copyright (c) 2004, 2005 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -47,7 +47,7 @@ if ($EUID != 0) {
# Script specific goo
my $TARINSTALL = "/usr/local/bin/install-tarfile %s %s %s";
my $TARDBFILE = "/var/db/testbed.tarfiles";
my $TARDBFILE = "$DBDIR/testbed.tarfiles";
#
# Load the OS independent support library. It will load the OS dependent
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment