Changeset 5751 in /cluster/svnroot


Ignore:
Timestamp:
Aug 4, 2016 9:08:45 PM (4 years ago)
Author:
skylar
Message:

interim commit, through line 1340 in build_livecd.pl re #915

Location:
bccd-ng/branches/skylar/bccd-3.4.0-build_ng
Files:
12 added
3 deleted
1 edited
2 copied
7 moved

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0-build_ng/bin/build_livecd.pl

    r5750 r5751  
    789789);
    790790
    791 # #915 - FILE COPY; handle with packaging?
    792 $Bccd->run_test(
    793     "fcopy",
    794     "",
    795     "Copied tftpd-hpa configuration.",
    796     "$WORKSPACE/trees/etc/default/tftpd-hpa",
    797     "$BUILDDIR/etc/default/tftpd-hpa",
    798 );
    799 
    800791# #915 - DIR CREATE; handle with packaging for kernel modules?
    801792$Bccd->run_test(
     
    834825);
    835826
    836 # #915 - CHOWN, handle w/ packaging?
     827# #915 - CHOWN, handle w/ packaging? Or possibly init script
    837828$Bccd->run_test(
    838829    "chown",
     
    880871}
    881872
    882 # #915 - LINK, COMMAND; handle w/ packaging?
     873# #915 - LINK, COMMAND; handle w/ packaging? Or maybe add /opt/VBoxGuestAdditions-3.2.8/sbin to PATH
    883874$Bccd->run_test(
    884875    "system",
     
    927918    "$BUILDDIR/usr/lib/syslinux/modules/bios/ldlinux.c32",
    928919    "$BUILDDIR/srv/tftp/ldlinux.c32",
    929 );
    930 
    931 # #915 - FILE COPY; handle w/ packaging?
    932 foreach my $file ( "dhcpd.conf", "ignored_nodes.template", "dhclient.conf", "dhclient.conf-bccd",
    933     "dhclient.conf-any" ) {
    934     $Bccd->run_test(
    935         "fcopy",
    936         "",
    937         "Copied DHCP $file configuration.",
    938         "$WORKSPACE/packages/etc/dhcp/$file",
    939         "$BUILDDIR/etc/dhcp/$file",
    940     );
    941 }
    942 
    943 # #915 - FILE COPY; handle w/ packaging?
    944 # Needed down here to prevent hang with debconf
    945 foreach my $file ( "exports", "hosts.equiv", "gpm.conf", "inittab",
    946     "pdnsd.conf", "default/pdnsd", ) {
    947     $Bccd->run_test(
    948         "fcopy",
    949         "",
    950         "Copied /etc/$file file.",
    951         "$WORKSPACE/packages/etc/$file",
    952         "$BUILDDIR/etc/$file",
    953     );
    954 }
    955 
    956 # #915 - FILE CREATE; handle w/ packaging?
    957 $Bccd->run_test(
    958     "system",
    959     "",
    960     "Setting LSB parsing of init scripts.",
    961     [
    962         '/usr/bin/touch',
    963         "$BUILDDIR/etc/update-rc.d-lsbparse",
    964     ],
    965 );
    966 
    967 # #915 - FILE CREATE; handle w/ packaging?
    968 $Bccd->run_test(
    969     "system",
    970     "",
    971     "Disabling hardware-optimized ld.so directories.",
    972     [
    973         '/usr/bin/touch',
    974         "$BUILDDIR/etc/ld.so.nohwcap",
    975     ],
    976 );
    977 
    978 # #915 - DIR CREATE; handle w/ packaging?
    979 $Bccd->run_test(
    980     'mkpath',
    981     '',
    982     "mkdir $BUILDDIR/var/lib/dhcp",
    983     "$BUILDDIR/var/lib/dhcp",
    984 );
    985 
    986 # #915 - FILE CREATE; handle w/ packaging?
    987 $Bccd->run_test(
    988     "system",
    989     "",
    990     "Creating empty dhcpd.lease",
    991     [
    992         '/usr/bin/touch',
    993         "$BUILDDIR/var/lib/dhcp/dhcpd.leases",
    994     ],
    995920);
    996921
     
    13521277);
    13531278
    1354 # Bccd perl modules
    1355 
    1356 # #915 - DIR CREATE; handle w/ packaging?
    1357 $Bccd->run_test(
    1358     "mkpath",
    1359     "",
    1360     "mkdir $BUILDDIR/$PERLDIR",
    1361     "$BUILDDIR/$PERLDIR",
    1362 );
    1363 
    1364 $Bccd->run_test(
    1365     "chdir",
    1366     "",
    1367     "cd'd to $BUILDDIR/$PERLDIR/../",
    1368     "$BUILDDIR/$PERLDIR/../",
    1369 );
    1370 
    1371 
    1372 # #915 - FILE COPY; handle w/ packaging?
    1373 $Bccd->run_test(
    1374     "rsync",
    1375     "",
    1376     "Checked out Bccd perl modules.",
    1377     "$WORKSPACE/trees/$PERLDIR/",
    1378     "$BUILDDIR/$PERLDIR/",
    1379     "$WORKSPACE/bin/rsync_svn.exclude",
    1380 );
    1381 
    1382 $Bccd->run_test(
    1383     "chdir",
    1384     "",
    1385     "cd'd to $tmpdir.",
    1386     "$tmpdir",
    1387 );
    1388 
    13891279# Torque setup
    13901280
     
    13991289        $path,
    14001290        $HEAD_NODE,
    1401     );
    1402 }
    1403 
    1404 # #915 - FILE CREATE; handle w/ packaging?
    1405 foreach my $file ( '/var/spool/torque/mom_priv/config' ) {
    1406     my $path = "$BUILDDIR/$file";
    1407     $Bccd->run_test(
    1408         "fwrite",
    1409         "",
    1410         "Writing out $HEAD_NODE to $path",
    1411         'w',
    1412         $path,
    1413         "\$pbsserver ".$HEAD_NODE.".bccd.net",
    14141291    );
    14151292}
Note: See TracChangeset for help on using the changeset viewer.