Commit d07dae4f authored by Robert Ricci's avatar Robert Ricci

Changes for the new image:

First, we'll no longer have seperate sup releases for each revision,
so the supfiles use the release 'current'

Second, since we no longer have seperate sup releases, the prepare
scripts no longer need to remove checkouts files.
parent 33254ef8
......@@ -6,7 +6,6 @@ require 'ctime.pl';
# Prepare the node for cutting a new image. Should be run just prior, on
# each of the FreeBSD and Linux partitions.
#
my $SUPCHECKDIR = "/etc/testbed/sup/sup";
my $DUMPDATES = "/etc/dumpdates";
my @DBFILES = ("/var/db/testbed.deltas", "/var/db/testbed.tarfiles");
my $FSTAB = "/etc/fstab";
......@@ -40,12 +39,6 @@ $| = 1;
#
cleanup_node(1);
print "Removing old sup checkouts ...\n";
if (-e $SUPCHECKDIR) {
system("rm -rf $SUPCHECKDIR/*") == 0 or
die("Could not unlink $SUPCHECKDIR");
}
print "Removing old DB files ...\n";
foreach my $dbfile (@DBFILES) {
if (-e $dbfile) {
......
#
# When the release is bumped, be sure to remove sup/sup/FBSD43-STD/checkouts
# When the release is bumped, be sure to remove sup/sup/FBSD45-STD/checkouts
# on the client.
#
FBSD43-STD host=boss.emulab.net base=/etc/testbed/sup prefix=/ preserve release=20020508
FBSD45-STD host=boss.emulab.net base=/etc/testbed/sup prefix=/ preserve release=current
......@@ -6,7 +6,6 @@ require 'ctime.pl';
# Prepare the node for cutting a new image. Should be run just prior, on
# each of the FreeBSD and Linux partitions.
#
my $SUPCHECKDIR = "/etc/rc.d/testbed/sup/sup";
my $DUMPDATES = "/etc/dumpdates";
my @DBFILES = ("/var/db/testbed.deltas", "/var/db/testbed.tarfiles");
my $FSTAB = "/etc/fstab";
......@@ -39,12 +38,6 @@ $| = 1;
#
cleanup_node(1);
print "Removing old sup checkouts ...\n";
if (-e $SUPCHECKDIR) {
system("rm -rf $SUPCHECKDIR/*") == 0 or
die("Could not unlink $SUPCHECKDIR");
}
print "Removing old DB files ...\n";
foreach my $dbfile (@DBFILES) {
if (-e $dbfile) {
......
......@@ -2,4 +2,4 @@
# When the release is bumped, be sure to remove sup/sup/RHL71-STD/checkouts
# on the client.
#
RHL71-STD host=boss.emulab.net base=/etc/rc.d/testbed/sup prefix=/ preserve release=20020508
RHL71-STD host=boss.emulab.net base=/etc/rc.d/testbed/sup prefix=/ preserve release=current
Markdown is supported
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