Changeset 588 in MondoRescue for trunk/mindi


Ignore:
Timestamp:
May 29, 2006, 11:47:20 AM (18 years ago)
Author:
bcornec
Message:

merge -r 560:587 $SVN_M/branches/stable

Location:
trunk/mindi
Files:
38 edited
7 copied

Legend:

Unmodified
Added
Removed
  • trunk/mindi/ChangeLog

    r295 r588  
    33MINDI CHANGES
    44
    5 1.07 ()
     51.0.8 (2006-05-25)
     6- new build process (Bruno Cornec)
     7- Fix a bug when a disk less than 2.8 MB can be built, to
     8  include enough modules to support SCSI cds
     9  (Bruno Cornec)
     10- Fix a bug in .spec for RPM build (%attr now unused)
     11  (Bruno Cornec)
     12- Add support for LABEL on swap partitions
     13  (Michel Loiseleur + Julien Pinon)
     14- Attempt to fix bug 6827 (addition of a script for
     15  busybox udhcpc to support pxe/dhcp restore)
     16  (Bruno Cornec)
     17- support of dm and LVM v2 (Andree Leidenfrost)
     18- analyze-my-lvm is under $MINDI_LIB (Andree Leidenfrost)
     19- Fix a bug introduced by trying to avoid an error
     20  message when modprobe.d doesn't exist
     21  (Johannes Franken)
     22- Fix for Bug #6975 (/net is now excluded from kernel search location)
     23  (Bruno Cornec)
     24- Allow 5670 MB fllopy disks for lilo as well (Bruno Cornec)
     25- Add missing net modules (Klaus Ade Johnstad)
     26
     271.0.7 (2006-03-10)
     28- Fix issue for 2.6 kernels with VIA chipsets (Andree Leidenfrost)
    629- stop creating further size of floppy disks if the smaller one succeeds
    730  (Bruno Cornec)
  • trunk/mindi/README.ia64

    r197 r588  
    1919Note that parted2fdisk.pl supports currently only the -l and -s options as well as the commands p,n,d,w,t,a,q
    2020
    21 Please report any problem around that tool to bcornec@users.berlios.de
     21Please report any problem around that tool to bruno@mondorescue.org
    2222Bruno.
    2323
  • trunk/mindi/README.pxe

    r262 r588  
    2727During boot mondorestore will start your NFS configuration and mount mondo's content from the network rather than from a physical media. You may alter the IP configuration stored from the original machine by passing the ipconf option describing respectively the IP address, netmask, broadcast and default gateway you want to setup for the machine, separated by ':'. Or alternatively, you may specify the dhcp keyword so that a DhCP request is made to get those information. On some configurations, you may also want to increase the number of ping queries made before the NFS mount, which is of 3 by default, using the ping option and give the number you want.
    2828
    29 Please report any problem around that tool to bcornec@users.berlios.de
     29Please report any problem around that tool to bruno@mondorescue.org
    3030
    31312005-12-18 new ipconf and ping option
  • trunk/mindi/aux-tools/sbin

    • Property svn:unix-mode set to mindi/aux-tools/
  • trunk/mindi/aux-tools/usr

    • Property svn:unix-mode set to mindi/aux-tools/
  • trunk/mindi/aux-tools/usr/share

    • Property svn:unix-mode set to mindi/aux-tools/
  • trunk/mindi/aux-tools/usr/share/terminfo

    • Property svn:unix-mode set to mindi/aux-tools/
  • trunk/mindi/aux-tools/usr/share/terminfo/l

    • Property svn:unix-mode set to mindi/aux-tools/
  • trunk/mindi/distributions/gentoo/mindi.ebuild

    r561 r588  
    1 # Copyright 1999-2005 Gentoo Foundation
     1# Copyright 1999-2004 Gentoo Foundation
    22# Distributed under the terms of the GNU General Public License v2
     3# $Header: $
     4
    35# $Id$
    4 # $Header$
    56
    67DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules."
  • trunk/mindi/distributions/rpm/mindi.spec

    r561 r588  
    5252
    5353%files
    54 %defattr(644,root,root,755)
    5554%config(noreplace) %{_sysconfdir}/mindi
    5655%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
     
    6059%{_mandir}/man8/*
    6160%{_libdir}/mindi
    62 %attr(755,root,root) %{_sysconfdir}/mindi/mindi.conf
    63 %attr(755,root,root) %{_sbindir}/*
    64 %attr(755,root,root) %{_libdir}/mindi/aux-tools/sbin/*
    65 %attr(755,root,root) %{_libdir}/mindi/rootfs/bin/*
    66 %attr(755,root,root) %{_libdir}/mindi/rootfs/sbin/*
     61%{_sysconfdir}/mindi/mindi.conf
     62%{_sbindir}/*
    6763
    6864%changelog
  • trunk/mindi/install.sh

    r489 r588  
    118118fi
    119119
     120# Special case for Debian family where doc is put elsewhere in the DEB
     121if [ _"$dfam" = _"debian" ]; then
     122    rm -rf $DOCDIR
     123fi
     124
    120125exit 0
  • trunk/mindi/mindi

    r561 r588  
    510510    if [ "$?" -ne "0" ] ; then
    511511    umount $mountpoint
    512     Die "Tarball $tarball is too big for disk! (CODI)\nTell dev team to adjust MAX_COMPRESSED_SIZE"
     512    Die "Tarball $tarball is too big for disk! (CODI)\nTell Dev Team to adjust MAX_COMPRESSED_SIZE"
    513513    fi
    514514    [ "$diskno" -eq "$noof_disks" ] && echo "This is the last disk ($diskno=$noof_disks)" >> $mountpoint/LAST-DISK
     
    757757    pwd=`pwd`
    758758    if [ "$YOUR_KERNEL_SUCKS" ] ; then
    759     cd $TMP_ROOT
    760     else
    761     cd /
     759        cd $TMP_ROOT
     760    else
     761        cd /
    762762    fi
    763763    if [ ! -e "$1" ] ; then
    764     LogIt "Warning - cannot search specific path '$1'\n"
    765     return 1
     764        LogIt "Warning - cannot search specific path '$1'\n"
     765        return 1
    766766    fi
    767767    modpaths=`find $1 -name $2.*o -type f`
     
    12741274    echo "echo -en \"Loading your modules...\"" >> $outfile
    12751275    if [ "$YOUR_KERNEL_SUCKS" ] ; then
    1276     kver=$FAILSAFE_KVER
    1277     cd $TMP_ROOT
    1278     searchpath=lib/modules/$kver
     1276        kver=$FAILSAFE_KVER
     1277        cd $TMP_ROOT
     1278        searchpath=lib/modules/$kver
    12791279    else
    12801280###
     
    12911291### Sq-Modification end
    12921292###
    1293     searchpath=/lib/modules/$kver
     1293        searchpath=/lib/modules/$kver
    12941294    fi
    12951295   
     
    27852785    old_pwd=`pwd`
    27862786    if [ "$YOUR_KERNEL_SUCKS" ] ; then
    2787     cd $TMP_ROOT
    2788     floppy_modules_path=lib/modules/$FAILSAFE_KVER
    2789     else
    2790     cd /
     2787        cd $TMP_ROOT
     2788        floppy_modules_path=lib/modules/$FAILSAFE_KVER
     2789    else
     2790        cd /
    27912791###
    27922792### Sq-Modification... Use kernel name in module path if specified.
     
    27952795        if [ "${kernelname}" != "" ]
    27962796        then
    2797           floppy_modules_path=lib/modules/${kernelname}
     2797            floppy_modules_path=lib/modules/${kernelname}
    27982798        else
    2799           floppy_modules_path=lib/modules/`uname -r`
     2799            floppy_modules_path=lib/modules/`uname -r`
    28002800        fi
    28012801###
     
    28052805    floppy_modules=""
    28062806    if [ "$disksize" -lt "2880" ] ; then
    2807         list_of_groovy_mods="$FLOPPY_MODS `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`"
     2807        list_of_groovy_mods="$FLOPPY_MODS $IDE_MODS ide-scsi sr_mod cdrom isocd isofs `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`"
    28082808    else
    28092809        list_of_groovy_mods="$CDROM_MODS `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`"
     
    28202820    [ -e "$floppy_modules_path" ] || LogIt "path $floppy_modules_path does not exist.\n If you're not using a modular kernel then you're NUTS.\n"
    28212821    for i in $list_of_groovy_mods ; do
    2822     floppy_modules="$floppy_modules `FindSpecificModuleInPath $floppy_modules_path $i`"
     2822        floppy_modules="$floppy_modules `FindSpecificModuleInPath $floppy_modules_path $i`"
    28232823    done
    28242824    for i in $floppy_modules ; do
    28252825        [ -e "$i" ] && s=`du -sk $i | cut -f1` || s=""
    2826     [ "$YOUR_KERNEL_SUCKS" ] && i=$TMP_ROOT/$i
    2827     echo "Adding $i ($s KB) to the rootfs" >> $LOGFILE
    2828     cp -df $i $mountpoint/ || LogIt "Unable to copy $i to $mountpoint\n"
    2829     [ "`echo "$i" | fgrep ".gz"`" ] && gunzip -f $mountpoint/`basename $i`
     2826        [ "$YOUR_KERNEL_SUCKS" ] && i=$TMP_ROOT/$i
     2827        echo "Adding $i ($s KB) to the rootfs" >> $LOGFILE
     2828        cp -df $i $mountpoint/ || LogIt "Unable to copy $i to $mountpoint\n"
     2829        [ "`echo "$i" | fgrep ".gz"`" ] && gunzip -f $mountpoint/`basename $i`
    28302830    done
    28312831#    if [ -e "/dev/.devfsd" ] ; then
     
    28992899    while [ "$diskno" -le "$noof_disks" ] ; do
    29002900        cd $minidir_root/$diskno || LogIt "Warning - cannot cd to $minidir_root/$diskno\n"
    2901         tar -cf - . 2>> $LOGFILE | gzip -9 > $tardir/$diskno.tar.gz || Die "Can't tar/gzip disk#$diskno; please tell dev team -exactly- what the errors where."
     2901        tar -cf - . 2>> $LOGFILE | gzip -9 > $tardir/$diskno.tar.gz || Die "Can't tar/gzip disk#$diskno; please tell Dev Team -exactly- what the errors where."
    29022902        diskno=$(($diskno+1))
    29032903        echo -n "..."
  • trunk/mindi/parted2fdisk.pl

    r226 r588  
    44#
    55# parted2fdisk: fdisk like interface for parted
    6 # [developped for mindi/mondo http://mondorescue.berlios.de]
     6# [developped for mindi/mondo http://www.mondorescue.org]
    77#
    88# Aims to be architecture independant (i386/ia64)
  • trunk/mindi/rootfs/bin

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/dev

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/etc

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/lib

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/proc

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/root

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/sbin

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/sbin/init

    r430 r588  
    566566{
    567567    echo "********************************************************************"
    568     echo "MINDI-LINUX by Hugo Rabson --- web site: http://www.mondorescue.org"
     568    echo "MINDI-LINUX by Mondo Dev Team - web site: http://www.mondorescue.org"
    569569    echo "Boot disk based on AlfaLinux & Trinux. BusyBox by Erik Andersen."
    570570which petris > /dev/null 2> /dev/null && echo "Petris was written by Peter Seidler <p.seidler@mail1.stofanet.dk>."
  • trunk/mindi/rootfs/tmp

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/usr

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/X11R6

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/X11R6/bin

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/X11R6/lib

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/bin

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/usr/lib

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/local

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/local/bin

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/local/sbin

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/sbin

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/share

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/share/udhcpc

    • Property svn:unix-mode set to bin
  • trunk/mindi/rootfs/usr/share/udhcpc/default.script

    • Property svn:executable set to *
  • trunk/mindi/rootfs/var

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/var/log

    • Property svn:unix-mode set to mindi/rootfs/
  • trunk/mindi/rootfs/var/run

    • Property svn:unix-mode set to mindi/rootfs/
Note: See TracChangeset for help on using the changeset viewer.