Changeset 2540 in MondoRescue for devel/mindi


Ignore:
Timestamp:
Jan 9, 2010, 4:40:53 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3576@localhost: bruno | 2010-01-08 01:15:36 +0100
First set of correct split packages. Now need to work on content. mranalyze-lvm is now executable.

Location:
devel/mindi
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • devel/mindi/Makefile.PL

    r2539 r2540  
    1616    #ABSTRACT_FROM => 'sbin/mindi',   # retrieve abstract from module
    1717    AUTHOR        => 'Bruno Cornec <bruno#mondorescue.org>',
    18     EXE_FILES     => [ qw( sbin/mindi sbin/mranalyze-lvm sbin/mrprepare-lvm ) ],
     18    EXE_FILES     => [ qw( sbin/mindi sbin/mrprepare-lvm ) ],
    1919    MAN1PODS      => {
    2020            'sbin/mindi' => '$(INST_MAN1DIR)/mindi.$(MAN1EXT)',
  • devel/mindi/etc/mindi.conf

    r2149 r2540  
    4747mr_cache_dir mindi = /var/cache/mindi
    4848mr_cache_dir mondoarchive = /var/cache/mondo
    49 
    50 #
    51 # Temporary directory
    52 # Under it a temporary directory will be created to host all
    53 # temporary files for mindi. That subdirectory is erased at the end of mindi
    54 #
    55 mr_tmp_dir default = /tmp
    5649
    5750#
     
    131124e.g. Type 'nuke donteject textonly' if you have an unstable Newt library and \n\
    132125a PC whose CD-ROM drive tray would be damaged if it unexpectedly ejected.\n
    133 
    134 #
    135 # LVM commands and conf files
    136 # Is it LSB ?
    137 #
    138 mr_lvmdiskscan mindi = /usr/sbin/lvmdiskscan
    139 mr_lvmprocfile mindi = /proc/lvm/global
    140 mr_lvmcmd mindi = /usr/sbin/lvm
    141 mr_lvmpath mindi = /usr/sbin/
  • devel/mindi/post-install.sh

    r2538 r2540  
    3232MINDIREV=PBREV
    3333ARCH=`/bin/uname -m`
    34 echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
     34echo "PBPKG ${MINDIVER}-r${MINDIREV} will be installed under $local"
    3535
    3636echo "Creating target directories ..."
    3737install -m 755 -d $conf $sublocallib $sublocalshare $CACHEDIR
    3838
    39 #echo "Copying files ..."
    40 #cp -af rootfs $sublocallib/mindi
    41 #chmod 755 $sublocallib/mindi/rootfs/sbin/*
    42 #install -m 644 msg-txt dev.tgz $sublocallib/mindi
     39echo "Copying files ..."
     40cp -a etc/PBPKG.conf $conf
     41#cp -af rootfs $sublocallib
     42#chmod 755 $sublocallib/rootfs/sbin/*
     43#install -m 644 msg-txt dev.tgz $sublocallib
    4344#install -m 644 deplist.txt udev.files proliant.files $conf
    4445
    4546# Substitute variables for mindi
    46 sed -i -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" $local/bin/mindi
     47sed -i -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" $local/bin/PBPKG
    4748#sed -i -e "s~= "YYY"~= "$subconf"~" $local/bin/mindi-bkphw
    4849
    4950if [ "$PKGBUILDMINDI" != "true" ]; then
    50     chown -R root:root $sublocallib/mindi $conf
     51    chown -R root:root $sublocallib $conf
    5152fi
    5253
  • devel/mindi/sbin/mindi

    r2149 r2540  
    2525use ProjectBuilder::Distribution;
    2626use ProjectBuilder::Display;
    27 use MondoRescue::Mindi::LVM;
     27use MondoRescue::LVM;
    2828use MondoRescue::Base;
    2929
  • devel/mindi/sbin/mrprepare-lvm

    r2149 r2540  
    1919use ProjectBuilder::Distribution;
    2020use MondoRescue::Base;
    21 use MondoRescue::Mindi::LVM;
     21use MondoRescue::LVM;
    2222
    2323=pod
Note: See TracChangeset for help on using the changeset viewer.