Changeset 1047 in MondoRescue
- Timestamp:
- Jan 9, 2007, 2:03:37 AM (18 years ago)
- Location:
- branches/stable/mindi
- Files:
-
- 14 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/deplist.txt
r925 r1047 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 10 12 #------------------------- STUFF ADDED BY THE USER ---------------------------- 13 #---vvvv vvvv vvvv list your stuff here! vvvv vvvv vvvv 14 # 15 # bar 16 # foo 17 # 18 #---^^^^ ^^^^ ^^^^ list your stuff here! ^^^^ ^^^^ ^^^^ 19 #------------------------------------------------------------------------------ 20 21 #----- Covers a multitude of sins, including XFS, JFS, ReiserFS, and RAID ----- 22 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 23 fsck fsck.ext2 fsck.reiserfs fsck.reiser fsck.xfs fsck.ext3 fsck.jfs badblocks 11 #----- Kept for compatibility ----- 12 mkswapfs mkfs.swap mkfs.dos mkvfatfs mkfatfs mkfs.reiser mke3fs mkxfs mkjfs mkxfsfs mkjfsfs logdump logredo xchkdmp xchklog xpeek e2fsadm fsck.reiser 24 13 25 14 #-------------------------------- ESSENTIAL ----------------------------------- … … 44 33 #----------------- For all you LVM users out there, much love ----------------- 45 34 LVMFILES: 46 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.conf35 lvmiopversion lvmcreate_initrd pvdata 47 36 #------------------------------------------------------------------------------ 48 37 # -
branches/stable/mindi/distributions/rpm/mindi.spec
r936 r1047 57 57 %defattr(-,root,root) 58 58 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 59 %config(noreplace) %{_sysconfdir}/mindi/deplist.d/* 60 %config(noreplace) %{_sysconfdir}/mindi/mindi.conf 61 %config(noreplace) %{_sysconfdir}/mindi/mindi.conf.dist 59 62 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 60 63 %{_mandir}/man8/* -
branches/stable/mindi/install.sh
r937 r1047 68 68 69 69 echo "Creating target directories ..." 70 install -m 755 -d $conf $ locallib/mindi $MANDIR $local/sbin $DOCDIR70 install -m 755 -d $conf $conf/deplist.d $locallib/mindi $MANDIR $local/sbin $DOCDIR 71 71 72 72 echo "Copying files ..." 73 73 install -m 644 isolinux.cfg msg-txt sys-disk.raw.gz isolinux-H.cfg syslinux.cfg syslinux-H.cfg dev.tgz $locallib/mindi 74 74 install -m 644 deplist.txt $conf 75 install -m 644 distributions/conf/deplist.d/* $conf/deplist.d 76 install -m 444 distributions/conf/mindi.conf.dist $conf 77 cat > $conf/mindi.conf << EOF 78 # 79 # Configuration file for mindi 80 # 81 # By default values are taken from $conf/mindi.conf.dist 82 # You can override them here 83 # 84 # e.g. 85 # 86 #mindi_tmp_dir="/var/tmp" 87 # 88 EOF 89 chmod 644 $conf/mindi.conf 75 90 76 91 cp -af rootfs aux-tools $locallib/mindi -
branches/stable/mindi/mindi
r1044 r1047 16 16 ARCH=`/bin/arch` 17 17 18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount noresume selinux=0 barrier=off"19 20 18 #RUN_AFTER_INITIAL_BOOT_PHASE="echo \"Who lives in a pineapple under the sea?\" > /tmp/spongebob.squarepants.txt" 21 19 # after booting from floppy/CD image but before … … 37 35 MINDI_LIB=LLL 38 36 39 # Temporary directory for mindi 40 TMPDIR=/tmp 41 42 EXTRA_SPACE=24576 ; # increase if you run out of ramdisk space 43 IA64_BOOT_SIZE=8192 ; # size of the ia64 boot disk 44 WRITE_BOOT_FLOPPIES="yes" ; # do you want to be propted to write floppy images 45 PROMPT_WRITE_BOOT_FLOPPIES="yes" 37 MINDI_CONFIG_DIST="$MINDI_CONF/mindi.conf.dist" 38 if [ ! -f $MINDI_CONFIG_CONF ]; then 39 echo "Unable to find $MINDI_CONFIG_CONF. Please reinstall mindi" 40 MindiExit -1 41 fi 42 . $MINDI_CONFIG_DIST 43 44 MINDI_CONFIG="$MINDI_CONF/mindi.conf" 45 if [ ! -f $MINDI_CONFIG ]; then 46 echo "No $MINDI_CONFIG file found using sensible values" 47 else 48 echo "Using $MINDI_CONFIG as additional config file" 49 . $MINDI_CONFIG 50 fi 51 52 # 53 # Manages defaults coming from conf files 54 # 55 EXTRA_SPACE=$mindi_extra_space 56 IA64_BOOT_SIZE=$mindi_ia64_boot_size 57 DEPLIST_DIR="$mindi_deplist_dir" 58 # TBC 59 WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy" 60 # TBC 61 WRITE_MINDI_CD="$mindi_write_cd" 62 # TBC 63 CACHE_LOC="$mindi_images_dir" 64 FORCE_DUAL_FLOPPIES="$mindi_dual_floppies" 65 TMPDIR="$mindi_tmp_dir" 66 FDDEVICE="$mindi_fd_device" 67 ADDITIONAL_BOOT_PARAMS="$mindi_boot_params" 68 MY_FSTAB="$mindi_etc_fstab" 69 LOGFILE="$mindi_log_file" 70 INTERACTIVE="$mindi_interactive" 71 72 if [ $INTERACTIVE == "yes" ]; then 46 73 # do you want to be prompted to write 47 74 # floppy images out to floppy disks? 48 75 # if 'no', images will not be written to floppies 49 50 PROMPT_MAKE_CD_IMAGE="yes" 76 PROMPT_WRITE_BOOT_FLOPPIES="yes" 77 51 78 # Ask if you want to make a CD Image to be written? 52 79 # if this is set to 'no', then the image will be created automatically 53 54 USE_OWN_KERNEL="yes" 80 PROMPT_MAKE_CD_IMAGE="yes" 81 55 82 # If set to "no", you will be prompted for whether or not 56 83 # you want to use your own kernel, or the supplied default. 57 84 # If "yes" mindi will automatically use your own kernel. 58 59 MY_FSTAB=/etc/fstab 85 USE_OWN_KERNEL="no" 86 else 87 PROMPT_WRITE_BOOT_FLOPPIES="no" 88 PROMPT_MAKE_CD_IMAGE="no" 89 USE_OWN_KERNEL="yes" 90 fi 91 60 92 FLOPPY_MODS="ide-floppy floppy" 61 93 TAPE_MODS="ht st osst ide-tape ide_tape" 62 94 SCSI_MODS="3w-xxxx 53c7,8xx a100u2w a320raid aacraid advansys aha152x aha1542 aha1740 aic79xx aic79xx_mod aic7xxx aic7xxx_mod aic7xxx_old AM53C974 atp870u BusLogic cciss cpqfc dmx3191d dpt_i2o dtc eata eata_dma eata_pio fdomain gdth g_NCR5380 i2o_block i2o_core ide-scsi ieee1394 imm in2000 initio ips iscsi isp megaraid mptbase mptscsih NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qlogicfas qlogicfc qlogicisp raw1394 scsi_debug scsi_mod sd_mod seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs" 63 64 # ide-probe-mod65 95 IDE_MODS="ide ide-generic ide-detect ide-mod ide-disk ide-cd ide_cd ide-cs ide-core ide_core libata edd paride ata_piix libata via82cxxx generic nvidia ahci" 66 96 PCMCIA_MODS="pcmcia_core ds yenta_socket" … … 68 98 CDROM_MODS="$TAPE_MODS $FLOPPY_MODS $IDE_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_cp437 sg sr_mod zlib_inflate $USB_MODS $PCMCIA_MODS" 69 99 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 100 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 70 101 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 lvm-mod dm-mod dm-snapshot dm-zero dm-mirror jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache" 71 102 72 LOGFILE=/var/log/mindi.log 73 FDDEVICE=/dev/fd0 ; # 1.44MB floppy #0 74 CACHE_LOC=/var/cache/mindi 75 FORCE_DUAL_FLOPPIES=no 76 BOOT_MEDIA_MESSAGE="\ 77 To format and restore all files automatically, type 'nuke' <enter>.\n\ 78 To restore some/all files interactively, type 'interactive' <enter>.\n\ 79 To compare the archives with your filesystem, type 'compare' <enter>.\n\ 80 To boot to a command-line prompt (expert mode), type 'expert' <enter>.\n\ 81 You may add one or more of the following parameters as well:-\n\n\ 82 donteject - mondorestore will not eject the CD; this is useful if, for\n\ 83 instance, your PC's case has a concealed CD-ROM drive\n\ 84 noresize - your mountlist will not be adjusted to use your unallocated\n\ 85 hard disk space\n\ 86 textonly - do not call any Newt library routines; this is unattractive\n\ 87 but valuable if you find your Newt library has bugs in it\n\n\ 88 e.g. Type 'nuke donteject textonly' if you have an unstable Newt library and \n\ 89 a PC whose CD-ROM drive tray would be damaged if it unexpectedly ejected.\n\ 90 " 103 BOOT_MEDIA_MESSAGE="$mindi_boot_msg" 91 104 FDISK=$MINDI_SBIN/parted2fdisk 92 105 … … 1486 1499 1487 1500 1488 1489 1501 OfferToCopyImagesToDisks() { 1490 1502 local imagesdir i imagename dev count boot_dev data_dev … … 2659 2671 2660 2672 2673 if [ "$1" = "-printvar" ] ; then 2674 shift 2675 if [ _"$1" != _"" ] ; then 2676 set | egrep "^$1" | cut -d= -f2 2677 fi 2678 exit 0 2679 fi 2680 2661 2681 > $LOGFILE 2662 2682 echo "mindi v$MINDI_VERSION" >> $LOGFILE … … 2978 2998 [ "$YOUR_KERNEL_SUCKS" ] && [ ! "$FAILSAFE_KVER" ] && Die "Please install mindi-kernel package. You need it.\nGo to http://www.mondorescue.org and download it, then install it." 2979 2999 2980 rm -f /var/cache/mindi/{*img,*gz,*iso}3000 rm -f $CACHE_LOC/{*img,*gz,*iso} 2981 3001 2982 3002 PrepareDataDiskImages $CACHE_LOC … … 3021 3041 [ ! -e "$boot_dev" ] && mknod $boot_dev b 2 60 3022 3042 [ ! -e "$boot_dev" ] && boot_dev=/dev/fd0H1722 3023 [ ! -e "$boot_dev" ] && Die " Oh Lord, will you PLEASE tell the vendor to create the 1.72MB devices in /dev?"3043 [ ! -e "$boot_dev" ] && Die "Will you PLEASE tell your distribution maker to create the 1.72MB devices in /dev?" 3024 3044 if [ "$PROMPT_WRITE_BOOT_FLOPPIES" = "yes" ]; then 3025 3045 OfferToCopyImagesToDisks $CACHE_LOC $boot_dev $FDDEVICE … … 3028 3048 LogIt "Finished." 3029 3049 elif [ "$TAPEDEV" ] ; then 3030 mkdir -p /var/cache/mindi 3031 rm -f /var/cache/mindi/{*img,*gz,*iso} 3050 rm -f $CACHE_LOC/{*img,*gz,*iso} 3032 3051 OfferToMakeBootableISO $CACHE_LOC 3033 3052 if [ -e "$CACHE_LOC/all.tar.gz" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.