Changeset 649 in MondoRescue


Ignore:
Timestamp:
Jun 8, 2006, 11:31:13 AM (18 years ago)
Author:
bcornec
Message:

merge -r617:641 $SVN_M/branches/stable

Location:
trunk
Files:
1 added
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/mindi/ChangeLog

    r618 r649  
    22
    33MINDI CHANGES
     4
     51.0.8-3 (2006-06-07)
     6- exec-shield removed for mindi
     7  (Bruno Cornec)
     8- Fix a bug for ia64 build in mindi where locallib was undefined
     9  (Bruno Cornec)
     10- Fix a bug for SuSE and Debian where $dfam was used in install.sh
     11  (Bruno Cornec)
     12- Make the init script mdadm-aware
     13  (Andree Leidenfrost)
    414
    5151.0.8-2 (2006-06-02)
     
    8595  (Philippe De Muyter)
    8696
    87 1.04
     971.04 (2005-05-03)
    8898- support exec-shield
    8999- added 'ide-generic' module to IDE modules in mindi to ensure that kernels
     
    99109  - 'rootfs/root/.profile'
    100110
    101 
    102 1.03
     1111.03 (2004-09-29)
    103112- better support of SLES 8
    104113
    105 
    106 1.02
     1141.02 (2004-07-21)
    107115- better kernel-level logging
    108116- added ACL, xattr binaries to deplist.txt
    109117- fixed obscure bug which occasionally stopped mindi from correctly finding
    110118  and documenting all LVM2 LVM-on-RAID volumes
    111 
    112119 
    113 1.01
     1201.01 (2004-06-21)
    114121- added ide_tape and other modules to mindi's config detection
    115122- unmount errant ramdisk ($mtpt) if fail to create boot floppy
    116123- better support of ISO dirs at restore-time (Conor Daly)
    117124
    118 
    119 1.00
     1251.00 (2004-06-18)
    120126- first 1.0x release
    121127- catch Ctrl-Alt-Del; trigger soft reset
     
    140146- enlarged ramdisk by 8MB
    141147
    142 v0.95
     148v0.95 (2004-03-25)
    143149- changed some '==' to '=' --- now more RH6-friendly
    144150- allow absolute pathnames again in deplist
     
    155161- updated analyze-my-lvm to handle floating-point gigabyte -L values
    156162
    157 
    158 v0.94
     163v0.94 (2003-09-24)
    159164- altered rootfs's /dev entry to stop cvs from becoming confused
    160165- tweaked MAX_COMPRESSED_SIZE
     
    166171- suppress erroneous error messages re: failsafe kernel
    167172
    168 
    169 v0.93
     173v0.93 (2003-06-04)
    170174- added cciss.o to SCSI_MODS
    171175- if format type is (e.g.) ext3,ext2 then use 1st entry
     
    191195- moved lib.tar.bz2 and vmlinuz to mindi-kernel tarball/rpm
    192196
    193 
    194 v0.92
     197v0.92 (2003-05-04)
    195198- fixed LVM/RAID bugs (Brian Borgeson)
    196199- if bad lilo, give more verbose error before quitting
     
    209212  if it looked as if Debian's fdisk would misbehave
    210213
    211 
    212 v0.90
     214v0.91 (2003-04-04)
    213215- updated ResolveSoftlinks() to work better with b0rkn Gentoo devfs /dev
    214216- patched analyze-my-lvm (Benjamin Mampaey)
     
    230232- spinner bugfix; handle odd LABELs properly (Tom Mortell)
    231233
    232 
    233 12-08-2002
    234 """"""""""
    235 v0.90 (DEVEL)
     234v0.90 (2002-12-08)
    236235- new stable branch
    237236- EXTRA_SPACE=16384
    238237- fixed deplist.txt
    239238
    240 
    241 12-02-2002
    242 """"""""""
    243 v0.72 (DEVEL)
     239v0.72 (2002-12-02)
    244240- misc code clean-ups
    245241- save boot device's boot sector
     
    251247- more Gentoo-friendly
    252248
    253 
    254 11-17-2002
    255 """"""""""
    256 v0.71 (DEVEL)
     249v0.71 (2002-11-17)
    257250- if your kernel's builddate doesn't match any of the kernels in
    258251  your /boot directory then fudge the issue & find the closest
     
    282275- ListAllPartitions() - include /mnt/win* (Hugo)
    283276
    284 
    285 09-08-2002
    286 """"""""""
    287 v0.70 (UNSTABLE)
     277v0.70 (2002-09-08)
    288278- better logging by dependency-calculating code
    289279- better handling of dependencies, specifically softlinks
     
    302292- fixed analyze-my-lvm (Ralph Gruwe)
    303293
    304 
    305 07-14-2002
    306 """"""""""
    307 v0.65-1
     294v0.65-1 (2002-07-14)
    308295- moved 50K of stuff from rootfs.tgz to aux-tools.tgz
    309296- added x11-tools.tgz option
     
    314301- .spec file clean-up; automation; config file (Carl Wilhem Soderstrom)
    315302
    316 
    317 07-14-2002
    318 """"""""""
    319 v0.64-1
     303v0.64-1 (2002-07-14)
    320304- fixed RH7.3 readonly bug
    321305- improved nfs config file creation
     
    335319- cleaned up message screens
    336320
    337 
    338 06-04-2002
    339 """"""""""
    340 v0.63-7
     321v0.63-7 (2002-06-04)
    341322- improved logging
    342323
    343 
    344 06-02-2002
    345 """"""""""
    346 v0.63-6
     324v0.63-6 (2002-06-02)
    347325- sped it up a bit
    348326- fixed ISO creation bug
    349327
    350 
    351 05-22-2002
    352 """"""""""
    353 v0.63-5
     328v0.63-5 (2002-05-22)
    354329- fixed RAID mountlist bug (Daniel Grandjean)
    355330- better at German kbd support (Klaus Guntermann)
     
    357332- updated .spec file (Jesse Keating)
    358333
    359 
    360 05-06-2002
    361 """"""""""
    362 v0.63-4
     334v0.63-4 (2002-05-06)
    363335- added less.bin to deplist.txt
    364336- copy mondo-restore.cfg configuration file to /var/cache/mondo-archive
     
    366338- fixed bug in -H (RESTORE) function
    367339
    368 
    369 04-25-2002
    370 """"""""""
    371 v0.63-2
     340v0.63-2 (2002-04-25)
    372341- added mkdir -p to fix mountlist.txt-copying bug (Bruno Vidal)
    373342- made sure mindi.iso (for tape users) copies kernel to [cd dir]/vmlinuz
    374343
    375 
    376 04-23-2002
    377 """"""""""
    378 v0.63
     344v0.63 (2002-04-23)
    379345- minor cosmetic improvements
    380346- improved homedir-locating code
    381347- make sure the kernel is copied to [cd build dir]/vmlinuz
    382348
    383 
    384 04-08-2002
    385 """"""""""
    386 v0.62
     349v0.62 (2002-04-08)
    387350- keep certain /dev directories compressed until boot-time, to allow
    388351  Mindi to support larger kernels
     
    392355- amend isolinux.cfg to specify the correct ramdisk size
    393356
    394 
    395 03-31-2002
    396 """"""""""
    397 v0.60
     357v0.60 (2002-03-31)
    398358- bootable CD's now use ISOLINUX instead of LILO (Andy Glass)
    399359- abort if isolinux not found
     
    401361- include mountlist.txt in ramdisk
    402362
    403 
    404 03-21-2002
    405 """"""""""
    406 v0.59
     363v0.59 (2002-03-21)
    407364- change sbin/init's Die() function (Carl Wilhelm Soderstrom)
    408365- improve friendliness of kernel-related warning msg (Andy Glass)
    409366- added s/w switch re: making floppies (Carl Wilhelm Soderstrom)
    410367
    411 
    412 03-10-2002
    413 """"""""""
    414 v0.58-r7
     368v0.58-r7 (2002-03-10)
    415369- excluded two unused vars (Carl Soderstrom)
    416370
    417 
    418 03-03-2002
    419 """"""""""
    420 v0.58-r6
     371v0.58-r6 (2002-03-03)
    421372- reassemble large data/library files who have older 'mv' code which doesn't
    422373  like to overwrite symlinks - affects older RH+Slack systems (Andrew Bulhak)
     
    425376
    426377
    427 02-24-2002
    428 """"""""""
    429 v0.58-r5
     378v0.58-r5 (2002-02-24)
    430379- pathname problem fixed (Fred Feirtag)
    431380- patch to Debianize mindi a bit (H�tor Garc� �varez)
     
    437386- added support for -C (cdstream) mode
    438387
    439 
    440 02-18-2002
    441 """"""""""
    442 v0.58-r4
     388v0.58-r4 (2002-02-18)
    443389- quash error if /opt not found
    444390- use /tmp/groovy-stuff instead of /mnt/groovy-stuff for
    445391  handling data disks and their contents, for tape users
    446392
    447 
    448 02-17-2002
    449 """"""""""
    450 v0.58-r3
     393v0.58-r3 (2002-02-17)
    451394- misc enhancements
    452395- uses self-resizing ramdisk (tmpfs) for /tmp
     
    456399- added vi to busybox again
    457400
    458 
    459 02-11-2002
    460 """"""""""
    461 v0.58-r2
     401v0.58-r2 (2002-02-11)
    462402- fixed errant tar warning
    463403- replaced libc5 with uClibc
     
    467407- no longer insists on cdrecord being present
    468408
    469 
    470 02-10-2002
    471 """"""""""
    472 v0.58
     409v0.58 (2002-02-10)
    473410- more pointed error messages
    474411- fixed silly 'cp' error (Markus Marquardt)
     
    478415- nfs users boot into nfs options by default
    479416
    480 
    481 02-05-2002
    482 """"""""""
    483 v0.57
     417v0.57 (2002-02-05)
    484418- abort if mounted partition is specified as an imagedev
    485419- understand 'FAILSAFE' as kernel alternative
     
    489423- better 'bug-me' script (Troff)
    490424
    491 
    492 02-01-2002
    493 """"""""""
    494 v0.56
     425v0.56 (2002-02-01)
    495426- compatible with Mondo v1.5x devel branch
    496427- mindi's softlink now goes in /usr/sbin; was /usr/bin
     
    503434  Mondo users; file is not in use yet but is there for future expansion
    504435
    505 
    506 01-28-2002
    507 """"""""""
    508 v0.55
     436v0.55 (2002-01-28)
    509437- MINDI_HOME and MONDO_HOME defined at start of each source file, making
    510438  it easier to relocate Mindi and Mondo if desired
     
    516444- disabled ramdisk free space checker (some distros don't like it)
    517445
    518 
    519 01-25-2002
    520 """"""""""
    521 v0.54
     446v0.54 (2002-01-25)
    522447- don't abort if kernel is too big for 1.72MB floppy
    523448- better handling of eccentric distros and their keybd layouts
     
    529454- better TurboLinux 7 / LVM compatibility
    530455
    531 
    532 01-20-2002
    533 """"""""""
    534 v0.53
     456v0.53 (2002-01-20)
    535457- better support of non-Red Hat, non-Debian keyboard resource files
    536458- cleaned up /sbin/init's output
     
    551473- added .spec file to tarball
    552474
    553 
    554 01-10-2002
    555 """"""""""
    556 v0.52-2
     475v0.52-2 (2002-01-10)
    557476- fixed a bug in the handling of non-English keyboard maps
    558477- force failsafe kernel to provide reiserfs.o, xfs.o, jfs.o, ext2.o,
     
    565484- always make mindi.iso
    566485
    567 
    568 01-06-2002
    569 """"""""""
    570 v0.52-1
     486v0.52-1 (2002-01-06)
    571487- ramdisk's size has been tweaked
    572488- if script 'bootstrap' is found at boot-time then execute it
     
    595511  whatever; just offer Expert
    596512
    597 
    598 12-25-2001
    599 """"""""""
    600 v0.51-1
     513v0.51-1 (2001-12-25)
    601514    - removed libm.* from rootfs.tgz
    602515    - replaced sh with busybox's ash
     
    609522    - fix some cosmetic bugs
    610523
    611 
    612 12-19-2001
    613 """"""""""
    614 v0.50-4
     524v0.50-4 (2011-12-19)
    615525    - log Mindi's version# in the event of a fatal error
    616526    - make Mindi's boot-time output more esthetically pleasing
     
    619529          'b', '83', etc.) and the partition mountpoint will be 'image'
    620530
    621 
    622 12-15-2001
    623 """"""""""
    624 v0.50-2
     531v0.50-2 (2001-12-15)
    625532    - support for newer features in Mondo v1.3x
    626 
    627533
    628534v0.50-1
     
    633539      hardware setup
    634540    - cleaned up /sbin/init and /sbin/post-init a bit
    635 
    636541
    637542v0.48-2
     
    646551    - chopsize is now 64KB; was 128KB
    647552    - cleaned up mindi's logging
    648 
    649553
    650554v0.48-1
     
    661565    - aware of 'iso' boot mode, for future expansion
    662566
    663 
    664567v0.47
    665568    - added /dev/cdrom/cdrom[1-4] to the devices automatically excluded
     
    674577    - finally gotten klogd to squelch echoing of kernel msgs to console
    675578
    676 
    677579v0.46
    678580    - finally fixed that 'lib/modules/2.4.12-xfs not found' bug! :-D
     
    684586    - include and run (sys)klogd to try to pipe kernel msgs to logfile
    685587    - call hdparm to speed up access to CD-ROM drive
    686 
    687588
    688589v0.45
     
    717618    - tested with Linux-Mandrake 8.0 and Red Hat 7.2
    718619
    719 
    720620v0.44
    721621    - at boot-time, activate LV's if they exist
     
    724624    - analyze-my-lvm fails gracefully if you're not using LVM but inserted
    725625      the module anyway
    726 
    727626
    728627v0.43
     
    753652      and stores them so that at boot-time you can do SCSI, RAID, etc.
    754653    - removed gawk, printf from deplist.txt
    755 
    756654
    757655v0.42
     
    816714          is being used
    817715
    818 
    819716v0.41
    820717    - excluded *.old from the 'boot.b' list when searching for boot.b
     
    857754          comments from /etc/termcap
    858755
    859 
    860756v0.40
    861757    - if you use a softlink to your CD dev, e.g. /dev/cdrecorder->scd0,
     
    880776    - added code to copy your fstab, lilo.conf, etc. to a tarball which, in
    881777          the event of an error, Mindi will ask the user to e-mail me
    882 
    883778
    884779v0.39
     
    925820    - moved some scripts from rootfs.tgz to Mondo's restore-scripts.tgz
    926821
    927 
    928822v0.38                                                              08/18/2001
    929823        - clarified the 'more than one kernel found' comment
     
    934828    - user can now use a stock 2.4.7 kernel (which comes with Mindi)
    935829          if the user's distro's kernel isn't right for a boot disk
    936 
    937830
    938831v0.37                                                              08/12/2001
     
    954847    - working on implementing Cuckoo Mode again
    955848
    956 
    957849v0.36                                                              08/03/2001
    958850    - testing it with LM8, RH71 and Slack8
     
    967859    - removed silly "was CD inserted?" message
    968860
    969 
    970861v0.35
    971862    - if LILO fails, it writes its errors to the screen
     
    976867      fiddles, just in case they are making Red Hat 7.1 choke
    977868
    978 
    979869v0.34
    980870    - includes patch to rid Mindi of its dependence on /dev/loop devices
     
    982872    - includes patch from 0ystein Skalsem, to fix a disk-formatting problem
    983873    - warns if kernel is 2.4.0-2.4.5; encourages user to upgrade
    984 
    985874
    986875v0.33
     
    1000889      by approx 20%
    1001890
    1002 
    1003891v0.32
    1004892    - software RAID is now supported
     
    1016904    - mkdir -p $outdir at the beginning, just in case...
    1017905
    1018 
    1019 
    1020906v0.31
    1021907        - included DoJ's patch to make Mindi play more nicely with devfs
    1022908    - slightly better install.sh and README
    1023 
    1024909
    1025910v0.30
     
    1027912    - can now cope with Red Hat's "LABEL=" entries in /etc/fstab
    1028913    - should ignore NFS-mounted partitions now
    1029 
    1030914
    1031915v0.29
     
    1044928      if you really want to exhaust your primaries, well hey, your life)
    1045929    - the 'outstring sucks!' message is now more informative
    1046 
    1047930
    1048931v0.28
     
    1071954          & the number of matches (inc. if zero)
    1072955
    1073 
    1074956v0.26
    1075957    - has been tested with XFS, JFS, ReiserFS, ext2 and vfat
     
    1084966    - fixed some silly multi-CD bugs that would stop big files from being
    1085967      restored if they were spread across CD's
    1086 
    1087968
    1088969v0.25
     
    1107988    - make sure /etc/lilo.conf is 600 (RW by root only)
    1108989
    1109 
    1110990v0.24
    1111991    - can accommodate a kernel >900KB in size
     
    11241004    - fixed silly InsistOnCD bug
    11251005
    1126 
    11271006v0.23
    11281007        - don't copy *.mdsg to boot floppy image
     
    11351014        - if called by Mondo, doesn't list images or offer to copy to FDD/CDRw
    11361015        - includes the distro's name and kernel version in LILO's message
    1137 
    11381016
    11391017v0.22
     
    11541032          the 2nd line, and ZZZZZ is Mindi's version# (in the 1st line)
    11551033
    1156 
    11571034v0.21
    11581035        - df, du, find, lsmod, rmmod have been removed from rootfs.tgz
     
    11631040        - syslinux now waits 10 seconds before booting floppy
    11641041        - 'insert-all-my-modules' is copied to rootfs, not to a data disk
    1165 
    1166 
    1167 
    1168 
    1169 
    1170 
    1171 
    1172 
    1173 
    1174 
    1175 
    1176 
    1177 
    1178 
    1179 
    1180 
    1181 
    1182 
    1183 
    1184 
    1185 
    1186 
    1187 
    1188 
    1189 
    1190 
    1191 
    1192 
    1193 
    1194 
    1195 
    1196 
    1197 
    1198 
    1199 
  • trunk/mindi/install.sh

    r588 r649  
    3838# For the moment, we don't build specific x86_64 busybox binaries
    3939echo $ARCH | grep -x "x86_64" &> /dev/null && ARCH=i386 && locallib=$local/lib64
     40echo $ARCH | grep -x "ia64" &> /dev/null && locallib=$local/lib
    4041export ARCH
    4142
     
    114115
    115116# Special case for SuSE family where doc is put elsewhere in the RPM
    116 if [ _"$dfam" = _"suse" ]; then
     117if [ -e /etc/SuSE-release ]; then
    117118    rm -rf $DOCDIR
    118119fi
    119120
    120121# Special case for Debian family where doc is put elsewhere in the DEB
    121 if [ _"$dfam" = _"debian" ]; then
     122if [ -e /etc/debian_version ]; then
    122123    rm -rf $DOCDIR
    123124fi
  • trunk/mindi/rootfs/sbin/init

    r588 r649  
    482482StartRaids() {
    483483    local raid_devices i
    484     raid_devices=`grep /dev/md /tmp/mountlist.txt | cut -d' ' -f1`
    485     for i in $raid_devices ; do
    486         if grep `basename $i` /proc/mdstat > /dev/null 2> /dev/null ; then
    487             LogIt "$i is started already; no need to run 'raidstart $i'" 1
    488         else
    489         LogIt "Running 'raidstart $i'" 1
    490         raidstart $i
    491         fi
    492 #        sleep 1
    493     done
    494 #    [ "$raid_devices" != "" ] && PauseForRaid
     484    if which raidstart > /dev/null 2> /dev/null ; then
     485        raid_devices=`grep /dev/md /tmp/mountlist.txt | cut -d' ' -f1`
     486        for i in $raid_devices ; do
     487            if grep `basename $i` /proc/mdstat > /dev/null 2> /dev/null ; then
     488                LogIt "$i is started already; no need to run 'raidstart $i'" 1
     489            else
     490                LogIt "Running 'raidstart $i'" 1
     491                raidstart $i
     492            fi
     493        done
     494    elif which mdrun > /dev/null 2> /dev/null ; then
     495        LogIt "Running 'mdrun'" 1
     496        mdrun
     497    else
     498        LogIt "Warning: Neither 'raidstart' nor 'mdrun''found. RAID devices may not have started." 1
     499    fi
     500
    495501}
    496502
  • trunk/mondo/ChangeLog

    r618 r649  
    33MONDO CHANGES
    44
    5 v2.2.0 (2006-06-02)
     5v2.2.0 (2006-06-12)
    66- indent on source files
    77- asprintf used instead of malloc_string + sprintf/strcpy/strcat without
     
    1010- Internationalization (A huge thank to rene-marc dolhen
    1111  <rmd_at_mecreant.org> who achieved that big task)
     12
     132.0.8-3 (2006-06-07)
     14- Fix a bug in -I and -E handling !!
     15  (Paolo Bernardoni <bernardoni_at_sysnet.it>/Bruno Cornec)
     16- Fix permissions for autorun
     17  (Bruno Cornec)
     18- Fox delivery problems for tar files with too restrictive umask
     19  (Bruno Cornec)
     20- Fix parsing of DHCP information in start-nfs script
     21  (Andree Leidenfrost)
    1222
    13232.0.8-2 (2006-06-02)
     
    98108- now handles cifs correctly (Bruno Cornec)
    99109
    100 v2.04_berlios
     110v2.04_berlios (2005-10-30)
    101111- Add -p option to generate ISO images file names with prefix. The new default
    102112  name for ISO images is mondorescue-1.iso, ... For PXE environment, you have
     
    108118  (this is an unattended mode) (Bruno Cornec)
    109119
    110 v2.04
     120v2.04 (2005-05-03)
    111121- made mondo more clever about finding its home. Avoids mondo considering
    112122  directories like '/usr/share/doc/momdo' as its home.
    113123
    114    
    115 v2.03
     124v2.03 (2004-09-29)
    116125- better SLES8 support
    117126- test user-specified temp dir's sanity
    118127
    119 
    120 v2.02
     128v2.02 (2004-07-21)
    121129- instead of using 'dd' to erase partition table, delete existing
    122130  partitions w/ the same call to fdisk that is used to create the
     
    129137- added ACL, xattr support for afio users
    130138
    131 
    132 v2.01
     139v2.01 (2004-06-21)
    133140- fixed cvs for SuSE systems
    134141- fixed NTFS backup/restore bug relating to partimagehack
     
    137144- better support of ISO dirs at restore-time (Conor Daly)
    138145
    139 
    140 v2.00
     146v2.00 (2004-06-18)
    141147- first 2.0 release
    142148- updated grub-install.patched to support SuSE and Red Hat
     
    172178- added '-R' for star support
    173179
    174 
    175 v1.75
     180v1.75 (2004-03-29)
    176181- fixed chmod/chown bug (Jens Richter)
    177182- ask user to confirm NFS mountpoint in Interactive Mode
     
    205210- replaced mondo-makefilelist with C code - faster, cleaner
    206211- tweaked GUI - better feedback
    207 
    208212   
    209 1.74
     2131.74 (2003-09-24)
    210214- fixed biggiefile atime/ctime restoration bug 73
    211215- fixed 'default boot loader' detection bug (Joshua Oreman)
     
    225229- added partimagehack to the mix
    226230   
    227    
    228 1.73
     2311.73 (2003-05-04)
    229232- mark relevant partitions as bootable _after_ unmounting them
    230233- resolve boot device (-f) if softlink
     
    261264- try to work around eccentricities of multi-CD drive PCs
    262265- misc clean-ups (Steve Hindle)
    263    
    264 
    265 v1.72
     266
     267v1.72 (2003-04-23)
    266268- LVM/RAID bugs fixed (Brian Borgeson)
    267269- major clean-up of code (Stan Benoit)
     
    293295- fixed fstab-hacking scripts
    294296
    295 
    296 v1.71
     297v1.71 (2003-04-04)
    297298- log newt, slang, ncurses info
    298299- updated man page
     
    318319- added -e support
    319320
    320 v1.70
     321v1.70 (2003-04-04)
    321322- new devel branch opened
    322323
    323 
    324 v1.52
     324v1.52 (2002-12-08)
    325325- fixed bug in multithreading
    326326- use new grub-MR instead of grub-install
     
    343343- if user runs as 'su' not 'su -' then work around
    344344
    345 
    346 v1.51
     345v1.51 (2002-11-17)
    347346- pop-up list of changed files, at end of verification phase
    348347- better handling of changed.files list at restore-time
     
    381380- fixed bug in mondo-makefilelist
    382381
    383 
    384 09/08/2002
    385 """"""""""
    386 v1.50
     382v1.50 (2002-09-08)
    387383- if restoring, don't try to find SCSI node of CD-ROM drive; find /dev entry
    388384- during selective restore, skip filesets which don't contain relevant archives
     
    454450- fixed bug in --mbr
    455451
    456 
    457 06-04-2002
    458 """"""""""
    459 v1.43-7 (STABLE)
     452v1.43-7 (2002-06-04)
    460453- afio uses 16MB buffer when restoring, instead of 8MB buffer
    461454- mondorestore makes /var/run/console in case user excluded it
     
    477470- changed lockfiles from static to random filenames
    478471
    479 
    480 04-12-2002
    481 """"""""""
    482 v1.42-3 (STABLE)
     472v1.42-3 (2002-04-12)
    483473- minor cosmetic enhancements
    484474- improved homedir-locating code
    485475
    486 
    487 04-07-2002
    488 """"""""""
    489 v1.42-1 (STABLE)
     476v1.42-1 (2002-04-07)
    490477- mondorestore may now be run on live filesystem, i.e. user does not
    491478  have to reboot in order to restore data; works for CD's and tapes;
     
    503490- added '-m' (manual CD tray) flag
    504491   
    505 
    506 03-21-2002
    507 """"""""""
    508 v1.41-1 (STABLE)
     492v1.41-1 (2002-03-21)
    509493- record hostname (Krzysztof Dubowik)
    510494
    511 
    512 03-10-2002
    513 """"""""""
    514 v1.40-7 (STABLE)
     495v1.40-7 (2002-03-10)
    515496- if '-L' then test for lzop; abort if not present
    516497- if Mondo cannot figure out which boot loader the user is using,
     
    521502- mkreiserfs -ff instead of -q (Andy Glass)
    522503
    523 
    524 03-03-2002
    525 """"""""""
    526 v1.40-6 (STABLE)
     504v1.40-6 (2002-03-03)
    527505- incorporated new config.guess, config.sub (H�tor Garc� �varez)
    528506- updated manual to explain tmpfs needs to be in kernel (Mikael Hultgren)
     
    533511- modified 'Sliced bigfile #n' log entry to say '..#(n+1)'
    534512
    535 
    536 02-24-2002
    537 """"""""""
    538 v1.40-5 (STABLE)
     513v1.40-5 (2002-02-24)
    539514- improved the way Mondo installs itself (Mikael Hultgren)
    540515- updated manpage
     
    549524- put (char*)(&buf) instead of &buf when reading/writing biggiefiles' info
    550525   
    551 
    552 02-17-2002
    553 """"""""""
    554 v1.40-3 (STABLE)
     526v1.40-3 (2002-02-17)
    555527- let user exclude devices from mountlist with (e.g.) -E /dev/hda1
    556528- handle one-letter dirs properly (Ian Kent)
     
    562534- Italian patch (Michael Baldessari)
    563535
    564 
    565 02-11-2002
    566 """"""""""
    567 v1.40-2 (STABLE)
     536v1.40-2 (2002-02-11)
    568537- fixed typo in manpage (Mikael Hultgren)
    569538- exclude "#"*"#" and *~ from tarball and source RPM
     
    574543- cdrecord is only required if burning CD's
    575544
    576 
    577 02-10-2002
    578 """"""""""
    579 v1.40-1 (STABLE)
     545v1.40-1 (2002-02-10)
    580546- set partition(s) bootable w/fdisk if appropriate
    581547- cosmetic bugfixes
     
    589555- exclude win386.swp from backup (Cafeole)
    590556
    591    
    592 02-07-2002
    593 """"""""""
    594 v1.38-2 (DEVELOPMENT)
     557v1.38-2 (2002-02-07)
    595558- minor improvements to the NFS-handling code
    596559- mondo-restore now records Mondo's version# in log
     
    598561- fix typo in '10 seconds to abort' line; also, made 20 seconds
    599562
    600 
    601 02-06-2002
    602 """"""""""
    603 v1.38-1 (DEVELOPMENT)
     563v1.38-1 (2002-02-06)
    604564- source code has been beautified (Stan Benoit)
    605565- makefile, Config implemented (Stan Benoit)
     
    616576- records+restores biggiefiles' permissions+ownership properly
    617577
    618 
    619 01-25-2002
    620 """"""""""
    621 v1.37-1 (DEVELOPMENT)
     578v1.37-1 (2002-01-25)
    622579- proper 'selective restore' interface implemented
    623580- if the user specifies boot loader or device, record those settings
     
    636593- abort if PC has <32MB of RAM at backup-time; warn if <64MB
    637594
    638 
    639 01-20-2002
    640 """"""""""
    641 v1.36-1 (DEVELOPMENT)
     595v1.36-1 (2002-01-20)
    642596- fixed v.minor bug in MakeFilelist()
    643597- in mondo-archive, replaced calls to Die() with calls to FatalError()
     
    657611- log versions of afio, bzip2, etc.
    658612
    659 
    660 01-10-2002
    661 """"""""""
    662 v1.35-1 (DEVELOPMENT)
     613v1.35-1 (2002-01-10)
    663614- NFS backup+restore support
    664615- exclude Win2K hiberation file (Paul Rensing)
     
    684635- tab-align /etc/fstab after hacking it
    685636
    686 
    687 12-25-2001
    688 """"""""""
    689 v1.34-1 (DEVELOPMENT)
     637v1.34-1 (2001-12-25)
    690638- if /sbin or /usr/sbin are not in PATH then add them temporarily
    691639- if --broken-bios then force LILO to run in backward-compatible mode
     
    697645  as it can upset the restoration of biggiefiles which are spread across CD's
    698646
    699 
    700 12-19-2001
    701 """"""""""
    702 v1.33-8 (DEVELOPMENT)
     647v1.33-8 (2001-12-19)
    703648- implemented --image-devs <dev> (<...>) switch
    704649- improved --verify switch's code
     
    715660- abort if user tries to backup a mounted partition as an _image_
    716661
    717 
    718 12-15-2001
    719 """"""""""
    720 v1.33-6 (DEVELOPMENT)
     662v1.33-6 (2001-12-15)
    721663- misc bugfixes
    722664
    723 
    724 12-14-2001
    725 """"""""""
    726 v1.33-5 (DEVELOPMENT)
     665v1.33-5 (2001-12-14)
    727666- improved error-reporting in the event of boot loader detection failure
    728667- improved tape verification code
    729668- experimental support for backing up and restoring devices as images
    730669
    731 
    732 12-13-2001
    733 """"""""""
    734 v1.33-4 (DEVELOPMENT)
     670v1.33-4 (2001-12-13)
    735671- updated FAQ
    736672- experimental GRUB support
     
    740676- when writing floppies, ask specifically for floppy #x (Randy Delfs)
    741677
    742 
    743 12-12-2001
    744 """"""""""
    745 v1.33-3 (DEVELOPMENT)
     678v1.33-3 (2001-12-12)
    746679- supports --boot-loader and --boot-device to let user specify them
    747680- fixed CDRW node autodetection bug
    748681- MONDO_PATH was misconfigured; is now "/usr/share/mondo"
    749682
    750 12-12-2001
    751 """"""""""
    752 v1.33-1 (DEVELOPMENT)
     683v1.33-1 (2001-12-12)
    753684- if user changes a partition's device, change it in raidtab too
    754685- don't extrapolate from /etc/raidtab to /tmp/mountlist; editor does it already
     
    765696  or added since the last complete backup
    766697
    767 
    768 12-09-2001
    769 """"""""""
    770 v1.32-2 (DEVELOPMENT)
     698v1.32-2 (2001-12-09)
    771699- if no RAID devices after editing mountlist then delete raidtab
    772700- don't try to mount RAID partitions (components of RAID dev)
     
    776704- when user selects RAID level, establish whether said level is available
    777705
    778 
    779 12-09-2001
    780 """"""""""
    781 v1.32 (DEVELOPMENT)
     706v1.32 (2001-12-09)
    782707- if user creates ISO images, the default dest dir is /root/images/mondo now
    783708- log_it() makes sure it only writes one \n on the end of each logged line
     
    797722- scratchdir is now [path]/mondo.scratch.$$; was just [path]/mondo.scratch
    798723
    799 
    800 12-04-2001
    801 """"""""""
    802 v1.31 (DEVELOPMENT)
     724v1.31 (2001-12-04)
    803725- turned on '-Wall' to find cruft; found lots of it; cleaned it up
    804726- exclude each device's lost+found directory
     
    831753  just end up looking very silly :)
    832754
    833 
    834 11-28-2001
    835 """"""""""
    836 v1.30 (DEVELOPMENT)
     755v1.30 (2001-11-28)
    837756- I have reorganized the C code, sorted the subroutines alphabetically, and
    838757  re-jigged Mondo's installation routines (inc. the RPM spec file) to reflect
     
    854773  executable is sane & will run OK at restore-time
    855774
    856 
    857 11-14-2001
    858 """"""""""
    859 v1.19
     775v1.19 (2001-11-14)
    860776- tested on Linux-Mandrake 8.0 and Red Hat 7.2; backup,wipe,restore went OK
    861777- fixed a bug in is_this_device_mounted()
     
    880796- each CD's slices were being listed to screen; now, piped to /dev/null
    881797
    882 
    883 10-28-2001
    884 """"""""""
    885 v1.18
     798v1.18 (2001-10-28)
    886799- changed minor error in documentation (mondo-archive's --help output)
    887800- improved Mondo's compare phase for tape users
    888801
    889 
    890 10-20-2001
    891 """"""""""
    892 v1.17
     802v1.17 (2001-10-20)
    893803- the deprecated scripts now work with LZO
    894804- if mondo-restore cannot mount all devices, it will _unmount_ whatever it did
     
    909819  Mindi's deplist.txt; add them if you want to use the scripts
    910820
    911 
    912 10-10-2001
    913 """"""""""
    914 v1.16
     821v1.16 (2001-10-10)
    915822- default scratchdir is `pwd`/mondo.scratch.$$ (was mondo.scratch)
    916823- when asking user to send me a log file, warn them that the log file may
     
    940847  politely direct them to Mindi :-)
    941848
    942 
    943 09-28-2001
    944 """"""""""
    945 v1.15
     849v1.15 (2001-09-28)
    946850- serialized the call to mondo-filelistchop.c; helps to improve visual feedback
    947851  (yeah, sounds weird but it's true)
     
    961865  a lot of testing to make sure Mondo would play nicely with the new Mindi
    962866
    963 
    964 09-18-2001
    965 """"""""""
    966 v1.14
     867v1.14 (2001-09-18)
    967868- if verify is enabled then verify each CD/ISO after writing it
    968869- fixed a quasi-bug in mondo/mount-me; this script used 'sort +1' which is
     
    1000901- modularized the install.sh and mondo-1.14-x.i386.rpm compilation sections
    1001902
    1002 
    1003 09-01-2001
    1004 """"""""""
    1005 v1.13
     903v1.13 (2001-09-01)
    1006904- fixed some compiler warnings in mondo-newt.c; rearranged some code
    1007905- mondo-tarme now uses -M 16m -t 4k in its call to afio, to improve performance
     
    1042940- added lots of sanity-checking to mountlist editor
    1043941
    1044 
    1045 08-18-2001
    1046 """"""""""
    1047 v1.12
     942v1.12 (2001-08-18)
    1048943- changed cdrecord's FIFO size to 8MB
    1049944- removed -pad and -sort from the call to mkisofs
     
    1069964- updated the FAQ
    1070965
    1071 
    1072 08-12-2001
    1073 """"""""""
    1074 v1.10
     966v1.10 (2001-08-12)
    1075967- changed cdrecord's FIFO size back to 4MB
    1076968- added -pad -sort to the call to mkisofs
     
    1092984- working on Cuckoo Mode...
    1093985
    1094 
    1095 08-02-2001
    1096 """"""""""
    1097 v1.09
     986v1.09 (2001-08-02)
    1098987- default compression level is now 3 (was 2)
    1099988- retry/fail/abort loop bug fixed
     
    1101990  my temp dir and to put the images in my 'images' folder
    1102991
    1103 
    1104 07-28-2001
    1105 """"""""""
    1106 v1.08
     992v1.08 (2001-07-28)
    1107993- offer to Retry/Fail/Abort if an error occurs when Mondo tries to burn a CD-R
    1108994- warn if kernel is 2.4.[0-5] (could have buggy loopfs code)
    1109995- tested with RAID-5 --- works fine :-)
    1110996
    1111 
    1112 07-22-2001
    1113 """"""""""
    1114 v1.07
     997v1.07 (2001-07-22)
    1115998- fixed cosmetic mistake in an error msg in mondo-tarme ('continue'-related)
    1116999- hack-fstab now uses "defaults 0 0" instead of "default 1 3" when making
     
    11311014- mondo-restore.c is now compiled statically
    11321015
    1133 
    1134 07-19-2001
    1135 """"""""""
    1136 v1.06
     1016v1.06 (2001-07-19)
    11371017- now software-RAID compatible
    11381018- install.sh only compiles mondo-restore.c once now
     
    11431023- for each /dev/md* device in the mountlist, run raidstop before mkraid
    11441024
    1145 
    1146 07-16-2001
    1147 """"""""""
    1148 v1.05
     1025v1.05 (2001-07-16)
    11491026- patch from DoJ to make install.sh compile with -O2, not -O
    11501027- cosmetic changes to the biggiefile-slicing code
    11511028- fixed install.sh
    11521029
    1153 
    1154 07-15-2001
    1155 """"""""""
    1156 v1.04
     1030v1.04 (2001-07-15)
    11571031- make-me-bootable only "boot-makes" each partition ONCE now
    11581032- cosmetic changes to mondo-restore's logfile output
     
    11601034- should be able to cope with Red Hat's "LABEL=" messages in /etc/fstab
    11611035
    1162 
    1163 07-14-2001
    1164 """"""""""
    1165 v1.03
     1036v1.03 (2001-07-14)
    11661037- looks for /etc/lilo.conf; aborts if it cannot locate it
    11671038- abort if burning CD's & verify level>=2 (must be 1 or 0 if burning CD's)
     
    11801051  last N days (N specified by user)
    11811052
    1182 
    1183 07-07-2001
    1184 """"""""""
    1185 v1.02
     1053v1.02 (2001-07-07)
    11861054- retract the CD tray after asking user to enter 'continue' (PauseAndAskForCDR)
    11871055- uses C program instead of bash loop for PauseAndAskForCDR; some bash versions
     
    11981066- can accept multiple parameters in the '--bkpath' switch
    11991067
    1200 07-04-2001
    1201 """"""""""
    1202 v1.00
     1068v1.00 (2001-07-04)
    12031069- thanks to recent changes to Mindi, Mondo is now compatible with the
    12041070  filesystem formats JFS, ext3, ReiserFS, XFS and ext2 (if your own kernel is)
     
    12221088  8MB less than its max size, which wasted 8-10MB of storage space per disk
    12231089
    1224 
    1225 03-15-2001
    1226 """"""""""
    1227 v0.99
     1090v0.99 (2001-03-15)
    12281091- /proc and /tmp removed --- i.e. added to exclude list :)
    12291092- Mondo now uses 2.4-series kernel and modules (Bruno Cornec)
     
    12331096- incorporated Mondo v0.977's restore scripts' bugfixes (Maciej Kulasa)
    12341097
    1235 
    1236 03-06-2001
    1237 """"""""""
    1238 v0.981
     1098v0.981 (2001-03-06)
    12391099- put 'dd' in coolstuff.tgz (Art Wells)
    12401100
    1241 
    1242 02-26-2001
    1243 """"""""""
    1244 v0.98
     1101v0.98 (2001-02-28)
    12451102- INSTALL script renamed to install.sh
    12461103- tarball cleaned up and re-tarred (Art Wells)
     
    12481105- work is underway to make Mondo compatible with the Linux kernel's 2.4 series
    12491106
    1250 02-28-2001
    1251 """"""""""
    1252 v0.977
     1107v0.977 (2001-02-26)
    12531108- based on v0.976
    12541109- missing subs and silly typos fixed in restore scripts (Maciej Kulasa)
     
    12561111- Mondo is being actively developed again (yippee!)
    12571112
    1258 09-01-2000
    1259 """"""""""
    1260 v0.976
     1113v0.976 (2000-09-01)
    12611114- technical changes
    12621115  - 12MB ramdisk
     
    12811134  - changed lots of 'grep " $string "' to 'grep -w "$string"' (thanks, Matija)
    12821135
    1283 07-03-2000
    1284 """"""""""
    1285 v0.975 published
     1136v0.975 (2000-07-03)
    12861137- made mondo-tarme use 'ask-me-a-question' to pause for new, blank CD-Rs
    12871138- don't deeply search isodir for ISO files to wipe: maxdepth should be 1
     
    12961147- ramdisk is now 14MB
    12971148
    1298 06-16-2000
    1299 """"""""""
    1300 v0.972 published
     1149v0.972 (2000-06-16)
    13011150- auto-archive, mondo-archive and mondo-tarme updated to make them more
    13021151  friendly towards mult-disk sets
    13031152- if multiple CDRW drives, user is asked which mondo-archive should use
    13041153
    1305 06-14-2000
    1306 """"""""""
    1307 v0.971 published
     1154v0.971 (2000-06-14)
    13081155- auto-archive now passes CD size to mondo-archive
    13091156- mondo-tarme, in conjunction with auto-archive, now handles CDRW boot/burn
    13101157  sharing much better than before
    13111158
    1312 06-10-2000
    1313 """"""""""
    1314 v0.970 published
     1159v0.970 (2000-06-10)
    13151160- kernel now creates 12MB ramdrive (was 16MB)
    13161161- lots of silly bugs & overhead problems fixed; 2nd floppy closer to working
     
    13291174- nicer help screens on boot floppy
    13301175
    1331 06-03-2000
    1332 """"""""""
    1333 v0.965 released
     1176v0.965 (2000-06-03)
    13341177- 2MB of space left empty at end of every CD (e.g. 650MB is only 648MB full)
    13351178- Suzhe & Lonius's SmartBootManager (sbminst) is used instead of Win98's MBR
     
    13371180- silly bugs in prep-me... fixed
    13381181
    1339 06-02-2000
    1340 """"""""""
    1341 v0.964 released
     1182v0.964 (2000-06-02)
    13421183- VFAT partitions >8GB handled OK now
    13431184- 2nd floppy (optionally) created for SCSI users <--- not working yet
     
    13471188- 'resize hack' retitled as 'vacuum-pack'
    13481189
    1349 05-31-2000
    1350 """"""""""
    1351 v0.963 released
     1190v0.963 (2000-05-31)
    13521191- ISO images are no longer padded
    13531192- all currently-loaded modules are backed up to custom hboot.img & installed
     
    13671206  Lin/Win and Linux-only PCs)
    13681207
    1369 05-25-2000
    1370 """"""""""
    1371 v0.962 released
     1208v0.962 (2000-05-25)
    13721209- silly bug in mondo-checksum fixed
    13731210- stale tmp dirs are now definitely deleted (bug fixed)
     
    13831220- Mondo will now archive and restore Linux AND LinWin systems ok. W00H00! :-)
    13841221
    1385 05-23-2000
    1386 """"""""""
    1387 v0.961 released
     1222v0.961 (2000-05-23)
    13881223- mondo-checksum ignores files <2k in length
    13891224- default compression level is 4
     
    13941229- fixed bug in 'hack-fstab' which stopped processing fstab if blank line found
    13951230
    1396 05-22-2000
    1397 """"""""""
    1398 v0.960 released
     1231v0.960 (2000-05-22)
    13991232- mondo-vfat-1.0 package released, to provide kludging for VFAT bootables
    14001233- logfile now saved at /var/log/mondo-archive.log (not `pwd`/mondo-archive.log)
     
    14081241- really ugly boot kludge has been implemented, using embleer files
    14091242  to make newly-formatted VFAT partitions bootable
    1410 
    1411 [snip]
    1412 ...see CHANGES.pre-v0.96 for the rest (if you can find it)
    1413 
    1414 
    1415 
    1416 
    1417 
    1418 
    1419 
    1420 
  • trunk/mondo/mondo/autorun

    • Property unix-mode set to yes
  • trunk/mondo/mondo/common/libmondo-files.c

    r618 r649  
    11581158    fprintf(fout, "    echo $i | grep -qi ipconf= && ipconf=`echo $i | cut -d= -f2`\n");
    11591159    fprintf(fout, "done\n");
    1160     fprintf(fout, "grep -q \"dhcp\" \"$ipconf\"\n");
     1160    fprintf(fout, "echo \"$ipconf\" | grep -q \"dhcp\"\n");
    11611161    fprintf(fout, "if [ $? = 0 ]; then\n");
    11621162    fprintf(fout, "    ipdev=`echo $ipconf | cut -d: -f1`\n");
    1163     fprintf(fout, "    udhcpc -i $ipdev\n", );
     1163    fprintf(fout, "    udhcpc -i $ipdev\n");
    11641164    fprintf(fout, "else\n");
    11651165    fprintf(fout, "    if [ \"$ipconf\" != \"\" ]; then\n");
  • trunk/mondo/mondo/mondoarchive/mondo-cli.c

    r618 r649  
    312312            if (q != NULL) {
    313313                *q = '\0';
    314                 p = q+1 ;
    315314                if (stat(p, &buf) != 0) {
    316315                    log_msg(1, "ERROR ! %s doesn't exist", p);
    317316                    fatal_error("ERROR ! You specified a directory to include which doesn't exist");
    318317                }
     318                p = q+1 ;
    319319            } else {
    320320                if (stat(p, &buf) != 0) {
     
    548548            if (q != NULL) {
    549549                *q = '\0';
    550                 p = q+1 ;
    551550                if (stat(p, &buf) != 0) {
    552551                    log_msg(1, "WARNING ! %s doesn't exist", p);
    553552                }
     553                p = q+1 ;
    554554            } else {
    555555                if (stat(p, &buf) != 0) {
  • trunk/tools/DISTROS

    r618 r649  
    99rhel_4
    1010suse_10.0
     11suse_10.1
    1112sles_9
    1213gentoo_2006
  • trunk/tools/common-env

    r588 r649  
    1212export TMPDIR=
    1313export TMP=`mktemp -d -p /tmp`
     14
     15umask 022
  • trunk/tools/mknewtag

    r618 r649  
    3535nb=`svn diff $TOOLHOME/.. | wc -l`
    3636if [ $nb -gt 0 ]; then
    37     echo "You'll have to check in order before updating the TAG"
     37    echo "You'll have to check in before updating the TAG"
    3838    echo "$TAG" > $TOOLHOME/TAG
    3939else
     40    for p in mindi mondo; do
     41        grep -q "${VER}-${TAG}" $TOOLHOME/../$p/Changelog
     42        if [ $? -ne 0 ]; then
     43            echo "You'll have to document in ${p}'s Changelog for ${VER}-${TAG} related modifications"
     44            exit -1
     45        fi
     46    done
    4047    echo "$TAG" > $TOOLHOME/TAG
    4148    (cd $TOOLHOME/.. ; svn ci -m "Automatic update of TAG to $TAG" ; svn up)
  • trunk/tools/pkg2mdv

    r600 r649  
    6262    # Use mkrel for mdv
    6363    perl -pi -e 's/define mrel[ \t]+([0-9]+)\..*/define mrel    %mkrel \$1/' rpm/SPECS/\$s
    64     perl -pi -e 's/ Bruno Cornec <bruno@mondorescue.org> ([0-9]+)\..*/define mrel   %mkrel \$1/' rpm/SPECS/\$s
     64    perl -pi -e 's/ Bruno Cornec <bruno@mondorescue.org> ([0-9]+.*)/ Bruno Cornec <bcornec@mandriva.org> %{version}-%{release}/' rpm/SPECS/\$s
     65    rm -rf rpm/BUILD/*
    6566    rpmbuild -ba rpm/SPECS/\$s 2>&1 | tee -a /tmp/mondorescue.log
    6667done
    6768apkg=\`egrep "^Wrote:" /tmp/mondorescue.log | grep -v debug | cut -d: -f2\`
    68 sudo ftpcontrib \$apkg
    69 rm -f $ppkg
     69aspkg=\`echo \$apkg | egrep "\.src.rpm"\`
     70for d in 2006 200664; do
     71    scp -p \$aspkg chroot\${d}:
     72    ssh chroot\${d} "for p in $aspkg; do rpm -ivh \`basename \$p\` ; rpmbuild -ba rpm/SPECS/\$s | tee -a /tmp/mondorescue.log ; done ; sudo ftp\${d}contrib \`egrep '^Wrote:' /tmp/mondorescue.log | grep -v debug | cut -d: -f2\`"
     73done
     74for p in \$apkg; do
     75    sudo ftpcontrib \$p
     76done
     77rm -f \$ppkg
    7078EOF
    7179chmod 755 /tmp/mkmondo
  • trunk/tools/qemu-vm.txt

    r600 r649  
    44
    55# RPM based : urpmi, yum install, yast2
    6     neon newt-devel slang-devel autoconf automake subversion libtool gcc rpm-build wget vim-X11 gcc-c++ docbook-utils-pdf ImageMagick man docbook-dtd41-sgml groff lynx
     6    neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget vim-X11 gcc-c++ docbook-utils-pdf ImageMagick man patch
    77
    88# gentoo
     
    4747mkdir -p mondo/tmp build
    4848cat > ~bruno/.rpmmacros << EOF
    49 %_topdir    /home/bruno/build
     49%_topdir    /users/bruno/build
    5050%_tmppath   %{_topdir}/tmp
    5151%packager   Bruno Cornec <bruno@mondorescue.org>
     
    7272wget ftp://ftp.mondorescue.org/src/buffer-1.19-1.src.rpm
    7373rpm -ivh afio-2.4.7-1.src.rpm buffer-1.19-1.src.rpm
    74 rpmbuild -ba RPMS/SPECS/afio.spec
    75 rpmbuild -ba RPMS/SPECS/buffer.spec
    76 chmod 644 RPMS/RPMS/i386/*
    77 scp -p RPMS/RPMS/i386/afio-[0-9]* RPMS/RPMS/i386/buffer-[0-9]* ftp.mondorescue.org:/mondo/ftp/rhel/3/
     74mkdir -p build/BUILD build/RPMS/i386
     75rpmbuild -ba build/SPECS/afio.spec
     76rpmbuild -ba build/SPECS/buffer.spec
     77chmod 644 build/RPMS/i386/*
     78scp -p build/RPMS/i386/afio-[0-9]* build/RPMS/i386/buffer-[0-9]* ftp.mondorescue.org:/mondo/ftp/rhel/3/
    7879
    7980
  • trunk/tools/svn2build

    r600 r649  
    66#
    77
    8 umask 022
    98dname=`dirname $0`
    109prem=`echo $dname |cut -c1`
     
    7574            m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec
    7675
    77             if [ -f $dest/distributions/$ddir/changelog ]; then
    78                 log=$dest/distributions/$ddir/changelog
    79             elif [ -f $dest/distributions/$dfam/changelog ]; then
    80                 log=$dest/distributions/$dfam/changelog
    81             else
    82                 echo "Unable to build RPM changelog for this distro. Please report to authors"
     76            $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/$p.spec
     77            if [ $? -ne 0 ]; then
     78                echo "Unable to create changelog for ${ddir}-$dver/$p.spec"
    8379                exit -1
    8480            fi
    8581
    86             echo "Using $log customization to build changelog file"
    8782            ddate=`LANG=C ; date "+%a %b %d %Y"`
    8883            cat > $dest/distributions/${ddir}-$dver/$p.changelog.new << EOF
     
    9186
    9287EOF
    93             cat $log >> $dest/distributions/${ddir}-$dver/$p.changelog.new
    94             m4 /tmp/mondorescue.mc $dest/distributions/${ddir}-$dver/$p.changelog.new >> $dest/distributions/${ddir}-${dver}/$p.spec
    95             rm -f $dest/distributions/${ddir}-$dver/$p.changelog.new
    96 
    9788        elif [ "$dtype" = "ebuild" ]; then
    9889            m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild
  • trunk/website/latest-news.html

    r618 r649  
    1 <p><B>2006-05-31 </B>Mondo 2.0.8 / Mindi 1.0.8 available</p>
     1<p><B>2006-06-02 </B>Mondo 2.0.8-2 / Mindi 1.0.8-2 available</p>
     2<p>
     3It turned out that mindi 1.0.8-1 had bugs at least on RHEL 4 and also I wanted a new function for PXE deployment (change of NIC), so here are mondo 2.0.8-2 / mindi 1.0.8-2.
     4</p>
     5<p>
     6Available for the 11 distributions supported as the usual place <a href="ftp://ftp.mondorescue.org/">ftp://ftp.mondorescue.org/</a>
     7</p>
     8<p>
     9<b>CAUTION:</b> The ipconf parameter used for PXE deployment has changed and its syntaxt is NOT compatible with the previous one. You now need to precise first the NIC on which you will deploy. Look at mindi's README.pxe for details.
     10</p>
     11<p><B>2006-05-31 </B>Mondo 2.0.8-1 / Mindi 1.0.8-1 available</p>
    212<p>
    313I'm happy to announce the availability of a newest version of
Note: See TracChangeset for help on using the changeset viewer.