Changeset 1513 in MondoRescue for branches/stable/mindi/install.sh


Ignore:
Timestamp:
Jun 25, 2007, 12:42:59 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a memory allocation bug where strings were freed to early (Nick Hajek <Nick.Hajek_at_Vishay.com>)
  • Removal of acpi=off causing more problems nowadays than solving issues.
  • RPMBUILDMINDI => PKGBUILDMINDI
  • /var/cache/mindi added to the build process + pkgs
  • Prepare the delivery of the yum conf file from SVN (instead of having static files in ftp server) (inputs from Mark Nienberg)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/install.sh

    r1500 r1513  
    4242echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
    4343
     44if [ _"$CACHEDIR" = _"" ]; then
     45    CACHEDIR=$local/var/cache/mindi
     46else
     47    CACHEDIR=${HEAD}$CACHEDIR
     48fi
    4449if [ _"$MANDIR" = _"" ]; then
    4550    MANDIR=$local/share/man/man8
     
    6469
    6570echo "Creating target directories ..."
    66 install -m 755 -d $conf $conf/deplist.d $locallib/mindi $MANDIR $local/sbin $DOCDIR
     71install -m 755 -d $conf $conf/deplist.d $locallib/mindi $MANDIR $local/sbin $DOCDIR $CACHEDIR
    6772
    6873echo "Copying files ..."
     
    154159rm -f $locallib/mindi/rootfs/sbin/parted2fdisk-*
    155160
    156 if [ "$RPMBUILDMINDI" != "true" ]; then
     161if [ "$PKGBUILDMINDI" != "true" ]; then
    157162    chown -R root:root $locallib/mindi $conf $DOCDIR
    158163    chown root:root $local/sbin/mindi $MANDIR/mindi.8 $locallib/mindi/analyze-my-lvm $local/sbin/parted2fdisk.pl
Note: See TracChangeset for help on using the changeset viewer.