Changeset 2412 in MondoRescue for branches/2.2.10/mindi/install.sh


Ignore:
Timestamp:
Sep 19, 2009, 1:28:31 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • sshfs also needs ssh at restore time in initrd
  • Better list of mandatory tools
  • Adds fuse and sshfs support in initrd
  • Split deplist.txt into multiple conf files under deplist.d in the conf dir. This will allow to have a minimal.conf file for initrd content to analyze to improve support of new embedded feature in the future (sshfs, live install). The other conf files contain the additional commands to put in the all.tar.gz. For the moment, mindi is still working the same. THis infra will allow that support in a near future. deplist.txt is now reserved for the admin additional commands.
  • Remove useless script

(Backport from 2.2.9)

File:
1 edited

Legend:

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

    r2256 r2412  
    6969
    7070echo "Creating target directories ..."
    71 install -m 755 -d $conf $locallib/mindi $MANDIR $local/sbin $CACHEDIR
     71install -m 755 -d $conf $locallib/mindi $MANDIR $local/sbin $CACHEDIR $conf/deplist.d
    7272
    7373echo "Copying files ..."
     
    7777install -m 644 msg-txt dev.tgz $locallib/mindi
    7878install -m 644 deplist.txt udev.files proliant.files $conf
    79 install -m 755 mindi-bkphw $local/sbin
    80 install -m 755 mindi-get-perl-modules $local/sbin
    81 install -m 755 parted2fdisk.pl $local/sbin
     79for f in deplist.d/*.conf; do
     80    install -m 644 $f $conf/deplist.d
     81done
     82for f in mindi-bkphw mindi-get-perl-modules parted2fdisk.pl; do
     83    install -m 755 $f $local/sbin
     84done
    8285
    8386# Substitute variables for mindi
     
    8992
    9093if [ "_$PREFIX" = "_" ] && [ ! -f $locallib/mindi/rootfs/bin/busybox ]; then
    91         echo "WARNING: no busybox found, mindi will not work on this arch ($ARCH)"
     94    echo "WARNING: no busybox found, mindi will not work on this arch ($ARCH)"
    9295fi
    9396
Note: See TracChangeset for help on using the changeset viewer.