Changeset 317 in MondoRescue for trunk/mindi


Ignore:
Timestamp:
Jan 13, 2006, 8:46:06 PM (18 years ago)
Author:
bcornec
Message:

merge -r309:316 $SVN_M/branches/2.06

Location:
trunk/mindi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/install.sh

    r309 r317  
    4747install -m 644 deplist.txt $conf
    4848
    49 cp -af rootfs aux-tools Mindi $locallib/mindi
     49cp -af rootfs aux-tools $locallib/mindi
    5050chmod 755 $locallib/mindi/rootfs/bin/*
    5151chmod 755 $locallib/mindi/rootfs/sbin/*
     
    6161
    6262install -m 644 mindi.8 $MANDIR
    63 install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL $DOCDIR
     63install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL svn.log $DOCDIR
    6464
    6565# Managing busybox
  • trunk/mindi/mindi

    r309 r317  
    1313#-----------------------------------------------------------------------------
    1414
     15### Which arch are we on (useful for ia64 port)
     16export ARCH=`/bin/arch`
    1517
    1618ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0"
     
    3335MINDI_CONF=YYY
    3436MINDI_SBIN=${MINDI_PREFIX}/sbin
    35 MINDI_LIB=${MINDI_PREFIX}/lib/mindi
     37
     38
     39if [ "$ARCH" = "x86_64" ] ; then
     40    MINDI_LIB=${MINDI_PREFIX}/lib64/mindi
     41else
     42    MINDI_LIB=${MINDI_PREFIX}/lib/mindi
     43fi
    3644
    3745EXTRA_SPACE=24576         ; # increase if you run out of ramdisk space
     
    29082916> $LOGFILE
    29092917echo "mindi v$MINDI_VERSION" >> $LOGFILE
    2910 ### BCO
    2911 ### Which arch are we on (useful for ia64 port)
    2912 export ARCH=`/bin/arch`
    29132918echo "$ARCH architecture detected" >> $LOGFILE
    29142919echo "mindi called with the following arguments:" >> $LOGFILE
  • trunk/mindi/mindi.spec

    r262 r317  
    1010%define name    mindi
    1111%define version VVV
    12 %define mrel    1
     12%define mrel    RRR
     13# if mandriva official build (rpm --with is_official)
     14%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
    1315%define src     %{name}-%{version}.tgz
     16%define grp     Archiving/Backup
     17%define addreqb bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, afio
    1418
    1519%if %is_redhat
    16 Group:          Applications/Archiving
     20%define grp     Applications/Archiving
     21%define addreq  %{addreqb}, which
    1722Autoreq:    0
    1823%endif
     
    2025%if %is_mandrake
    2126%define src     %{name}-%{version}.tar.bz2
    22 Group:          Archiving/Backup
     27%define addreq  %{addreqb}, which
    2328Autoreqprov: no
    2429%endif
     
    2631%if %is_mandriva
    2732%define src     %{name}-%{version}.tar.bz2
    28 Group:          Archiving/Backup
     33%define addreq  %{addreqb}, which
    2934Autoreqprov: no
    3035%endif
    3136
    3237%if %is_suse
    33 Group:          Archiving/Backup
     38%define addreq  %{addreqb}
     39%endif
     40
     41# define the mkrel macro if it is not already defined if mandriva offical build
     42%if is_official
     43%{?!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}}
    3444%endif
    3545
     
    3747Name:       %name
    3848Version:    %version
    39 Release:    %mrel
     49Release:    %rel
    4050License:    GPL
    41 Group:      System/Kernel and hardware
     51Group:      %{grp}
    4252Url:        http://mondorescue.berlios.de
    4353Source:     %{src}
    4454BuildRoot:  %{_tmppath}/%{name}-%{version}
    45 Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, afio, which
     55Requires:   %{addreq}
    4656# Not on all systems
    4757#Conflicts: bonnie++
     
    93103%defattr(644,root,root,755)
    94104%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
    95 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox
     105%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
    96106%{_mandir}
    97107%{_libdir}/mindi
Note: See TracChangeset for help on using the changeset viewer.