Changeset 2540 in MondoRescue for devel/mindi
- Timestamp:
- Jan 9, 2010, 4:40:53 PM (15 years ago)
- Location:
- devel/mindi
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
devel/mindi/Makefile.PL
r2539 r2540 16 16 #ABSTRACT_FROM => 'sbin/mindi', # retrieve abstract from module 17 17 AUTHOR => 'Bruno Cornec <bruno#mondorescue.org>', 18 EXE_FILES => [ qw( sbin/mindi sbin/mr analyze-lvm sbin/mrprepare-lvm ) ],18 EXE_FILES => [ qw( sbin/mindi sbin/mrprepare-lvm ) ], 19 19 MAN1PODS => { 20 20 'sbin/mindi' => '$(INST_MAN1DIR)/mindi.$(MAN1EXT)', -
devel/mindi/etc/mindi.conf
r2149 r2540 47 47 mr_cache_dir mindi = /var/cache/mindi 48 48 mr_cache_dir mondoarchive = /var/cache/mondo 49 50 #51 # Temporary directory52 # Under it a temporary directory will be created to host all53 # temporary files for mindi. That subdirectory is erased at the end of mindi54 #55 mr_tmp_dir default = /tmp56 49 57 50 # … … 131 124 e.g. Type 'nuke donteject textonly' if you have an unstable Newt library and \n\ 132 125 a PC whose CD-ROM drive tray would be damaged if it unexpectedly ejected.\n 133 134 #135 # LVM commands and conf files136 # Is it LSB ?137 #138 mr_lvmdiskscan mindi = /usr/sbin/lvmdiskscan139 mr_lvmprocfile mindi = /proc/lvm/global140 mr_lvmcmd mindi = /usr/sbin/lvm141 mr_lvmpath mindi = /usr/sbin/ -
devel/mindi/post-install.sh
r2538 r2540 32 32 MINDIREV=PBREV 33 33 ARCH=`/bin/uname -m` 34 echo " mindi${MINDIVER}-r${MINDIREV} will be installed under $local"34 echo "PBPKG ${MINDIVER}-r${MINDIREV} will be installed under $local" 35 35 36 36 echo "Creating target directories ..." 37 37 install -m 755 -d $conf $sublocallib $sublocalshare $CACHEDIR 38 38 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 39 echo "Copying files ..." 40 cp -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 43 44 #install -m 644 deplist.txt udev.files proliant.files $conf 44 45 45 46 # 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/ mindi47 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/PBPKG 47 48 #sed -i -e "s~= "YYY"~= "$subconf"~" $local/bin/mindi-bkphw 48 49 49 50 if [ "$PKGBUILDMINDI" != "true" ]; then 50 chown -R root:root $sublocallib /mindi$conf51 chown -R root:root $sublocallib $conf 51 52 fi 52 53 -
devel/mindi/sbin/mindi
r2149 r2540 25 25 use ProjectBuilder::Distribution; 26 26 use ProjectBuilder::Display; 27 use MondoRescue:: Mindi::LVM;27 use MondoRescue::LVM; 28 28 use MondoRescue::Base; 29 29 -
devel/mindi/sbin/mrprepare-lvm
r2149 r2540 19 19 use ProjectBuilder::Distribution; 20 20 use MondoRescue::Base; 21 use MondoRescue:: Mindi::LVM;21 use MondoRescue::LVM; 22 22 23 23 =pod
Note:
See TracChangeset
for help on using the changeset viewer.