Changeset 424

Show
Ignore:
Timestamp:
02/21/06 22:48:23 (4 years ago)
Author:
bcornec
Message:

mondo now uses /usr/share for the restore-scripts (/usr/lib should contains binary only) - this also makes rpmlint happier

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/stable/mindi/distributions/rpm/mindi.spec

    r423 r424  
    7070 
    7171%changelog 
    72 * Fri Feb 16 2006 Bruno Cornec <bcornec@users.berlios.de> 1.0.7 
    73 - Updated to 1.0.7 
    74 - RPMS spec are now generated instead of using '%' variables 
    75  
    76 * Fri Nov 05 2005 Bruno Cornec <bcornec@users.berlios.de> 1.05 
    77 - ia64 is now working 
    78 - use install.sh script 
    79 - use libdir for binary data 
    80  
    81 * Tue Sep 06 2005 Bruno Cornec <bcornec@users.berlios.de> 1.04_berlios 
    82 - Merge of patches mentionned on mondo ML + ia64 updates 
    83 - Fix bugs when called alone 
    84  
    85 * Tue May 03 2005 Hugo Rabson <hugorabson@msn.com> 1.04_cvs_20050503 
    86 - supports exec-shield 
    87  
    88 * Wed Aug 04 2004 Hugo Rabson <hugorabson@msn.com> 1.03 
    89 - better support of SLES 8 
    90  
    91 * Mon Jun 28 2004 Hugo Rabson <hugorabson@msn.com> 1.02 
    92 - better kernel-level logging 
    93 - added ACL, xattr binaries to deplist.txt 
    94 - fixed obscure bug which occasionally stopped mindi from correctly finding 
    95   and documenting all LVM2 LVM-on-RAID volumes 
    96  
    97 * Fri Jun 25 2004 Hugo Rabson <hugorabson@msn.com> 1.01 
    98 - added ide_tape and other modules to mindi's config detection 
    99 - unmount errant ramdisk ($mtpt) if fail to create boot floppy 
    100 - better support of ISO dirs at restore-time (Conor Daly) 
    101  
    102 * Fri Jun 18 2004 Hugo Rabson <hugorabson@msn.com> 1.00 
    103 - first 1.0x release 
    104 - busybox now static 
    105 - trap Ctrl-Alt-Del; trigger soft reset 
    106 - better SuSE 9.1 support 
    107 - added parted2fdisk.pl (IA64) (Bruno Cornec) 
    108 - add LVM2 support for kernel 2.6 (Takeru Komoriya) 
    109 - better detection of multiple Mindis (Martin FÃŒrstenau) 
    110 - don't complain if just a Mindi boot CD & not a platform for Mondo 
    111 - updated busybox to 1.0.0pre10 
    112 - removed uClibc 
    113 - add memtest support 
    114 - 2.6 kernel support 
    115 - removed Embleer files (Andree Leidenfrost) 
    116 - added kernel-only floppy support, to accommodate really big kernels 
    117 - updated+rebuilt busybox 
    118 - added star support 
    119 - mount /sys at boot-time 
    120 - better 64-bit and 2.6 kernel support 
    121 - better LVM, failsafe kernel support (Jim Richard) 
    122 - use LILO, not raw kernel, on 1.4MB boot floppy  
    123 - record names of unsaved modules, for future reference 
    124 - enlarged ramdisk by 8MB 
    125  
    126 * Wed Oct 22 2003 Hugo Rabson <hugorabson@msn.com> 0.95 
    127 - changed some '==' to '=' --- now more RH6-friendly 
    128 - allow absolute pathnames again in deplist 
    129 - disable multifunc cd thing 
    130 - better Gentoo support (Bill) 
    131 - better OnStream support 
    132 - better Slackware support (Laurenz) 
    133 - added partimagehack-static to deplist.txt 
    134 - recompiled Busybox - now 10k smaller; better stack-handling 
    135 - fixed boot screen typo 
    136 - added support for 'auto' fs format 
    137 - better devfs support for Mandrake users 
    138 - better Debian+LVM support (Ralph Grewe) 
    139 - updated analyze-my-lvm to handle floating-point gigabyte -L values 
    140  
    141 * Thu Jul 24 2003 Anonymous <root@rohan> 0.94 
    142 - altered rootfs's /dev entry to stop cvs from becoming confused 
    143 - tweaked MAX_COMPRESSED_SIZE 
    144 - added multi-function CD support to mindi and sbin/post-init 
    145 - re-mount root as rw just in case 
    146 - ask user to remove last data (floppy) disk if nec. (Tom Mortell) 
    147 - added support for 5th column in mountlist.txt for labels 
    148 - added symlinks.tgz 
    149 - suppress erroneous error msgs re: failsafe kernel 
    150   
    151 * Sun May 18 2003 Hugo Rabson <hugorabson@msn.com> 0.93 
    152 - added cciss.o to SCSI_MODS 
    153 - if format type is (e.g.) ext3,ext2 then use 1st entry 
    154 - re-enabled fsck* 
    155 - if cciss in use the enable it at boot-time 
    156 - added /dev/ataraid/* to boot disk via ataraid.tgz (Luc S.) 
    157 - better ISO support 
    158 - tweaked Mindi to use 10-15% fewer floppies 
    159 - added RUN_AFTER_INITIAL_BOOT_PHASE to let user specify a command 
    160   to be run by Mindi before it bootstraps to aux data disks; 
    161   e.g. 'echo engage > /proc/scsi/something' 
    162 - added RUN_AFTER_BOOT_PHASE_COMPLETE to let user specify a command 
    163   to be run by Mindi after it boots but before it runs mondorestore 
    164 - allow for Debian & other Stiefkinder that use 'none', not 'swap' 
    165   as the mountpoint of the swap partition 
    166 - removed afio dependency 
    167 - re-worked install.sh and tarball not to use tgz's 
    168 - cleared up the boot msg 
    169 - updated busybox to 0.60.5; updated uClibc to 0.9.19 
    170 - add #!/bin/sh to start of insert-all-my-modules 
    171 - fixed obscure bug in install-additional-tools 
    172 - changed grep -m to grep | head -n1 for Debian users 
    173 - moved vmlinuz, lib.tar.bz2 to mindi-kernel tarball/rpm 
    174  
    175 * Wed Apr 09 2003 Hugo Rabson <hugorabson@msn.com> 0.92 
    176 - fixed LVM/RAID bugs (Brian Borgeson) 
    177 - if bad lilo, give more verbose error before quitting 
    178 - added mt and perl to deplist.txt 
    179 - insist on gawk being present 
    180 - insmod ide-cd, cdrom, isofs, just in case 
    181 - boot-time tmpfs ramdisk is now 40m (was 34m) 
    182 - cleaned up logs 
    183 - iso mode now calls Interactive 
    184 - make SizeOfPartition() more Debian-friendly (Andree Leidenfrost) 
    185 - clean up some calls to grep, esp. partition_mountpt=... 
    186 - corrected some bashisms, to suit Debian ped- er, users 
    187 - made first line refer to bash, not sh, to make sure  
    188   the Debian people know Mindi requires bash, not hs 
    189 - changed grep -v "#" and grep -vx "#.*" to grep -vx " *#.*" 
    190 - disabled code which would have made Mindi use sfdisk instead of fdisk 
    191   if it looked as if Debian's fdisk would misbehave 
    192  
    193 * Wed Feb 12 2003 Hugo Rabson <hugorabson@msn.com> 0.91 
    194 - new devel branch 
    195 - EXTRA_SPACE=16384 
    196 - updated ResolveSoftlinks() to work better with b0rkn Gentoo devfs /dev 
    197 - patched analyze-my-lvm (Benjamin Mampaey) 
    198 - detect built-in boot.b files in lilo 
    199 - cleaned up spec file a bit, more use of macros (Jesse Keating) 
    200 - return w/err, don't abort, if Matt Nelson's RH8 system is farked 
    201 - better at finding isolinux.bin 
    202 - better at analyzing dependencies when running on broken distributions 
    203 - try harder to boot from CD, even if tape fails 
    204 - added ADDITIONAL_BOOT_PARAMS to be sent to kernel 
    205 - better resolution of relative softlinks, leading to fewer 
    206   duplicates on data disks and therefore fewer data disks 
    207 - detect Debian+devfs; use sfdisk instead of fdisk in that 
    208   eventuality, to work around yet another of Debian's warts 
    209 - removed /lib/libuuid.* from rootfs.tgz 
    210 - fixed vi 
    211 - mindi now uses gawk --traditional (making gawk behave in a functionally 
    212   identical way to awk) - PASS; great, so now Debian needs to fix its awk :) 
    213 - removed / from list of dirs accessed when trying to resolve deplist entry 
    214 - spinner bugfix; handle odd LABELs properly (Tom Mortell) 
    215 - fixed LVM/RAID bugs (Brian Borgeson) 
    216  
    217 * Mon Dec 02 2002 Hugo Rabson <hugo@firstlinux.net> 0.72_20021202 
    218 - misc code clean-up 
    219 - save boot device's boot sector 
    220 - detect and beware Compaq diagnostic partitions 
    221 - better handling of devfs V non-devfs kernels and boot devs 
    222 - trimmed busybox 0.60.3 binary on boot disk 
    223 - mindi now resides in /usr/local/bin 
    224 - removed lilo from dependencies 
    225 - more Gentoo-friendly 
    226  
    227 * Sun Nov 18 2002 Hugo Rabson <hugo@firstlinux.net> 0.71 
    228 - if your kernel's builddate doesn't match any of the kernels in  
    229   your /boot directory then fudge the issue & find the closest  
    230   match (*grumble* Debian) 
    231 - scan tape & CD at start, to force inclusion of modules on boot device 
    232 - double EXTRA_SPACE if >7 disks 
    233 - slimmer, more lithesome logfile 
    234 - now accepts --findkernel 
    235 - line 1982 - dd count=24000 should be count=$ramdisksize (Andras Korn) 
    236 - better handling of non-Linux partitions on DevFS-enabled kernels 
    237 - misc clean-ups 
    238 - fixed Debian/ramdisksize/bloat problem (Johannes Franken) 
    239 - fixed 2.4.20/fdisk eccentricity (Alistair Stevens) 
    240 - updated kernel to 2.4.18-mdk6 
    241 - generate mountlist in dev-abetical order ;) 
    242 - fixed minor bug in .spec file 
    243 - better at finding /boot/boot.b if your distro breaks the de facto standard 
    244 - fixed minor bug in MakeMountlist 
    245 - fixed install.sh 
    246 - cleaned up deplist.txt 
    247 - added rudimentary -v / --version flag 
    248 - line 1180 or so --- duplicate mindi.iso entries --- fixed 
    249 - added /bin/[ - a softlink to /bin/sh 
    250 - ListAllPartitions() - sanity fix (KP) 
    251 - fixed .spec bug 
    252 - better feedback 
    253 - added Markus's RAID patch 
    254 - ListAllPartitions() - include /mnt/win* (Hugo) 
    255  
    256 * Sun Sep 08 2002 Hugo Rabson <hugo@firstlinux.net> 0.70 
    257 - better logging by dependency-calculating code 
    258 - better handling of dependencies, specifically softlinks 
    259 - if called by mondo then use mondo's temp dir as our temp dir too 
    260 - changed gawk to $AWK in a few places, to allow for Debian 
    261 - added host* config files to deplist 
    262 - added tftp, ifconfig to busybox 
    263 - added RPC support to uClibc 
    264 - cleaned up creation of Mondo-Mindi configuration file 
    265 - fixed bug in TryToFindKernelPath which stopped it from handling 
    266   multiple, same-version kernels gracefully 
    267 - cleaned up deplist.txt 
    268 - receive 'DIFFERENTIAL' variable from Mondo 
    269 - better Debian compatibility, esp. w/detection of ver# (Hector Alvarez) 
    270 - better devfs support; call fgrep in places instead of grep (Andrew Korn) 
    271 - fixed analyze-my-lvm (Ralph Gruwe) 
    272 - moved 50K of stuff from rootfs.tgz to aux-tools.tgz 
    273 - added x11-tools.tgz option 
    274 - updated /dev/console and /dev/tty0 (Paul Stevens) 
    275 - cleaned up /mnt/groovy-stuff V /tmp/tmpfs code 
    276 - catch sigint, sighup, etc. 
    277 - fixed LILO-related message.txt mistake 
    278 - .spec file clean-up; automation; config file (Carl Wilhem Soderstrom) 
    279 - better devfs support (Andrew Korn) 
    280  
    281 * Sun Jul 14 2002 Hugo Rabson <hugo@firstlinux.net> 0.64-1 
    282 - fixed RH7.3 readonly bug 
    283 - improved nfs config file creation 
    284 - search more locations for isolinux.bin 
    285 - added isonuke option 
    286 - faster data disk creation 
    287 - better DevFS support (Hector Alvarez, DuckX) 
    288 - nfs-related fix (Hans Lie) 
    289 - abort if vfat filesystem present but mkfs.vfat missing 
    290 - removed softlink to pico 
    291 - allow Mondo to say no compression will be used 
    292 - added [ to ramdisk 
    293 - tar data disks with -b [block size] of 32k 
    294 - don't autoboot to 'RESTORE' screen - it's scary! 
    295 - let user choose lilo or syslinux as boot loader 
    296 - added syslinux support 
    297 - cleaned up message screens 
    298  
  • branches/stable/mindi/mindi

    r423 r424  
    628628    [ "$MINDI_CONF" = "YYY" ] && Die "Mindi has not been installed correctly." 
    629629    echo "MINDI_CONF = $MINDI_CONF" >> $LOGFILE 
    630     echo "MONDO_LIB = $MONDO_LIB" >> $LOGFILE 
     630    echo "MONDO_SHARE = $MONDO_SHARE" >> $LOGFILE 
    631631    mkdir -p $CACHE_LOC 
    632632} 
     
    16131613        cp -f $TMP_ROOT/iso/isolinux/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,message.txt} $MONDO_ROOT || Die "Cannot copy core files to ramdisk for boot disk. Did you run out of disk space?" 
    16141614    fi 
    1615     [ "$MONDO_LIB" ] && cp -f $MONDO_LIB/autorun .    
     1615    [ "$MONDO_SHARE" ] && cp -f $MONDO_SHARE/autorun .    
    16161616    if [ -d "/home/MondoCD" ] ; then 
    16171617    cp -pRdu /home/MondoCD/* . 
     
    21962196    tar -zxf $MINDI_LIB/x11-tools.tgz 2>> $LOGFILE || LogIt "Warning - error occurred while unzipping x11-tools.tgz\n" 
    21972197    fi 
    2198     if [ -e "$MONDO_LIB/restore-scripts" ] ; then 
    2199         cp -Rdf $MONDO_LIB/restore-scripts/* . 2>> $LOGFILE 
    2200         [ "$?" -ne "0" ] && [ "`DidMondoCallMe`" ] && Die "Cannot find/install $MONDO_LIB/restore-scripts" 
     2198    if [ -e "$MONDO_SHARE/restore-scripts" ] ; then 
     2199        cp -Rdf $MONDO_SHARE/restore-scripts/* . 2>> $LOGFILE 
     2200        [ "$?" -ne "0" ] && [ "`DidMondoCallMe`" ] && Die "Cannot find/install $MONDO_SHARE/restore-scripts" 
    22012201    fi 
    22022202    [ -d "/lib/dev-state" ] && cp --parents -pRdf /lib/dev-state . 
  • branches/stable/mondo/distributions/rpm/mondo.spec

    r423 r424  
    8383 
    8484%attr(755,root,root) %{_sbindir}/* 
    85 %attr(755,root,root) %{_libdir}/%{name}/restore-scripts/%{name}/* 
    86 %attr(755,root,root) %{_libdir}/%{name}/autorun 
    87 %attr(755,root,root) %{_libdir}/%{name}/post-nuke.sample/usr/bin/post-nuke 
    88 %{_libdir}/* 
     85%attr(755,root,root) %{_datadir}/%{name}/restore-scripts/%{name}/* 
     86%attr(755,root,root) %{_datadir}/%{name}/autorun 
     87%attr(755,root,root) %{_datadir}/%{name}/post-nuke.sample/usr/bin/post-nuke 
     88%{_datadir}/%{name}/* 
    8989%{_mandir}/man8/* 
    9090 
    9191%changelog 
    92 * Fri Feb 17 2006 Bruno Cornec <bcornec@users.berlios.de> 2.0.7 
    93 - Updated to 2.0.7 
    94 - RPM sepc files are now generated 
    95  
    96 * Fri Nov 05 2005 Bruno Cornec <bcornec@users.berlios.de> 1.05 
    97 - ia64 is now working 
    98 - -p option related bug fixed 
    99 - use libdir instead of datadir 
    100  
    101 * Tue Sep 06 2005 Bruno Cornec <bcornec@users.berlios.de> 2.04_berlios 
    102 - Merge of patches mentionned on mondo ML + ia64 updates 
    103 - Add -p option 
    104  
    105 * Tue May 03 2005 Hugo Rabson <hugorabson@msn.com> 2.04_cvs_20050503 
    106 - made mondo more clever about finding its home. Avoids mondo considering 
    107   directories like '/usr/share/doc/momdo' as its home. 
    108  
    109 * Wed Aug 04 2004 Hugo Rabson <hugorabson@msn.com> 2.03 
    110 - test sanity of user-specified tempdir 
    111 - better SLES8 support 
    112  
    113 * Mon Jun 28 2004 Hugo Rabson <hugorabson@msn.com> 2.02 
    114 - instead of using 'dd' to erase partition table, delete existing 
    115   partitions w/ the same call to fdisk that is used to create the 
    116   new partitions; this should avoids locking up the partition table 
    117 - set bootable partition in the above same call to fdisk, for 
    118   the same reason (avoids locking up the partition table) 
    119 - better software RAID support 
    120 - mount ext3 partitions as ext2 when restoring - better for Debian 
    121 - better star, ACL support 
    122 - added ACL, xattr support for afio users 
    123  
    124 * Fri Jun 26 2004 Hugo Rabson <hugorabson@msn.com> 2.01 
    125 - fixed cvs for SuSE systems 
    126 - fixed NTFS backup/restore bug relating to partimagehack 
    127   log file overflow and NTFS v non-NTFS differentiation 
    128 - more reliable extraction of config info from CDs, floppies 
    129 - better support of ISO dirs at restore-time (Conor Daly) 
    130 - fixed spec file for SuSE users 
    131 - added ldconfig to install section 
    132  
    133 * Fri Jun 19 2004 Hugo Rabson <hugorabson@msn.com> 2.00 
    134 - first 2.0 release 
    135 - updated grub-install.patched to support SuSE and Red Hat  
    136 - call 'mt' to set block size to 32K before opening in/out tape 
    137 - updated mondo-prep.c to create each disk's partitions all at once 
    138   (one call per drive) instead of one call to fdisk per partition 
    139 - when extracting cfg file and mountlist from all.tar.gz (tape copy), 
    140   use block size of INTERNAL_TAPE_BLK_SIZE, not TAPE_BLOCK_SIZE 
    141 - added star and rudimentary SELinux support 
    142 - fixed lots of bugs 
    143 - all logging now goes to /var/log/mondo-archive.log, with symlink 
    144   to /tmp/mondo-restore.log for restore-time log-tracking 
    145 - added grub-install.patched 
    146 - removed embleer & other binaries 
    147 - added '-b' to specify block size 
    148 - added '-R' for star support 
    149  
    150 * Thu Mar 25 2004 Bruno Cornec <Bruno.Cornec@hp.com> 1.7_cvs-20040325 
    151 - ia64 fixes 
    152  
    153 * Fri Nov 07 2003 Joshua Oreman <oremanj@get-linux.org> 1.7_cvs-20031107 
    154 - fixed symbolic links for libraries 
    155 - added support for boot/root multi floppies 
    156  
    157 - added kdelibs as xmondo dependency 
    158 - added xmondo pixmap installation 
    159 - better find_cdrom_device(), to cope w/ multiple CD writers 
    160 - fixed -m and -Vc flags 
    161 - fixed NTFS support! 
    162 - bootable CD uses native, not El Torito, support now 
    163 - removed mondo-makefilelist 
    164 - added 2.6 kernel support 
    165 - if 2.6 kernel, insist that the user specify CD device 
    166 - drop Embleer; insist on ms-sys and parted if Windows partition 
    167  
    168 * Wed Nov 05 2003 Jesse Keating <jkeating@j2solutions.net> 1.7_cvs-20031105.1 
    169 - added -devel package 
    170  
    171 * Tue Nov 04 2003 Jesse Keating <jkeating@j2solutions.net> 1.7_cvs-20031104.1 
    172 - made xmondo a second package 
    173 - added ability to specify --without xmondo at build time 
    174  
    175 * Sun Nov 02 2003 Jesse Keating <jkeating@j2solutions.net> 1.7_cvs-20031102.1 
    176 - Clean up, added spanish translation 
    177 - Set prefix to be /usr 
    178 - added/fixed Requires 
    179 - remove CVS directories prior to building 
    180  
    181 * Thu Oct 23 2003 Hugo Rabson <hugorabson@msn.com> 1.75_cvs_20031023 
    182 - nothing yet 
    183  
    184 * Wed Oct 22 2003 Hugo Rabson <hugorabson@msn.com> 1.75 
    185 - fixed chmod/chown bug (Jens Richter) 
    186 - ask user to confirm NFS mountpoint in Interactive Mode 
    187 - rewritten format_everything() to make sure LVMs, RAIDs and 
    188   regular partitions are prepped in the correct order 
    189 - better magicdev support 
    190 - rewritten external binary caller subroutine 
    191 - DVD support added 
    192 - better backup-time control gui; offer to exclude nfs if appl. 
    193 - fixed multi-tape support 
    194 - re-implemented -D and -J 
    195 - fixed bug in extract_config_file_from_ramdisk() which 
    196   affected tape+floppy users 
    197 - updated is_incoming_block_valid() to make it 
    198   return end-of-tape if >300 flotsam blocks 
    199 - unmount CD-ROM before burning (necessary for RH8/9) 
    200 - fixed some stray assert()'s 
    201 - fixed bug in grub-MR (Christian) 
    202 - make user remove floppy/CD before restoring interactively from tape 
    203 - fixed bug in am_I_in_disaster_recovery_mode() 
    204 - added code to nuke_mode() to make sure NFS 
    205   (backup) share is mounted in Nuke Mode 
    206 - improved tape device detection code 
    207 - better GRUB support 
    208 - better logging of changed bigfiles at compare-time 
    209 - better NTFS support, thanks to partimagehack-static 
    210 - better logging 
    211 - rewrote tape-handling code, breaking compatibility w/ previous versions 
    212 - fixed ISO/CD biggiefile verification bug in mondoarchive 
    213 - fixed bug which stopped boot/compare-time changelist from popping up 
    214 - replaced mondo-makefilelist with C code - faster, cleaner 
    215 - tweaked GUI - better feedback 
    216  
    217 * Wed May 28 2003 Anonymous <root@rohan> 1.74 
    218 - misc fixes (Michael Hanscho's friend) 
    219 - added rudimentary support for SME 
    220 - added better label support 
    221 - fixed biggietime atime/ctime restoration bug 73 
    222 - fixed 'default boot loader' detection bug (Joshua Oreman) 
    223 - use single-threaded make_afioballs_and_images() if FreeBSD 
    224 - fixed mondoarchive -Vi multi-CD verify bug (Tom Mortell) 
    225 - superior get_phys_size_of_drive() (Joshua Oreman) 
    226 - fixed RAID-related bug in where_is_root_mounted() 
    227 - ISO tweaks 
    228 - fixed silly bug in load_filelist() which stopped 
    229   funny German filenames from being handled properly 
    230 - fixed various calls to popup_and_get_string() 
    231 - fixed spec file 
    232 - reject -E / 
    233 - added partimagehack to the mix 
    234  
    235 * Tue May 20 2003 Anonymous <root@rohan> 1.73 
    236 - mark devices as bootable _after_ unmounting them 
    237 - resolve boot device (-f) if softlink 
    238 - post_param_configuration() --- store iso-dev and isodir 
    239 - added post-nuke-sample.tgz to package 
    240 - Nuke Mode now checks mountlist against hardware; offer user 
    241   opportunity to edit mountlist if insane; if user declines, abort 
    242 - added lots of assert()'s and other checks 
    243 - ran code thru Valgrind to catch & fix some memory leaks 
    244 - made mondo-restore.c smaller by moving some subroutines to 
    245   common/libmondo-raid.c and mondorestore/mondo-rstr-compare.c 
    246 - added '-Q' to let user test mondoarchive's ability to find 
    247   their boot loader and type 
    248 - improved which_boot_loader() 
    249 - when burning or comparing to a CD, defeat autorun if it is 
    250   running, to avoid confusing mondoarchive and the user 
    251 - if original backup media no longer available at boot-time 
    252   then offer user chance to choose another media source 
    253 - when booting, type 'nuke noresize' to nuke w/o resizing 
    254   mountlist to fill your drives 
    255 - add 'textonly' when booting, to avoid using Newt gui 
    256 - run nice(20) to prioritize mondoarchive at start 
    257 - don't pause and wait for next blank CD at backup-time 
    258   unless necessary (e.g. previous CD has not been removed) 
    259 - get_phys_size_of_drive() --- better support of older drives 
    260 - don't eject if "donteject" is in kernel's command line 
    261 - cleaned up segfault-handling 
    262 - added Conor's strip_path() to improve file list display 
    263 - added Herman Kuster's multi-level bkp patch 
    264 - better boot-time screen/message 
    265 - added Joshua Oreman's FreeBSD patches x3 
    266 - fixed interactive/textonly support 
    267 - fixed support for subdir-within-NFS-mount 
    268 - fixed "Can't backup if ramdisk not mounted" bug 
    269 - try to work around eccentricities of multi-CD drive PCs 
    270 - misc clean-ups (Steve Hindle) 
    271  
    272 * Tue Apr 08 2003 Hugo Rabson <hugorabson@msn.com> 1.72 
    273 - LVM/RAID bugs fixed (Brian Borgeson) 
    274 - major clean-up of code (Stan Benoit) 
    275 - make-me-bootable fix (Juraj Ziegler) 
    276 - fixed problem w/ multi-ISO verify cycle (Tom Mortell) 
    277 - removed duplicate entry from makefile 
    278 - if root is /dev/root then assume not a ramdisk 
    279 - reject relative paths if -d flag (Alessandro Polverini) 
    280 - fixed potentially infinite loop in log_to_screen (Tom Mortell) 
    281 - add '/' to custom filelist as workaround for obscure bug 
    282 - ask user speed of CDRW if writing to CD 
    283 - find_cdrom_device() --- if nonexistent/not found then 
    284   make sure to return '' as dev str and 1 as res 
    285 - tweaked restore scripts tgz 
    286 - cleaned up find_cdrom_device() 
    287 - if user creates /usr/share/mondo/payload.tgz then untar 
    288   payload to CD at backup-time 
    289 - fixed insist_on_this_cd_number() 
    290 - fixed am_i_in_disaster_recovery_mode() 
    291 - misc clean-up (Tom Mortell) 
    292 - made code more legible 
    293 - fixed post-nuke support 
    294 - added -e support 
    295 - fixed nfs support 
    296 - fixed iso support 
    297 - at restore-time, only sort mountlist internally,  
    298   in mount_all_devices() and unmount_all_devices()  
    299 - fixed cosmetic bug in label-partitions-as-necessary 
    300 - updated documentation 
    301 - fixed fstab-hacking scripts 
    302  
    303 * Wed Feb 12 2003 Hugo Rabson <hugorabson@msn.com> 1.71 
    304 - log newt, slang, ncurses info 
    305 - updated man page 
    306 - handle %% chars in issue.net properly (Heiko Schlittermann) 
    307 - fixed serious NFS restore bug 
    308 - cleaned up spec file; it should cause fewer problems now (Jesse Keating) 
    309 - changed various strcpy() calls to strncpy() calls 
    310 - added mondo-makefilelist to makefile (Mikael Hultgren) 
    311 - mount_cdrom() better at handling multiple CD drives 
    312 - exclude /media/cdrom,cdrecorder,floppy 
    313 - sensibly_set_tmpdir_and_scratchdir() --- exclude smb and smbfs 
    314 - better logging by eval_call_to_make_ISO() 
    315 - accept -J <fname> to let user provide their own fs catalog 
    316   instead of -I <paths> to backup 
    317 - if dir excluded with -E or included with -I and dir is actually 
    318   a softlink then exclude/include the dir pointed to, as well 
    319 - better location for manpage 
    320 - adjusted block size of tarball at start of tape, to help 
    321   users w/ broken tape driver firmware 
    322 - sort -u fstab after modifying it 
    323 - if backup type is nfs then don't estimate noof media 
    324 - fixed Makefile (Mikael Hultgren) 
    325 - updated manpage 
    326  
    327 * Mon Dec 07 2002 Hugo Rabson <hugo@firstlinux.net> 1.70 
    328 - new devel branch opened 
    329  
    330 * Mon Dec 02 2002 Hugo Rabson <hugo@firstlinux.net> 1.52 
    331 - fixed bug in multithreading 
    332 - use new grub-MR instead of grub-install 
    333 - wipe only the partition table (not the MBR) when partitioning drives 
    334 - ignore lilo.conf.anaconda when looking for lilo.conf file 
    335 - accepts '-l RAW' to backup/restore original boot sector instead 
    336   of running grub or lilo to init it after restoring 
    337 - fixed&updated stabgrub-me script; software RAID + GRUB work now 
    338 - mount/unmount /boot partition for Gentoo 1.2 users 
    339 - re-enabled extra tape checksums 
    340 - disabled spurious warnings 
    341 - unmount/remount supermounts at start/end of live restore, if nec. 
    342 - cleaned up mondo's tape block handling (now, TAPE_BLOCK_SIZE=128K 
    343   and I've added INTERNAL_TAPE_BLK_SIZE=32K variable for buffering) 
    344 - added Makefile 
    345 - added -l RAW, to backup and restore original MBR 
    346 - cleaned up iso_mode() and nfs restoring 
    347 - create /mnt/RESTORING/mnt/.boot.d for Gentoo users 
    348 - made mondorestore CD bootable for ArkLinux users 
    349 - if user runs as 'su' not 'su -' then work around 
    350  
    351 * Sun Nov 17 2002 Hugo Rabson <hugo@firstlinux.net> 1.51 
    352 - pop-up list of changed files, at end of verification phase 
    353 - better handling of changed.files list at restore-time 
    354 - lots of CD-related fixes 
    355 - added '-N' flag --- to let user exclude all NFS-related mounts&devices 
    356 - better handling of 'kill' 
    357 - restructuring of code to ease integration of mondo w/XMondo 
    358 - fixed obscure bug in find_and_mount_actual_cd() 
    359 - if / or /root has <50MB free then abort & complain 
    360 - fixed install.sh 
    361 - fixed .spec file 
    362 - updated documentation 
    363 - commented code 
    364 - updated man page 
    365 - added -v / --version flag 
    366 - replace convoluted grep with wc (KP) 
    367 - fixed bug affecting restoration of bigfiles from CD's created w/0 compression 
    368 - fixed BurnProof-related bug 
    369 - better at figuring out which is the best partition for temp/scratchdir 
    370 - added do-not-compress-these (text file) to RPM 
    371 - do not compress files of types listed in do-not-compress-these 
    372 - dropped -U from call to afio - saves 20-30% runtime (Cosgrove) 
    373 - added Cosgrove's do-not-compress-these list 
    374 - included various patches from KP 
    375 - chmod tmpdir, scratchdir to 700 before using 
    376 - restore from specified backup device, even if its own cfg file disagrees 
    377 - fixed multi-tape bug 
    378 - fixed "Can't find first ISO when verifying nonbootable ISO" bug 
    379 - multithreaded make_afioballs_and_images() 
    380 - tmpdir and scratchdir are set sensibly whether mondoarchive is called with 
    381   command-line parameters or not 
    382 - fixed bug in strip_spaces() which stopped it from handling 
    383   small strings correctly - affected mountlist editor 
    384 - create a repaired copy of grub-install which is RAID-friendly; 
    385   use it when initializing boot sector with run_grub() 
    386 - fixed bug in mondo-makefilelist 
    387  
    388 * Sun Sep 08 2002 Hugo Rabson <hugo@firstlinux.net> 1.50 
    389 - if restoring, don't try to find SCSI node of CD-ROM drive; find /dev entry 
    390 - during selective restore, skip filesets which don't contain relevant archives 
    391 - set /dev/null's perms to 777, just in case devfs-enabled kernel mangles it 
    392 - remove /var/run/*.pid after restoring 
    393 - move spurious lockfiles from /home/* to /home/*/.disabled 
    394 - ask user to confirm the tape/CD device name 
    395 - lots of multitape-related fixes 
    396 - added code to autodetect the hardware of the user, if possible 
    397 - if isodir does not exist then abort 
    398 - more sanity-checking for -d flag 
    399 - doubled 'biggiefile' threshold... to 32MB 
    400 - exclude /root/images/mindi 
    401 - fixed multi-imagedev bug (Emmanuel Druon) 
    402 - unmount/remount /mnt/floppy before/after backing up, if Mandrake 
    403 - restructured the source files 
    404 - fixed serious bug in line 1546 - should have been !=, not ==; stopped 
    405   mondorestore from correctly restoring big files 
    406 - added '#include <signal.h>' to my-stuff.h 
    407 - exclude "incheckentry xwait()" from changed.files 
    408 - fixed minor bug in find_cdrom_device() 
    409 - fixed bug in friendly_sizestr... 
    410 - insist on tape #1 when start verifying 
    411 - added internal buffering, replacing the external 'buffer' exe 
    412 - if differential backup then don't permit formatting or fdisking, 
    413   whether Interactive or Nuke mode 
    414 - if mondorestore is run on live filesystem (or from ramdisk) without 
    415   parameters then mondorestore will ask which backup media (tape, CD, etc.) 
    416   was used; it will read the config file from the media and proceed from there 
    417 - if tape streamer is softlink then resolve it first 
    418 - incorporate post-nuke tarball 
    419 - if user doesn't specify tape size, proceed anyway; behave intelligently 
    420   in the event of end-of-tape 
    421 - prefix bkpinfo->restore_path to biggiefile fname before generating 
    422   checksum & comparing to archived biggiefile 
    423 - if /etc/lilo.conf not found not /etc/lilo.conf.anaconda found 
    424   then create a softlink from the former to the latter, to work 
    425   around RH7.3's b0rken LILO support 
    426 - LFS support (mharris, michele, hugo) 
    427 - fixed verify bug --- CD#1 was being verified again & again & ... 
    428 - differential mode fixed; supported again 
    429 - ask user for boot loader + device if not detectible 
    430 - list up to 512 files in file selection window at once (was 128) 
    431 - better handling of bigfiles' checksums, perms and owns 
    432 - delete final filelist if <=2 bytes long 
    433 - if kernel not found and mondo in graphics mode then popup and ask 
    434   for kernel path+filename 
    435  
    436 * Sun Jul 14 2002 Hugo Rabson <hugo@firstlinux.net> 1.45-1 
    437 - 1.5x branch forked off from 1.4x branch 
    438  
    439  
    440  
    441  
  • branches/stable/mondo/mondo/Makefile.am

    r423 r424  
    22DIST_SUBDIRS   = ${SUBDIRS} 
    33 
    4 pkglib_DATA   = do-not-compress-these autorun 
     4pkgdata_DATA   = do-not-compress-these autorun 
  • branches/stable/mondo/mondo/common/Makefile.am

    r423 r424  
    22## Process this file with Automake to generate `Makefile.in' 
    33## 
    4 AM_CPPFLAGS = -DMONDO_LIB=\"$(pkglibdir)\" 
     4AM_CPPFLAGS = -DMONDO_SHARE=\"$(pkgdatadir)\" 
    55 
    66## libmondo 
  • branches/stable/mondo/mondo/common/libmondo-archive.c

    r305 r424  
    40264026/* @} - end of utilityGroup */ 
    40274027 
    4028 void setenv_mondo_lib(void) { 
    4029  
    4030 setenv("MONDO_LIB", MONDO_LIB, 1); 
     4028void setenv_mondo_share(void) { 
     4029 
     4030setenv("MONDO_SHARE", MONDO_SHARE, 1); 
    40314031} 
  • branches/stable/mondo/mondo/common/libmondo-tools.c

    r305 r424  
    352352{ 
    353353    assert(home_sz != NULL); 
    354     strcpy(home_sz, MONDO_LIB); 
     354    strcpy(home_sz, MONDO_SHARE); 
    355355    return (0); 
    356356} 
  • branches/stable/mondo/mondo/mondoarchive/main.c

    r296 r424  
    296296    setenv("ARCH", tmp, 1); 
    297297 
    298     /* Add MONDO_LIB environment variable for mindi */ 
    299     setenv_mondo_lib(); 
     298    /* Add MONDO_SHARE environment variable for mindi */ 
     299    setenv_mondo_share(); 
    300300 
    301301    unlink(MONDO_LOGFILE); 
  • branches/stable/mondo/mondo/post-nuke.sample/usr/bin/Makefile.am

    r249 r424  
    1 postnukeusrbindir      = $(pkglibdir)/post-nuke.sample/usr/bin 
     1postnukeusrbindir      = $(pkgdatadir)/post-nuke.sample/usr/bin 
    22postnukeusrbin_SCRIPTS = post-nuke 
  • branches/stable/mondo/mondo/restore-scripts/Makefile.am

    r179 r424  
    11SUBDIRS = mondo usr 
    22 
    3 restoreetcdir       = $(pkglibdir)/restore-scripts/etc 
     3restoreetcdir       = $(pkgdatadir)/restore-scripts/etc 
    44restoreetc_DATA     = etc/multipath.conf.sample etc/raid0.conf.sample \ 
    55                      etc/raid1.conf.sample etc/raid4.conf.sample \ 
  • branches/stable/mondo/mondo/restore-scripts/mondo/Makefile.am

    r179 r424  
    1 restoremondodir      = $(pkglibdir)/restore-scripts/mondo 
     1restoremondodir      = $(pkgdatadir)/restore-scripts/mondo 
    22restoremondo_SCRIPTS = ISO ask-me-a-question compare-me compare-subroutine-me \ 
    33                       edit-mountlist grub-MR hack-fstab hack-grub hack-lilo hack-elilo \ 
  • branches/stable/mondo/mondo/restore-scripts/usr.bin/Makefile.am

    r179 r424  
    1 restoreusrbindir      = $(pkglibdir)/restore-scripts/usr/bin 
     1restoreusrbindir      = $(pkgdatadir)/restore-scripts/usr/bin 
    22#restoreusrbin_SCRIPTS = # petris pico nano 
  • branches/stable/tools/mkrpm

    r423 r424  
    2929    mkdir -p ${TOPDIR}/SOURCES  
    3030    $TOOLHOME/mkspec ${MINDI_VER} mindi-kernel-${MINDI_VER}/mindi-kernel.spec > ${TOPDIR}/SPECS/mindi-kernel.spec 
     31    chmod 644 ${TOPDIR}/SPECS/mindi-kernel.spec 
    3132    pkg1="${TOPDIR}/RPMS/${ARCH}/mindi-kernel-${MINDI_VER}-${REVISION}${suf}.${ARCH}.rpm" 
    3233    pkg="$pkg $pkg1" 
     
    3637    cd ${BASE}/svn 
    3738    $TOOLHOME/mkspec ${MINDI_VER} mindi-${MINDI_VER}/distributions/rpm/mindi.spec > ${TOPDIR}/SPECS/mindi.spec 
     39    cat mindi-${MINDI_VER}/distributions/$dfam/changelog >> ${TOPDIR}/SPECS/mindi.spec 
     40    chmod 644 ${TOPDIR}/SPECS/mindi.spec 
    3841    rm -rf mindi-${MINDI_VER}/distributions 
    3942    mkdir -p ${TOPDIR}/SOURCES  
     
    4851    cd ${BASE}/svn 
    4952    $TOOLHOME/mkspec ${MONDO_VER} mondo-${MONDO_VER}/distributions/rpm/mondo.spec > ${TOPDIR}/SPECS/mondo.spec 
     53    cat mondo-${MONDO_VER}/distributions/$dfam/changelog >> ${TOPDIR}/SPECS/mondo.spec 
     54    chmod 644 ${TOPDIR}/SPECS/mondo.spec 
    5055    rm -rf mondo-${MONDO_VER}/distributions 
    5156