Changeset 449 in MondoRescue
- Timestamp:
- Mar 20, 2006, 11:41:31 PM (19 years ago)
- Location:
- branches/stable
- Files:
-
- 1 added
- 3 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/distributions/conf/mindi.conf
r447 r449 1 # M ondorescueconfiguration file1 # Mindi configuration file 2 2 # 3 3 # $Id$ 4 4 # 5 5 # We tried to give sensible defaults in this file. 6 # Changing some values may render m ondorescueinstable6 # Changing some values may render mindi instable 7 7 # or cause failures. Use with care. 8 9 10 #11 # ISO image CLI command to use12 # do not specify the -o, -c or the -b options, nor the directory to backup13 # as they will be generated by mondoarchive14 #15 iso_creation_cmd="/usr/bin/mkisofs"16 #iso_creation_cmd="/usr/bin/growisofs"17 18 #19 # ISO image common creation options (for mkisofs and growisofs)20 # do not specify the -o, -c or the -b options, nor the directory to backup21 #22 iso_creation_options="-J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_"23 #iso_creation_options="-use-the-force-luke -v -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_"24 25 #26 # ISO Burning CLI command to use27 #28 iso_burning_cmd="/usr/bin/cdrecord"29 30 #31 # ISO Burning CLI command options32 iso_burning_options="-eject dev=%s speed=%d fs=24m"33 34 #35 # ISO Burning Speed36 #37 iso_burning_speed=138 39 #40 # Default size of media41 #42 # Use 4380 for DVDs, 650 or 700 for CDs43 #44 media_size=438045 46 #47 # Default device of media48 #49 # Use /dev/hdc, /dev/sr0, /dev/st0, ATAPI:0,0,0, ...50 #51 media_device="/dev/hdc"52 53 #54 # Is the CD tray manual ? (yes|no)55 #56 manual_tray=no57 8 58 9 # 59 10 # Default log level 60 11 # 61 log_level=412 mindi_log_level=4 62 13 63 14 # 64 # prefix for ISO names15 # Extra space for Ram disk 65 16 # 66 prefix=mondorescue 17 mindi_extra_space=24576 67 18 68 19 # 69 20 # Size of the boot image for ia64 70 21 # 71 ia64_boot_size=819222 mindi_ia64_boot_size=8192 72 23 73 24 # 74 # External tape blocksize25 # deplist directory 75 26 # 76 external_tape_blocksize=131072 77 78 # 79 # Internal tape blocksize 80 # 81 internal_tape_blocksize=8192 82 83 # 84 # Size of the slices for biggiefiles 85 # 86 slice_size=4096 87 88 # 89 # deplist file used 90 # 91 deplist_file="/etc/mondorescue/deplist.txt" 27 mindi_deplist_dir="/etc/mindi/deplist.d" 92 28 93 29 # 94 30 # Write boot floppies (yes|no) ? 95 31 # 96 write_boot_floppy=no 32 mindi_write_boot_floppy="no" 33 34 # 35 # Force dual floppies ? 36 # 37 mindi_dual_floppies="no" 97 38 98 39 # 99 40 # Write mindi CD (yes|no) ? 100 41 # 101 write_mindi_cd=no 42 mindi_write_mindi_cd="no" 102 43 103 44 # 104 45 # Kernel to use (NATIVE|FAILSAFE|PATH TO THE KERNEL) 105 46 # 106 m ondorescue_kernel="NATIVE"47 mindi_kernel="NATIVE" 107 48 #mondorescue_kernel="/boot/vmlinuz.special" 108 49 … … 111 52 # (white space separated list of modules) 112 53 # 113 additional_modules=""54 mindi_additional_modules="" 114 55 115 56 # … … 117 58 # (GRUB|ELILO|LILO|RAW|NATIVE) 118 59 # 119 boot_loader=NATIVE 60 mindi_boot_loader="NATIVE" 120 61 121 62 # 122 # Differential backup or full (yes|no)63 # Images creation dir 123 64 # 124 differential=no 125 126 # 127 # Default compression tool 128 # 129 compression_tool="/usr/bin/bzip2" 130 131 # 132 # Default compression level 133 # 134 compression_level=3 135 136 # 137 # Paths to exclude from backup 138 # (white space separated list of paths) 139 # 140 exclude_files="" 141 142 # 143 # Activate semi-graphical mode by default (yes|no) 144 # 145 text_mode=no 146 147 # 148 # Activate automatic restore (Use with caution) (yes|no) 149 # 150 automatic_restore=no 151 152 # 153 # Scratch directory 154 # 155 scratch_dir="" 156 #scratch_dir="/tmp/mondo/scratch" 65 mindi_images_dir="/var/cache/mindi" 157 66 158 67 # 159 68 # Temporary directory 160 69 # 161 tmp_dir="" 162 #tmp_dir="/tmp/mondo/tmp" 70 mindi_tmp_dir="/tmp" 163 71 164 72 # 165 # Images creation dir73 # Floppy Disk Device 166 74 # 167 images_dir="/root/images/mindi"75 mindi_fd_device="/dev/fd0" -
branches/stable/mindi/distributions/rpm/mindi.spec
r424 r449 60 60 %files 61 61 %defattr(644,root,root,755) 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt %{_sysconfdir}/mindi/mindi.conf 63 63 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 64 64 %{_mandir}/man8/* 65 65 %{_libdir}/mindi 66 %attr(755,root,root) %{_sysconfdir}/mindi/mindi.conf 66 67 %attr(755,root,root) %{_sbindir}/* 67 68 %attr(755,root,root) %{_libdir}/mindi/aux-tools/sbin/* -
branches/stable/mindi/install.sh
r315 r449 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 49 49 50 cp -af rootfs aux-tools $locallib/mindi … … 51 52 chmod 755 $locallib/mindi/rootfs/sbin/* 52 53 chmod 755 $locallib/mindi/aux-tools/sbin/* 54 chmod 755 $conf/mindi.conf 53 55 54 56 if [ "$RPMBUILDMINDI" = "true" ]; then -
branches/stable/mindi/mindi
r447 r449 36 36 MINDI_SBIN=${MINDI_PREFIX}/sbin 37 37 38 39 38 if [ "$ARCH" = "x86_64" ] ; then 40 39 MINDI_LIB=${MINDI_PREFIX}/lib64/mindi … … 43 42 fi 44 43 45 EXTRA_SPACE=24576 ; # increase if you run out of ramdisk space 46 IA64_BOOT_SIZE=8192 ; # size of the ia64 boot disk 47 TMP_ROOT=/tmp 48 WRITE_BOOT_FLOPPIES="yes" ; # do you want to be propted to write floppy images 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 . $MINDI_CONFIG 49 fi 50 51 # 52 # Manages defaults coming from conf files 53 # 54 if [ "$mindi_extra_space" == "" ]; then 55 EXTRA_SPACE=24576 56 else 57 EXTRA_SPACE=$mindi_extra_space 58 fi 59 if [ "$mindi_ia64_boot_size" == "" ]; then 60 IA64_BOOT_SIZE=8192 61 else 62 IA64_BOOT_SIZE=$mindi_ia64_boot_size 63 fi 64 65 if [ "$mindi_deplist_dir" == "" ]; then 66 DEPLIST_DIR="/etc/mindi/deplist.d" 67 else 68 DEPLIST_DIR="$mindi_deplist_dir" 69 fi 70 if [ "$mindi_write_boot_floppy" == "" ]; then 71 WRITE_BOOT_FLOPPIES="yes" 72 else 73 WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy" 74 fi 75 if [ "$mindi_write_mindi_cd" == "" ]; then 76 WRITE_BOOT_FLOPPIES="yes" 77 else 78 WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy" 79 fi 80 if [ "$mindi_images_dir" == "" ]; then 81 CACHE_LOC="/var/cache/mindi" 82 else 83 CACHE_LOC="$mindi_images_dir" 84 fi 85 if [ "$mindi_dual_floppies" == "" ]; then 86 FORCE_DUAL_FLOPPIES="/var/cache/mindi" 87 else 88 FORCE_DUAL_FLOPPIES="$mindi_dual_floppies" 89 fi 90 if [ "$mindi_tmp_dir" == "" ]; then 91 TMP_ROOT="/tmp" 92 else 93 TMP_ROOT="$mindi_tmp_dir" 94 fi 95 if [ "$mindi_fd_device" == "" ]; then 96 FDDEVICE="/dev/fd0" 97 else 98 FDDEVICE="$mindi_fd_device" 99 fi 100 101 # Other parameters 102 # Useless ?? 49 103 PROMPT_WRITE_BOOT_FLOPPIES="yes" 50 104 # do you want to be prompted to write … … 60 114 # you want to use your own kernel, or the supplied default. 61 115 # If "yes" mindi will automatically use your own kernel. 62 MINDI_CONFIG="$MINDI_CONF/mindi.conf" 63 if [ -f $MINDI_CONFIG ]; then 64 . $MINDI_CONFIG 65 fi 116 66 117 MY_FSTAB=/etc/fstab 67 118 FLOPPY_MODS="ide-floppy floppy" … … 77 128 EXTRA_MODS="$CDROM_MODS vfat fat loop linear raid0 raid1 raid5 lvm-mod dm-mod jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd" 78 129 LOGFILE=/var/log/mindi.log 79 FDDEVICE=/dev/fd0 ; # 1.44MB floppy #080 CACHE_LOC=/var/cache/mondo-archive81 FORCE_DUAL_FLOPPIES=no82 130 83 131 BOOT_MEDIA_MESSAGE="\ … … 490 538 my_partitions=`mount | fgrep $$ | cut -f1 -d' '` 491 539 [ "$my_partitions" != "" ] && umount $my_partitions 492 [ "$TMP_ROOT" != "/tmp" ] && rm -Rf $TMP_ROOT 540 # BCO : Too Dangerous !!! 541 #[ "$TMP_ROOT" != "/tmp" ] && rm -Rf $TMP_ROOT 493 542 cd /tmp 494 543 mkdir -p mindi.err
Note:
See TracChangeset
for help on using the changeset viewer.