Changeset 454 in MondoRescue for branches/stable/mindi
- Timestamp:
- Mar 24, 2006, 7:09:44 PM (19 years ago)
- Location:
- branches/stable/mindi
- Files:
-
- 7 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/deplist.txt
r321 r454 1 # Mindi-Linux's dependency list 07/10/20041 # Mindi-Linux's dependency list 2 2 # 3 3 # NB: … … 5 5 # 2. If you put 'libncurses' (w/o quotation marks) on an uncommented line then 6 6 # Mindi will find /lib/libncurses* and include all matching files. 7 # 3. You may give an absolute path if you think Mindi will have trouble finding 8 # the file on its own. 7 # 3. You have to give an absolute path 9 8 # 4. If you want to add something, just add it on its own line. K.I.S.S. 10 9 # 5. You must _not_ put a semicolon & comment after an entry. e.g. 'foo; #bar'. 11 # 6. All these worlds are yours except Europa. Attempt no landing there.10 # 6. you can add also entries in a file inside the deplist.d subdirectory 12 11 13 #------------------------- STUFF ADDED BY THE USER ---------------------------- 14 #---vvvv vvvv vvvv list your stuff here! vvvv vvvv vvvv 15 # 16 # bar 17 # foo 18 # 19 #---^^^^ ^^^^ ^^^^ list your stuff here! ^^^^ ^^^^ ^^^^ 20 #------------------------------------------------------------------------------ 21 22 #----- Covers a multitude of sins, including XFS, JFS, ReiserFS, and RAID ----- 23 mkfs mkswap mkswapfs mkfs.swap mkfs.ext2 mke2fs mkfs.vfat mkfs.dos mkdosfs mkvfatfs mkfatfs mkreiserfs mkfs.reiserfs mkfs.reiser mkfs.ext3 mke3fs mkfs.jfs mkfs.xfs mkxfs mkjfs mkxfsfs mkjfsfs logdump logredo xchkdmp xchklog xpeek mkpv mkraid raid0run raidhotadd raidhotremove raidsetfaulty raidstart raidstop e2label tune2fs e2fsadm mdadm 24 fsck fsck.ext2 fsck.reiserfs fsck.reiser fsck.xfs fsck.ext3 fsck.jfs badblocks 12 #----- Kept for compatibility ----- 13 mkswapfs mkfs.swap mkfs.dos mkvfatfs mkfatfs mkfs.reiser mke3fs mkxfs mkjfs mkxfsfs mkjfsfs logdump logredo xchkdmp xchklog xpeek e2fsadm fsck.reiser 25 14 26 15 #-------------------------------- ESSENTIAL ----------------------------------- 27 fstab raidtab modules.conf conf.modules mondorestore mt modules.conf.local 28 afio star ntfsclone parted ms-sys file getfattr setfattr getfacl setfacl 29 buffer 30 awk gawk 31 bzip2 bunzip2 lzop 32 date ctrlaltdel 33 dd 34 eject 35 grep ld-linux.so.2 ld-2.3.4.so 36 hosts host.conf resolv.conf hosts.allow hosts.deny 37 wc 38 xargs 39 gzip gunzip 40 klogd sysklogd 41 fdisk hdparm parted arch 42 less less.bin less.dummy less.dupe less.hot.weather.in.texas.please 43 loadkeys 44 mount 45 ping devfsd burnBX burnK6 burnK7 burnMMX burnP5 burnP6 lucifer tiobench tiotest bonnie++ mprime ide-smart 16 conf.modules modules.conf.local ms-sys 17 less.bin less.dummy less.dupe less.hot.weather.in.texas.please 18 burnBX burnK6 burnK7 burnMMX burnP5 burnP6 lucifer tiobench tiotest bonnie++ mprime ide-smart 46 19 47 # ------------------------------- for X (Hugo) -------------------------------- 48 #tar 49 #ldd lddlibc4 50 #libXmu 51 #libz 52 #X 53 #startx 54 #xinitrc 55 #xinit 56 #/etc/X11/XF86Config 57 #xauth 58 #libXext 59 # --- end of X stuff --- 60 61 insmod insmod.static insmod.static.old lsmod 62 63 #-------------------------- For mounting NFS volumes -------------------------- 64 ifconfig route /sbin/start-nfs 65 #ifconfig host.conf resolv.conf ping ip portmap rpc.statd 66 #rpc.lockd rpc.statd nfsstat rpc.nfsd rpc.mountd rpc.exportfs exportfs hosts exports hosts.allow hosts.deny showmount /etc/sysconfig/network /etc/sysconfig/network-scripts service usernetctl services protocols inetd inetd.conf /etc/rc.d ifup ifdown 67 68 20 insmod.static insmod.static.old 69 21 70 22 #------------------------ Added for Stuart D. Gathman ------------------------- 71 23 #lc l lf netstat inetd tcpd in.telnetd route ldconfig ldd telnet rsh rcp services protocols rpc inetd.conf nsswitch.conf localtime security libresolv libutil libcrypt lbnss_compat libnss_files libnss_dns libpwdb libncurses 72 24 73 74 75 #------------------------- Part of the Cuckoo Project -------------------------76 #mkisofs77 #cdrecord78 #losetup79 #fdformat80 #lilo grub81 #/usr/local/share/mondo82 #mondoarchive83 #mindi84 #/usr/local/share/mindi85 86 25 #----------------- For all you LVM users out there, much love ----------------- 87 26 LVMFILES: 88 lvmiopversion lvchange lvcreate lvdisplay lvextend lvmchange lvmcreate_initrd lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvscan pvchange pvcreate pvdata pvdisplay pvmove pvscan vgcfgbackup vgcfgrestore vgchange vgck vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgscan vgsplit liblvm lvm lvm-10 /etc/lvm/lvm.conf27 lvmiopversion lvmcreate_initrd pvdata 89 28 #------------------------------------------------------------------------------ -
branches/stable/mindi/distributions/rpm/mindi.spec
r449 r454 60 60 %files 61 61 %defattr(644,root,root,755) 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt %{_sysconfdir}/mindi/mindi.conf 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 63 %config(noreplace) %{_sysconfdir}/mindi/deplist.d/* 64 %config(noreplace) %{_sysconfdir}/mindi/mindi.conf 63 65 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 64 66 %{_mandir}/man8/* -
branches/stable/mindi/install.sh
r449 r454 41 41 42 42 echo "Creating target directories ..." 43 install -m 755 -d $conf $ locallib/mindi $MANDIR $local/sbin $DOCDIR43 install -m 755 -d $conf $conf/deplist.d $locallib/mindi $MANDIR $local/sbin $DOCDIR 44 44 45 45 echo "Copying files ..." 46 46 install -m 644 isolinux.cfg msg-txt sys-disk.raw.gz isolinux-H.cfg syslinux.cfg syslinux-H.cfg dev.tgz $locallib/mindi 47 47 install -m 644 deplist.txt $conf 48 install -m 644 distributions/conf/mindi.conf $conf 48 install -m 644 distributions/conf/deplist.d/* $conf/deplist.d 49 install -m 755 distributions/conf/mindi.conf $conf 49 50 50 51 cp -af rootfs aux-tools $locallib/mindi -
branches/stable/mindi/mindi
r449 r454 64 64 65 65 if [ "$mindi_deplist_dir" == "" ]; then 66 DEPLIST_DIR=" /etc/mindi/deplist.d"66 DEPLIST_DIR="$MINDI_CONF/deplist.d" 67 67 else 68 68 DEPLIST_DIR="$mindi_deplist_dir" … … 328 328 biggienumber=$4 329 329 330 [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist .txtaccordingly."330 [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist file accordingly." 331 331 mkdir -p $outdir 332 332 … … 875 875 echo "$fname" >> $outfile.pre 876 876 cat $tempdepfile >> $outfile.pre 877 # echo "$fname ----> dependencies:-" >> $LOGFILE878 # cat $tempdepfile | tr -s '/' '/' | sort -u >> $LOGFILE879 # echo -en "(end of deplist of $fname)\n\n" >> $LOGFILE880 877 rm -f $tempdepfile 881 878 progress=$(($progress+1)) … … 1364 1361 if [ -d "/proc/lvm" ] || [ -d "/dev/mapper" ]; then 1365 1362 echo -en "\rAnalyzing LVM...\r" 1366 all_partitions=`$MINDI_ LIB/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`1363 all_partitions=`$MINDI_SBIN/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32` 1367 1364 fi 1368 1365 all_partitions="$all_partitions `ListAllPartitions 2> /dev/null`" … … 2169 2166 tardir=$TMP_ROOT/tardir 2170 2167 2171 lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt | grep -vx "" | wc -l`2172 cat $MINDI_CONF/deplist.txt | GenerateGiantDependencyList $needlist $lines2168 lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt $DEPLIST_DIR/* | grep -vx "" | wc -l` 2169 cat $MINDI_CONF/deplist.txt $DEPLIST_DIR/* | GenerateGiantDependencyList $needlist $lines 2173 2170 res=$? 2174 2171 if [ "$YOUR_KERNEL_SUCKS" ]; then … … 2270 2267 cp -f $TMP_ROOT/mountlist.txt $CACHE_LOC 2271 2268 [ "`DidMondoCallMe`" ] && cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MONDO_TMP/. 2272 [ -d "/proc/lvm" ] && $MINDI_ LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm2273 [ -d "/dev/mapper" ] && $MINDI_ LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm2269 [ -d "/proc/lvm" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm 2270 [ -d "/dev/mapper" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm 2274 2271 cat $minidir_root/$noof_disks/tmp/mountlist.txt >> $LOGFILE 2275 2272 ZipMinidirsIntoTarballs $minidir_root $tardir $noof_disks … … 2954 2951 #----------------------------------- main -----------------------------------# 2955 2952 ############################################################################## 2956 2957 2958 #AWK=`which gawk`2959 #LocateDeps $12960 #MakeModuleLoadingScript /tmp/load-modules.sh2961 #exit 02962 2963 2964 #cat /etc/mindi/deplist.txt | GenerateGiantDependencyList /tmp/deplist.old 2002965 #exit 02966 2967 2953 2968 2954
Note:
See TracChangeset
for help on using the changeset viewer.