Changeset 2620 in /cluster/svnroot


Ignore:
Timestamp:
Sep 10, 2010 1:29:44 PM (10 years ago)
Author:
leemasa
Message:

Adding first trial at automatic mode detection (#524)

Location:
bccd-ng/branches/leemasa-devel
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/leemasa-devel/bin/build_livecd.pl

    r2618 r2620  
    272272          "lam.conf", "init.d/bccd-nfs", "init.d/bccd-unite-sw", "init.d/bccd-nics",
    273273          "init.d/bccd-dhcp-conf", "init.d/bccd-route", "init.d/bccd-keyboard", "rc.local",
    274           "init.d/bccd-fsrw", "init.d/bccd-mail", "init.d/bccd-test", "auto.master", "auto.sshfs", "ld.so.conf.d/CUDA.conf" ) {
     274          "init.d/bccd-fsrw", "init.d/bccd-mail", "init.d/bccd-test", "init.d/bccd-mode", "auto.master", "auto.sshfs", "ld.so.conf.d/CUDA.conf" ) {
    275275    $Bccd->run_test(
    276276        "revfetch",
     
    291291    );
    292292
    293 foreach my $file ( "bccd-networking", "bccd-passwd", "bccd-dhcp", "bccd-sshd", "bccd-nfs", "bccd-unite-sw", "bccd-nics", "bccd-dhcp-conf", "bccd-route", "bccd-keyboard", "bccd-fsrw", "bccd-mail", "bccd-test" ) {
     293foreach my $file ( "bccd-networking", "bccd-passwd", "bccd-dhcp", "bccd-sshd", "bccd-nfs", "bccd-unite-sw", "bccd-nics", "bccd-dhcp-conf", "bccd-route", "bccd-keyboard", "bccd-fsrw", "bccd-mail", "bccd-test", "bccd-mode" ) {
    294294    $Bccd->run_test(
    295295        "chmod",
     
    688688}
    689689
    690 foreach my $script ( "bccd-passwd","bccd-sshd", "bccd-nfs", "bccd-mail", "nfs-common", "vboxadd-service", "mpd", "bccd-test" ) {
     690foreach my $script ( "bccd-passwd","bccd-sshd", "bccd-nfs", "bccd-mail", "nfs-common", "vboxadd-service", "mpd" ) {
    691691    $Bccd->run_test(
    692692        "system",
     
    694694        "Enabling $script at boot time.",
    695695        "/usr/sbin/chroot $BUILDDIR /usr/sbin/update-rc.d $script defaults",
     696        );
     697}
     698
     699# This must run immediately after 3 (udev)
     700foreach my $script ( "bccd-mode" ) {
     701    $Bccd->run_test(
     702        "system",
     703        "",
     704        "Enabling $script config.",
     705        "/usr/sbin/chroot $BUILDDIR /usr/sbin/update-rc.d $script defaults 4",
    696706        );
    697707}
Note: See TracChangeset for help on using the changeset viewer.