Changeset 426 in MondoRescue


Ignore:
Timestamp:
Feb 23, 2006, 4:09:24 PM (18 years ago)
Author:
bcornec
Message:

merge -r421:425 $SVN_M/branches/stable

Location:
trunk
Files:
29 edited
5 copied

Legend:

Unmodified
Added
Removed
  • trunk/mindi/distributions/rpm/mindi.spec

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

    r403 r426  
    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 .
     
    28112811        [ "$USE_LZO" = "yes" ] && echo -en "Pras 4 Pres 2004" >> $mountpoint/tmp/USING-LZO
    28122812        [ "$USE_COMP" = "yes" ] && echo -en "Compression, yep" >> $mountpoint/tmp/USING-COMP
    2813     [ "$USE_STAR" = "yes" ] && echo =en "Using star. Hooray." >> $mountpoint/tmp/USING-STAR
     2813        [ "$USE_STAR" = "yes" ] && echo -en "Using star. Hooray." >> $mountpoint/tmp/USING-STAR
    28142814    fi
    28152815    mkdir -p $mountpoint/tmp
  • trunk/mindi/rootfs/proc/.keep

    r1 r426  
     1 
  • trunk/mindi/rootfs/tmp/mondo-restore.cfg

    r30 r426  
     1 
  • trunk/mindi/rootfs/var/log/wtmp

    r1 r426  
     1 
  • trunk/mindi/rootfs/var/run/utmp

    r1 r426  
     1 
  • trunk/mondo/Makefile.am

    r403 r426  
    11AUTOMAKE_OPTIONS = 1.7
    2 SUBDIRS   = mondo
    3 man8_MANS = docs/man/mondoarchive.8 docs/man/mondorestore.8
     2SUBDIRS        = mondo
     3man8_MANS      = docs/man/mondoarchive.8 docs/man/mondorestore.8
  • trunk/mondo/configure.in

    r416 r426  
    2121AM_MAINTAINER_MODE
    2222
    23 AM_PROG_LIBTOOL
    2423AC_PROG_CXX
    2524AC_PROG_AWK
    2625AC_PROG_CC
     26AC_PROG_RANLIB
    2727AC_PROG_CPP
    2828AC_PROG_INSTALL
     
    4949
    5050# Checks for libraries.
    51 AC_CHECK_LIB([dl], [main])
     51dnl AC_CHECK_LIB([dl], [main])
    5252AC_CHECK_LIB([newt], [newtInit])
    5353standardthread=0;
     
    105105AC_SUBST(LIBS)
    106106
    107 dnl AC_FIND_BZIP2
    108 
    109107# Checks for header files.
    110108AC_HEADER_STDC
  • trunk/mondo/distributions/rpm/mondo.spec

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

    r342 r426  
    11SUBDIRS        = common mondoarchive mondorestore restore-scripts post-nuke.sample
    2 DIST_SUBDIRS   = common mondoarchive mondorestore restore-scripts post-nuke.sample
     2DIST_SUBDIRS   = ${SUBDIRS}
    33
    4 pkglib_DATA   = do-not-compress-these
     4pkgdata_DATA   = do-not-compress-these autorun
  • trunk/mondo/mondo/common/Makefile.am

    r183 r426  
    22## Process this file with Automake to generate `Makefile.in'
    33##
     4AM_CPPFLAGS = -DMONDO_SHARE=\"$(pkgdatadir)\"
    45
    5 AM_CPPFLAGS = -DMONDO_LIB=\"$(pkglibdir)\"
    6 ## Headers
     6## libmondo
     7noinst_LIBRARIES = libmondo.a
    78
    8 noinst_HEADERS       = libmondo-archive.h libmondo-devices.h \
     9libmondo_a_SOURCES  = libmondo-archive.c libmondo-devices.c libmondo-fifo.c \
     10                       libmondo-filelist.c libmondo-files.c libmondo-fork.c \
     11                       libmondo-mountlist.c libmondo-raid.c \
     12                       libmondo-stream.c libmondo-string.c libmondo-tools.c \
     13                       libmondo-verify.c newt-specific.c \
     14                       libmondo-archive.h libmondo-devices.h \
    915                       libmondo-filelist.h libmondo-files.h libmondo-fork.h \
    1016                       libmondo-gui.h libmondo-mountlist.h libmondo-raid.h \
     
    1218                       libmondo-verify.h libmondo-fifo.h \
    1319                       libmondo-archive-EXT.h my-stuff.h mondostructures.h \
    14                        libmondo-devices-EXT.h libmondo-fifo-EXT.h libmondo-filelist-EXT.h \
    15                        libmondo-files-EXT.h libmondo-fork-EXT.h libmondo-gui-EXT.h \
    16                        libmondo-mountlist-EXT.h libmondo-raid-EXT.h libmondo-stream-EXT.h \
    17                        libmondo-string-EXT.h libmondo-tools-EXT.h libmondo-verify-EXT.h \
     20                       libmondo-devices-EXT.h libmondo-fifo-EXT.h \
     21                       libmondo-files-EXT.h libmondo-fork-EXT.h \
     22                       libmondo-gui-EXT.h libmondo-filelist-EXT.h \
     23                       libmondo-mountlist-EXT.h libmondo-raid-EXT.h  \
     24                       libmondo-string-EXT.h libmondo-tools-EXT.h \
     25                       libmondo-verify-EXT.h  libmondo-stream-EXT.h \
    1826                       newt-specific.h
    19 
    20 ## Libraries
    21 lib_LTLIBRARIES      = libmondo.la libmondo-newt.la
    22 
    23 ## libmondo
    24 libmondo_la_SOURCES  = libmondo-archive.c libmondo-devices.c libmondo-fifo.c \
    25                        libmondo-filelist.c libmondo-files.c libmondo-fork.c \
    26                        libmondo-mountlist.c libmondo-raid.c \
    27                        libmondo-stream.c libmondo-string.c libmondo-tools.c \
    28                        libmondo-verify.c
    29 libmondo_la_LDFLAGS  = -version-info 2:3:0 -shrext .so
    30 libmondo_la_LIBADD   = @LIBS@
    31 
    32 ## libmondo-newt
    33 libmondo_newt_la_SOURCES = newt-specific.c
    34 libmondo_newt_la_LDFLAGS = -version-info 1:0:0 -shrext .so
    35 libmondo_newt_la_LIBADD  = -lnewt
  • trunk/mondo/mondo/common/libmondo-archive.c

    r309 r426  
    37503750/* @} - end of utilityGroup */
    37513751
    3752 void setenv_mondo_lib(void) {
    3753 
    3754 setenv("MONDO_LIB", MONDO_LIB, 1);
     3752void setenv_mondo_share(void) {
     3753
     3754setenv("MONDO_SHARE", MONDO_SHARE, 1);
    37553755}
  • trunk/mondo/mondo/common/libmondo-tools.c

    r309 r426  
    190190    char *home_sz = NULL;
    191191
    192     asprintf(&home_sz, MONDO_LIB);
     192    asprintf(&home_sz, MONDO_SHARE);
    193193    return (home_sz);
    194194}
  • trunk/mondo/mondo/common/my-stuff.h

    r403 r426  
    395395#define MNT_FLOPPY "/mnt/floppy"
    396396
    397 #define FREELOADER              // You're not a paying customer
    398397#define DEFAULT_MR_LOGLEVEL 4
    399398
  • trunk/mondo/mondo/mondoarchive/Makefile.am

    r30 r426  
    99sbin_PROGRAMS        = mondoarchive
    1010mondoarchive_SOURCES = main.c mondo-cli.c
    11 mondoarchive_LDADD   = ../common/libmondo.la ../common/libmondo-newt.la
    12 
    13 ### Man page
    14 #man1_MANS            = mondoarchive.1
     11mondoarchive_LDADD   = ${top_builddir}/mondo/common/libmondo.a
  • trunk/mondo/mondo/mondoarchive/main.c

    r300 r426  
    171171    setenv("ARCH", get_architecture(), 1);
    172172
    173     /* Add MONDO_LIB environment variable for mindi */
    174     setenv_mondo_lib();
     173    /* Add MONDO_SHARE environment variable for mindi */
     174    setenv_mondo_share();
    175175
    176176    unlink(MONDO_LOGFILE);
  • trunk/mondo/mondo/mondorestore/Makefile.am

    r30 r426  
    1212mondorestore_SOURCES  = mondo-prep.c mondo-restore.c mondo-rstr-newt.c \
    1313                        mondo-rstr-compare.c mondo-rstr-tools.c
    14 mondorestore_LDADD    = ../common/libmondo.la ../common/libmondo-newt.la @MONDORESTORE_STATIC@
     14mondorestore_LDADD    = ${top_builddir}/mondo/common/libmondo.a @MONDORESTORE_STATIC@
  • trunk/mondo/mondo/mondorestore/mondo-restore-EXT.h

    r59 r426  
    7272extern void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
    7373extern void sort_mountlist_by_device(struct mountlist_itself *);
    74 extern void success_message(void);
    7574extern void twenty_seconds_til_yikes(void);
    7675extern int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
  • trunk/mondo/mondo/mondorestore/mondo-restore.c

    r300 r426  
    392392#endif
    393393
    394 extern void success_message(void);
    395394extern void twenty_seconds_til_yikes(void);
    396395
     
    12261225            ("PC was restored successfully. Thank you for using Mondo Rescue.");
    12271226        log_to_screen
    1228             ("Please visit http://www.mondorescue.org and thank the dev team.");
     1227            ("Please visit our website at http://www.mondorescue.org for more information.");
    12291228    } else {
    1230 #ifdef FREELOADER
    1231         success_message();
    1232 #else
    1233         log_to_screen("PC was restored successfully!");
    1234 #endif
     1229        strcpy(tmp," Mondo has restored your system. Please remove the backup media and reboot.\n\nPlease visit our website at http://www.mondorescue.org for more information.");
     1230        if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "restore") == NULL) {
     1231            popup_and_OK(tmp);
     1232        }
     1233        log_to_screen
     1234            ("Mondo has restored your system. Please remove the backup media and reboot.");
     1235        log_to_screen
     1236            ("Please visit our website at http://www.mondorescue.org for more information.");
    12351237    }
    12361238    g_I_have_just_nuked = TRUE;
  • trunk/mondo/mondo/mondorestore/mondo-rstr-tools.c

    r309 r426  
    20602060
    20612061
    2062 
    2063 
    2064 
    2065 
    2066 /**
    2067  * Prompt the user to support the Mondo project.
    2068  */
    2069 void success_message(void)
    2070 {
    2071     int i;
    2072     /* malloc and ptr */
    2073     char *tmp;
    2074 
    2075     malloc_string(tmp);
    2076     if (strstr
    2077         (call_program_and_get_last_line_of_output("cat /proc/cmdline"),
    2078          "restore") == NULL) {
    2079         if (ask_me_yes_or_no
    2080             ("Have you contributed to the Mondo project financially or in some other way, yet?"))
    2081         {
    2082             log_to_screen
    2083                 ("Thank you for supporting Mondo. It goes from strength to strength,");
    2084             log_to_screen("thanks to the support of users like you.");
    2085         } else {
    2086             if (ask_me_yes_or_no
    2087                 ("Are you or your company willing to consider contributing to Mondo in some way?"))
    2088             {
    2089                 popup_and_OK
    2090                     ("To support the project which has just performed a valuable service for you, please visit http://www.mondorescue.com; click on 'Download' and then 'PayPal'.");
    2091             } else {
    2092                 log_to_screen
    2093                     ("Free Software, like freedom itself, must be supported or it will be lost.");
    2094                 log_msg(1,
    2095                         "To your credit, you were honest: you said no, you wouldn't be contributing");
    2096                 log_msg(1,
    2097                         "to this project, ever. However, that makes you a freeloader. I bet you're");
    2098                 log_msg(1,
    2099                         "the sort of person who likes to sneak into movie theatres...");
    2100                 popup_and_OK
    2101                     ("If you ever change your mind, you may support this product by going to http://www.mondrescue.com and clicking on 'Download', followed by 'PalPal'.");
    2102             }
    2103         }
    2104     }
    2105 #ifdef FREELOADER
    2106     i = (int) (random()) % 32;
    2107 #else
    2108     i = 1;
    2109 #endif
    2110 
    2111     if (i != 25) {
    2112         strcpy(tmp,
    2113                "Mondo has restored your system. Please remove the backup media and reboot.");
    2114     } else {
    2115         strcpy(tmp,
    2116                "M0nd0 h45 r3570r3d j00r 5y573m. P13453 r3m0v3 7h3 b4ckup m3d14 4nd r3b007.");
    2117     }
    2118     if (strstr
    2119         (call_program_and_get_last_line_of_output("cat /proc/cmdline"),
    2120          "restore") == NULL) {
    2121         popup_and_OK(tmp);
    2122     }
    2123     log_to_screen(tmp);
    2124     paranoid_free(tmp);
    2125 }
    2126 
    2127 /**************************************************************************
    2128  *END_SUCCESS_MESSAGE                                                     *
    2129  **************************************************************************/
    2130 
    2131 
    2132 
    21332062/**
    21342063 * Exit due to a signal (normal cleanup).
  • trunk/mondo/mondo/mondorestore/mondo-rstr-tools.h

    r59 r426  
    2727void setup_global_filenames(struct s_bkpinfo *bkpinfo);
    2828//void setup_signals(int);
    29 void success_message(void);
    3029void twenty_seconds_til_yikes(void);
    3130int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
  • trunk/mondo/mondo/post-nuke.sample/usr/bin/Makefile.am

    r250 r426  
    1 postnukeusrbindir      = $(pkglibdir)/post-nuke.sample/usr/bin
     1postnukeusrbindir      = $(pkgdatadir)/post-nuke.sample/usr/bin
    22postnukeusrbin_SCRIPTS = post-nuke
  • trunk/mondo/mondo/restore-scripts/Makefile.am

    r181 r426  
    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 \
  • trunk/mondo/mondo/restore-scripts/mondo/Makefile.am

    r181 r426  
    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 \
  • trunk/mondo/mondo/restore-scripts/usr.bin/Makefile.am

    r181 r426  
    1 restoreusrbindir      = $(pkglibdir)/restore-scripts/usr/bin
     1restoreusrbindir      = $(pkgdatadir)/restore-scripts/usr/bin
    22#restoreusrbin_SCRIPTS = # petris pico nano
  • trunk/tools/mkcommon

    r404 r426  
    5555    svn export ${VER}/mondo mondo-${MONDO_VER}
    5656    cp -a /tmp/mondorescue-svn.log mondo-${MONDO_VER}/svn.log
    57     mkdir -p mondo-${MONDO_VER}/docs/man
    58     cp -a ${VER}/documentation/mondo*.8 mondo-${MONDO_VER}/docs/man
    5957    echo "$REVISION" > mondo-${MONDO_VER}/REVISION
    6058    rm -rf documentation-${MONDO_VER}
  • trunk/tools/mkrpm

    r394 r426  
    2929    mkdir -p ${TOPDIR}/SOURCES
    3030    $TOOLHOME/mkspec ${MINDI_VER} mindi-kernel-${MINDI_VER}/mindi-kernel.spec > ${TOPDIR}/SPECS/mindi-kernel.spec
    31     pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mindi-kernel-${MINDI_VER}-${REVISION}${suf}.${ARCH}.rpm"
     31    chmod 644 ${TOPDIR}/SPECS/mindi-kernel.spec
     32    pkg1="${TOPDIR}/RPMS/${ARCH}/mindi-kernel-${MINDI_VER}-${REVISION}${suf}.${ARCH}.rpm"
     33    pkg="$pkg $pkg1"
     34    rm -f $pkg1
    3235fi
    3336if [ "`echo $c | grep -v kernel | grep mindi`" != "" ]; then
    3437    cd ${BASE}/svn
    3538    $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
    3641    rm -rf mindi-${MINDI_VER}/distributions
    3742    mkdir -p ${TOPDIR}/SOURCES
    3843
    39     pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mindi-${MINDI_VER}-${REVISION}${suf}.${ARCH}.rpm"
     44    pkg1="${TOPDIR}/RPMS/${ARCH}/mindi-${MINDI_VER}-${REVISION}${suf}.${ARCH}.rpm"
     45    pkg="$pkg $pkg1"
     46    rm -f $pkg1
    4047    # ATTENTION: This could be dangerous for your setup
    4148    opt="rm -rf /usr/lib/mindi ;"
     
    4451    cd ${BASE}/svn
    4552    $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
    4655    rm -rf mondo-${MONDO_VER}/distributions
    4756
    48     pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mondo-${MONDO_VER}-${REVISION}${suf}.${ARCH}.rpm"
     57    pkg1="${TOPDIR}/RPMS/${ARCH}/mondo-${MONDO_VER}-${REVISION}${suf}.${ARCH}.rpm"
     58    pkg="$pkg $pkg1"
     59    rm -f $pkg1
    4960fi
    5061
  • trunk/website/download.shtml

    r372 r426  
    1        <B><A HREF="isos/mondo-install-cd.iso">NEW! Installer CD</A></B> - if
    2        you have the time or bandwidth, please try this CD (image). It is
    3        updated on Sundays and Mondays.</P>
    4       <P ALIGN=JUSTIFY>
    51       <B><A HREF="isos/mindi.iso">Test CD</A></B> - if you think your
    62       hardware is faulty, please download <A HREF="mindi.iso">this ISO</A>,
  • trunk/website/downloads.shtml

    r397 r426  
    5050      <h2>Downloads</h2>
    5151    </div>
     52    <p>Mondo's FTP site is available at <a href="ftp://ftp.mondorescue.org">ftp://ftp.mondorescue.org</a></p>
    5253<h3>Source code</h3>
    5354<ul>
    54     <li>tarball available under <a href="ftp://ftp.mondorescue.org/src">ftp://ftp.mondorescue.org/src</a></li>
     55    <li>tarballs are available under <a href="ftp://ftp.mondorescue.org/src">ftp://ftp.mondorescue.org/src</a></li>
    5556    <li>Subversion browing available at <a href="http://svn.berlios.de/viewcvs/mondorescue">http://svn.berlios.de/viewcvs/mondorescue</a></li>
    5657    <li>Anonymous HTTP Subversion check out of the project available with the following instruction set: <pre><tt>svn checkout http://svn.berlios.de/svnroot/repos/mondorescue/branches/stable</tt></pre></li>
Note: See TracChangeset for help on using the changeset viewer.