Changeset 426 in MondoRescue for trunk/mindi
- Timestamp:
- Feb 23, 2006, 4:09:24 PM (19 years ago)
- Location:
- trunk/mindi
- Files:
-
- 6 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/distributions/rpm/mindi.spec
r403 r426 9 9 %define addreqb bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools 10 10 %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} 19 12 20 13 Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules … … 37 30 verify packages, etc. 38 31 39 %debug_package40 32 %prep 41 33 %{__rm} -rf $RPM_BUILD_ROOT … … 62 54 63 55 %post 64 for i in %{_libdir}/mindi/aux-tools/sbin/* %{_libdir}/mindi/rootfs/bin/* %{_libdir}/mindi/rootfs/sbin/* ; do65 if [ ! -h $i ]; then66 %{__chmod} 755 $i67 fi68 done69 56 if [ -f /usr/local/sbin/mindi ]; then 70 57 echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !" … … 75 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 76 63 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 77 %{_mandir} 64 %{_mandir}/man8/* 78 65 %{_libdir}/mindi 79 66 %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/* 80 70 81 71 %changelog 82 * Fri Feb 16 2006 Bruno Cornec <bcornec@users.berlios.de> 1.0.783 - Updated to 1.0.784 - RPMS spec are now generated instead of using '%' variables85 86 * Fri Nov 05 2005 Bruno Cornec <bcornec@users.berlios.de> 1.0587 - ia64 is now working88 - use install.sh script89 - use libdir for binary data90 91 * Tue Sep 06 2005 Bruno Cornec <bcornec@users.berlios.de> 1.04_berlios92 - Merge of patches mentionned on mondo ML + ia64 updates93 - Fix bugs when called alone94 95 * Tue May 03 2005 Hugo Rabson <hugorabson@msn.com> 1.04_cvs_2005050396 - supports exec-shield97 98 * Wed Aug 04 2004 Hugo Rabson <hugorabson@msn.com> 1.0399 - better support of SLES 8100 101 * Mon Jun 28 2004 Hugo Rabson <hugorabson@msn.com> 1.02102 - better kernel-level logging103 - added ACL, xattr binaries to deplist.txt104 - fixed obscure bug which occasionally stopped mindi from correctly finding105 and documenting all LVM2 LVM-on-RAID volumes106 107 * Fri Jun 25 2004 Hugo Rabson <hugorabson@msn.com> 1.01108 - added ide_tape and other modules to mindi's config detection109 - unmount errant ramdisk ($mtpt) if fail to create boot floppy110 - better support of ISO dirs at restore-time (Conor Daly)111 112 * Fri Jun 18 2004 Hugo Rabson <hugorabson@msn.com> 1.00113 - first 1.0x release114 - busybox now static115 - trap Ctrl-Alt-Del; trigger soft reset116 - better SuSE 9.1 support117 - 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 Mondo121 - updated busybox to 1.0.0pre10122 - removed uClibc123 - add memtest support124 - 2.6 kernel support125 - removed Embleer files (Andree Leidenfrost)126 - added kernel-only floppy support, to accommodate really big kernels127 - updated+rebuilt busybox128 - added star support129 - mount /sys at boot-time130 - better 64-bit and 2.6 kernel support131 - better LVM, failsafe kernel support (Jim Richard)132 - use LILO, not raw kernel, on 1.4MB boot floppy133 - record names of unsaved modules, for future reference134 - enlarged ramdisk by 8MB135 136 * Wed Oct 22 2003 Hugo Rabson <hugorabson@msn.com> 0.95137 - changed some '==' to '=' --- now more RH6-friendly138 - allow absolute pathnames again in deplist139 - disable multifunc cd thing140 - better Gentoo support (Bill)141 - better OnStream support142 - better Slackware support (Laurenz)143 - added partimagehack-static to deplist.txt144 - recompiled Busybox - now 10k smaller; better stack-handling145 - fixed boot screen typo146 - added support for 'auto' fs format147 - better devfs support for Mandrake users148 - better Debian+LVM support (Ralph Grewe)149 - updated analyze-my-lvm to handle floating-point gigabyte -L values150 151 * Thu Jul 24 2003 Anonymous <root@rohan> 0.94152 - altered rootfs's /dev entry to stop cvs from becoming confused153 - tweaked MAX_COMPRESSED_SIZE154 - added multi-function CD support to mindi and sbin/post-init155 - re-mount root as rw just in case156 - ask user to remove last data (floppy) disk if nec. (Tom Mortell)157 - added support for 5th column in mountlist.txt for labels158 - added symlinks.tgz159 - suppress erroneous error msgs re: failsafe kernel160 161 * Sun May 18 2003 Hugo Rabson <hugorabson@msn.com> 0.93162 - added cciss.o to SCSI_MODS163 - if format type is (e.g.) ext3,ext2 then use 1st entry164 - re-enabled fsck*165 - if cciss in use the enable it at boot-time166 - added /dev/ataraid/* to boot disk via ataraid.tgz (Luc S.)167 - better ISO support168 - tweaked Mindi to use 10-15% fewer floppies169 - added RUN_AFTER_INITIAL_BOOT_PHASE to let user specify a command170 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 command173 to be run by Mindi after it boots but before it runs mondorestore174 - allow for Debian & other Stiefkinder that use 'none', not 'swap'175 as the mountpoint of the swap partition176 - removed afio dependency177 - re-worked install.sh and tarball not to use tgz's178 - cleared up the boot msg179 - updated busybox to 0.60.5; updated uClibc to 0.9.19180 - add #!/bin/sh to start of insert-all-my-modules181 - fixed obscure bug in install-additional-tools182 - changed grep -m to grep | head -n1 for Debian users183 - moved vmlinuz, lib.tar.bz2 to mindi-kernel tarball/rpm184 185 * Wed Apr 09 2003 Hugo Rabson <hugorabson@msn.com> 0.92186 - fixed LVM/RAID bugs (Brian Borgeson)187 - if bad lilo, give more verbose error before quitting188 - added mt and perl to deplist.txt189 - insist on gawk being present190 - insmod ide-cd, cdrom, isofs, just in case191 - boot-time tmpfs ramdisk is now 40m (was 34m)192 - cleaned up logs193 - iso mode now calls Interactive194 - 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, users197 - made first line refer to bash, not sh, to make sure198 the Debian people know Mindi requires bash, not hs199 - changed grep -v "#" and grep -vx "#.*" to grep -vx " *#.*"200 - disabled code which would have made Mindi use sfdisk instead of fdisk201 if it looked as if Debian's fdisk would misbehave202 203 * Wed Feb 12 2003 Hugo Rabson <hugorabson@msn.com> 0.91204 - new devel branch205 - EXTRA_SPACE=16384206 - updated ResolveSoftlinks() to work better with b0rkn Gentoo devfs /dev207 - patched analyze-my-lvm (Benjamin Mampaey)208 - detect built-in boot.b files in lilo209 - 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 farked211 - better at finding isolinux.bin212 - better at analyzing dependencies when running on broken distributions213 - try harder to boot from CD, even if tape fails214 - added ADDITIONAL_BOOT_PARAMS to be sent to kernel215 - better resolution of relative softlinks, leading to fewer216 duplicates on data disks and therefore fewer data disks217 - detect Debian+devfs; use sfdisk instead of fdisk in that218 eventuality, to work around yet another of Debian's warts219 - removed /lib/libuuid.* from rootfs.tgz220 - fixed vi221 - mindi now uses gawk --traditional (making gawk behave in a functionally222 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 entry224 - 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_20021202228 - misc code clean-up229 - save boot device's boot sector230 - detect and beware Compaq diagnostic partitions231 - better handling of devfs V non-devfs kernels and boot devs232 - trimmed busybox 0.60.3 binary on boot disk233 - mindi now resides in /usr/local/bin234 - removed lilo from dependencies235 - more Gentoo-friendly236 237 * Sun Nov 18 2002 Hugo Rabson <hugo@firstlinux.net> 0.71238 - if your kernel's builddate doesn't match any of the kernels in239 your /boot directory then fudge the issue & find the closest240 match (*grumble* Debian)241 - scan tape & CD at start, to force inclusion of modules on boot device242 - double EXTRA_SPACE if >7 disks243 - slimmer, more lithesome logfile244 - now accepts --findkernel245 - line 1982 - dd count=24000 should be count=$ramdisksize (Andras Korn)246 - better handling of non-Linux partitions on DevFS-enabled kernels247 - misc clean-ups248 - fixed Debian/ramdisksize/bloat problem (Johannes Franken)249 - fixed 2.4.20/fdisk eccentricity (Alistair Stevens)250 - updated kernel to 2.4.18-mdk6251 - generate mountlist in dev-abetical order ;)252 - fixed minor bug in .spec file253 - better at finding /boot/boot.b if your distro breaks the de facto standard254 - fixed minor bug in MakeMountlist255 - fixed install.sh256 - cleaned up deplist.txt257 - added rudimentary -v / --version flag258 - line 1180 or so --- duplicate mindi.iso entries --- fixed259 - added /bin/[ - a softlink to /bin/sh260 - ListAllPartitions() - sanity fix (KP)261 - fixed .spec bug262 - better feedback263 - added Markus's RAID patch264 - ListAllPartitions() - include /mnt/win* (Hugo)265 266 * Sun Sep 08 2002 Hugo Rabson <hugo@firstlinux.net> 0.70267 - better logging by dependency-calculating code268 - better handling of dependencies, specifically softlinks269 - if called by mondo then use mondo's temp dir as our temp dir too270 - changed gawk to $AWK in a few places, to allow for Debian271 - added host* config files to deplist272 - added tftp, ifconfig to busybox273 - added RPC support to uClibc274 - cleaned up creation of Mondo-Mindi configuration file275 - fixed bug in TryToFindKernelPath which stopped it from handling276 multiple, same-version kernels gracefully277 - cleaned up deplist.txt278 - receive 'DIFFERENTIAL' variable from Mondo279 - 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.tgz283 - added x11-tools.tgz option284 - updated /dev/console and /dev/tty0 (Paul Stevens)285 - cleaned up /mnt/groovy-stuff V /tmp/tmpfs code286 - catch sigint, sighup, etc.287 - fixed LILO-related message.txt mistake288 - .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-1292 - fixed RH7.3 readonly bug293 - improved nfs config file creation294 - search more locations for isolinux.bin295 - added isonuke option296 - faster data disk creation297 - better DevFS support (Hector Alvarez, DuckX)298 - nfs-related fix (Hans Lie)299 - abort if vfat filesystem present but mkfs.vfat missing300 - removed softlink to pico301 - allow Mondo to say no compression will be used302 - added [ to ramdisk303 - tar data disks with -b [block size] of 32k304 - don't autoboot to 'RESTORE' screen - it's scary!305 - let user choose lilo or syslinux as boot loader306 - added syslinux support307 - cleaned up message screens308 -
trunk/mindi/mindi
r403 r426 628 628 [ "$MINDI_CONF" = "YYY" ] && Die "Mindi has not been installed correctly." 629 629 echo "MINDI_CONF = $MINDI_CONF" >> $LOGFILE 630 echo "MONDO_ LIB = $MONDO_LIB" >> $LOGFILE630 echo "MONDO_SHARE = $MONDO_SHARE" >> $LOGFILE 631 631 mkdir -p $CACHE_LOC 632 632 } … … 1613 1613 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?" 1614 1614 fi 1615 [ "$MONDO_ LIB" ] && cp -f $MONDO_LIB/autorun .1615 [ "$MONDO_SHARE" ] && cp -f $MONDO_SHARE/autorun . 1616 1616 if [ -d "/home/MondoCD" ] ; then 1617 1617 cp -pRdu /home/MondoCD/* . … … 2196 2196 tar -zxf $MINDI_LIB/x11-tools.tgz 2>> $LOGFILE || LogIt "Warning - error occurred while unzipping x11-tools.tgz\n" 2197 2197 fi 2198 if [ -e "$MONDO_ LIB/restore-scripts" ] ; then2199 cp -Rdf $MONDO_ LIB/restore-scripts/* . 2>> $LOGFILE2200 [ "$?" -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" 2201 2201 fi 2202 2202 [ -d "/lib/dev-state" ] && cp --parents -pRdf /lib/dev-state . … … 2811 2811 [ "$USE_LZO" = "yes" ] && echo -en "Pras 4 Pres 2004" >> $mountpoint/tmp/USING-LZO 2812 2812 [ "$USE_COMP" = "yes" ] && echo -en "Compression, yep" >> $mountpoint/tmp/USING-COMP 2813 [ "$USE_STAR" = "yes" ] && echo =en "Using star. Hooray." >> $mountpoint/tmp/USING-STAR2813 [ "$USE_STAR" = "yes" ] && echo -en "Using star. Hooray." >> $mountpoint/tmp/USING-STAR 2814 2814 fi 2815 2815 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
Note:
See TracChangeset
for help on using the changeset viewer.