Changeset 1467 in MondoRescue


Ignore:
Timestamp:
May 30, 2007, 2:36:07 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • QEMU on x86_64 should not use kqemu
  • bkphw documented and fixed (first step)
Location:
branches/stable
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi-bkphw

    r1280 r1467  
    1919                                DEBUG => 0,
    2020                                GLOBAL => {
    21                                         # Each conf item has one single parameter
    22                                         ARGCOUNT => AppConfig::ARGCOUNT_ONE
     21                                    # Each conf item has one single parameter
     22                                    ARGCOUNT => AppConfig::ARGCOUNT_ONE,
     23                                    DEFAULT => '<undef>'
    2324                                }
    2425                        });
     
    3031
    3132chomp($productname);
    32 if ($productname =~ /HP /) {
    33     print "Detected an HP Hardware. Nice. Continue to support my job :-)";
    34     if ($productname =~ / proliant /i) {
    35         print "Activating Proliant support for mindi";
    36         open(PROLIANT,"$mindiconf/deplist.d/proliant.conf") || die "Unable to open $mindiconf/deplist.d/proliant.conf";
    37         while($tool = <PROLIANT>) {
    38             next if ($tool =~ /^#/);
    39             chomp($tool);
    40             if (! (-e $tool) {
    41                 print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n";
    42                 print "Get it from http://www.hp.com/servers/sstoolkit\n";
    43             } else {
    44                 print "Found $tool, activating enhanced HP Proliant support in mindi\n";
    45             }
    46             if ($tool =~ /conrep/) {
    47                 $ret = system("$tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat");
    48             }
    49             if ($tool =~ /cpqacuxe/) {
    50                 $ret = system("$tool -c ".$config->get("mindi_cache_dir")."/cpqacuxe.dat");
    51             }
    52             if ($tool =~ /hponcfg/) {
    53                 $ret = system("$tool -w ".$config->get("mindi_cache_dir")."/hponcfg.dat");
    54             }
    55             if ($ret != 0) {
    56                 print "$tool returned an error. Hardware support may not be complete\n";
    57             }
     33if ($productname =~ /proliant/i) {
     34    print "Detected an HP Hardware. Nice. Continue to support my job :-)\n";
     35    print "Activating Proliant support for mindi\n";
     36    open(PROLIANT,"$mindiconf/deplist.d/proliant.conf") || die "Unable to open $mindiconf/deplist.d/proliant.conf";
     37    while($tool = <PROLIANT>) {
     38        next if ($tool =~ /^#/);
     39        chomp($tool);
     40        if (! (-e $tool)) {
     41            print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n";
     42            print "Get it from http://www.hp.com/servers/sstoolkit\n";
     43            next;
     44        } else {
     45            print "Found $tool, activating enhanced HP Proliant support in mindi\n";
     46        }
     47        if ($tool =~ /conrep/) {
     48            $ret = system("$tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat");
     49        }
     50        if ($tool =~ /cpqacuxe/) {
     51            $ret = system("$tool -c ".$config->get("mindi_cache_dir")."/cpqacuxe.dat");
     52        }
     53        if ($tool =~ /hponcfg/) {
     54            $ret = system("$tool -w ".$config->get("mindi_cache_dir")."/hponcfg.dat");
     55        }
     56        if ($ret != 0) {
     57            print "$tool returned an error. Hardware support may not be complete\n";
    5858        }
    5959    }
  • branches/stable/tools/mkqemu

    r1340 r1467  
    1616. $TOOLHOME/common-env
    1717. $TOOLHOME/distro-env
    18 . $TOOLHOME/qemu-env
    1918
    2019if [ _"$1" = _"" ]; then
     
    2423    m=$1
    2524fi
     25. $TOOLHOME/qemu-env
    2626
    2727if [ _"$QEMUAPP" != _"" ]; then
  • branches/stable/tools/qemu-env

    r1334 r1467  
    2525echo $m | grep -q '_64$'
    2626if [ $? -eq 0 ]; then
    27     qemucmd=$qemucmd64
     27    qemucmd="$qemucmd64 -no-kqemu"
    2828else
    2929    qemucmd=$qemucmd32
  • branches/stable/tools/qemu-vm.txt

    r1306 r1467  
    77# RPM based : urpmi, yum install, yast2
    88# Mandriva
    9 urpmi neon newt-devel slang-devel glibc-static-devel autoconf automake libtool gcc rpm-build wget gvim/vim-X11 gcc-c++ docbook-utils-pdf ImageMagick man patch mindi mondo mkisofs cdrecord
     9urpmi neon newt-devel slang-devel glibc-static-devel autoconf automake libtool gcc rpm-build wget gcc-c++ docbook-utils-pdf ImageMagick man patch mindi mondo mkisofs cdrecord
    1010
    1111#Fedora
    12 yum install neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget gvim/vim-X11 gcc-c++ docbook-utils-pdf ImageMagick man patch cdrecord mkisofs
     12yum install neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget vim gcc-c++ docbook-utils-pdf ImageMagick man patch cdrecord mkisofs
    1313
    1414
Note: See TracChangeset for help on using the changeset viewer.