Changeset 839 in MondoRescue for trunk/mindi


Ignore:
Timestamp:
Sep 26, 2006, 9:47:32 AM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r814:838 $SVN_M/branches/stable

Location:
trunk/mindi
Files:
6 deleted
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/mindi/ChangeLog

    r764 r839  
    22
    33MINDI CHANGES
     4
     51.2.0 (2006-09-25)
     6- busybox is now a separate package and binaries are not provided anymore in mindi (Bruno Cornec)
    47
    581.0.9 (2006-08-05)
  • trunk/mindi/README.busybox

    r137 r839  
    11Mindi uses the busybox (http://busybox.net) project to create the boot environement used during restore.
    22
    3 If you want to modify the busybox support, you have to:
    4 
    5 1/ Get busybox sources and extract them
    6 2/ Copy as a base the .config file from the mindi directory under the name .config in this source directory.
    7    3 files are proposed:
    8    .config-busybox-i386.net : Configure busybox for Network support (NFS, PXE)
    9    .config-busybox-i386     : Configure busybox for Normal support (CDs, DVD, Tapes)
    10    .config-busybox-ia64     : Configure busybox for Normal and Network support on ia64/Itanium
    11 3/ Reconfigure busybox (make menuconfig)
    12 4/ Rebuild the new busybox (make busybox)
    13 5/ copy the new busybox binary from that directory to rootfs/bin under the mindi source tree
    14    3 files are proposed:
    15    busybox-i386.net : busybox with Network support (NFS, PXE)
    16    busybox-i386     : busybox with Normal support (CDs, DVD, Tapes)
    17    busybox-ia64     : busybox with Normal and Network support on ia64/Itanium
    18 6/ Relaunch mindi or mondoarchive if you use it.
     3The best manner to use it is to also install our mindi-busybox package/tar file with your mindi installation.
     4If you rather want to install your distribution busybox, you'll have to check it supports all the required function our is providing, that it's place under /usr/lib/mindi/rootfs/bin/busybox and that ll required links are created.
  • trunk/mindi/distributions/rpm/mindi.spec

    r729 r839  
    1111Source:     SSS
    1212BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    13 Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools DDD
     13ExcludeArch: ppc
     14Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, busybox DDD
    1415OBS
    1516# Not on all systems
  • trunk/mindi/install.sh

    r649 r839  
    3636ARCH=`/bin/arch`
    3737echo $ARCH | grep -x "i[0-9]86" &> /dev/null && ARCH=i386 && locallib=$local/lib
    38 # For the moment, we don't build specific x86_64 busybox binaries
    39 echo $ARCH | grep -x "x86_64" &> /dev/null && ARCH=i386 && locallib=$local/lib64
     38echo $ARCH | grep -x "x86_64" &> /dev/null && locallib=$local/lib64
    4039echo $ARCH | grep -x "ia64" &> /dev/null && locallib=$local/lib
    4140export ARCH
     
    6867install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL svn.log $DOCDIR
    6968
    70 # Managing busybox
    71 if [ -f $locallib/mindi/rootfs/bin/busybox-$ARCH ]; then
    72         echo "Installing busybox ..."
    73         install -s -m 755 $locallib/mindi/rootfs/bin/busybox-$ARCH $locallib/mindi/rootfs/bin/busybox
    74 else
     69if [ ! -f $locallib/mindi/rootfs/bin/busybox ]; then
    7570        echo "WARNING: no busybox found, mindi will not work on this arch ($ARCH)"
    7671fi
    77 if [ "$ARCH" = "i386" ] ; then
    78     if [ -f $locallib/mindi/rootfs/bin/busybox-$ARCH.net ]; then
    79         echo "Installing busybox.net ..."
    80         install -s -m 755 $locallib/mindi/rootfs/bin/busybox-$ARCH.net $locallib/mindi/rootfs/bin/busybox.net
    81     else
    82         echo "WARNING: no busybox.net found, mindi will not work on this arch ($ARCH) with network"
    83     fi
    84 fi
    85 # Remove left busybox
    86 rm -f $locallib/mindi/rootfs/bin/busybox-*
    8772
    8873# Managing parted2fdisk
  • trunk/mindi/mindi

    r808 r839  
    28712871        # For PXE boot
    28722872        list_of_groovy_mods="$list_of_groovy_mods $NET_MODS"
    2873         # Here we need the net busybox
    2874         mv $mountpoint/bin/busybox.net $mountpoint/bin/busybox
    2875     else
    2876         rm -f $mountpoint/bin/busybox.net
    28772873    fi
    28782874    [ -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"
Note: See TracChangeset for help on using the changeset viewer.