Changeset 1469


Ignore:
Timestamp:
May 30, 2007, 10:49:52 AM (12 years ago)
Author:
bruno
Message:

Improve the bkphw. Works now for conrep and hpacucli (+ doc and install procediures correct)

Location:
branches/stable/mindi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/README.bkphw

    r1467 r1469  
    2525ldconfig
    2626perl -pi -e 's~^HOME=.*~HOME="/usr/local/bin"~' /usr/local/bin/cpqacuxe
    27 perl -pi -e '/LD_LIBRARY_PATH/d' /usr/local/bin/cpqacuxe
     27sed -i -e '/LD_LIBRARY_PATH/d' /usr/local/bin/cpqacuxe
     28
     29You also may have to remove the LD_ASSUME_KERNEL line in that script.
    2830
    2931You're now ready to check your configuration by running mindi-bkphw.
     32
    3033In order to have a working hponcfg binary you also need to install the hprsm/hpasm packages from HP Web site. Refer to http://welcome.hp.com/country/us/en/support.html?pageDisplay=drivers
    3134
  • branches/stable/mindi/install.sh

    r1280 r1469  
    122122# Substitute variables for mindi
    123123sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" mindi > $local/sbin/mindi
    124 sed -e "s~^my \$mindiconf=YYY~my \$mindiconf=$subconf;~" mindi-bkphw > $local/sbin/mindi-bkphw
     124sed -e "s~^my \$mindiconf=YYY~my \$mindiconf=\"$subconf\";~" mindi-bkphw > $local/sbin/mindi-bkphw
    125125chmod 755 $local/sbin/mindi $local/sbin/mindi-bkphw
    126126install -m 755 parted2fdisk.pl $local/sbin
  • branches/stable/mindi/mindi-bkphw

    r1467 r1469  
    66use strict;
    77use AppConfig;
     8use File::Basename;
    89
    910# Handling Configuration files
     
    1213my $file2 = "$mindiconf/mindi.conf";
    1314my $tool = "";
     15my $tooldir = "";
    1416my $ret = 0;
    1517
     
    3840        next if ($tool =~ /^#/);
    3941        chomp($tool);
     42        $tooldir = dirname($tool);
    4043        if (! (-e $tool)) {
    4144            print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n";
     
    4649        }
    4750        if ($tool =~ /conrep/) {
    48             $ret = system("$tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat");
     51            $ret = system("(cd $tooldir ; $tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat)");
    4952        }
    5053        if ($tool =~ /cpqacuxe/) {
Note: See TracChangeset for help on using the changeset viewer.