Changeset 317 in MondoRescue for trunk/mindi
- Timestamp:
- Jan 13, 2006, 8:46:06 PM (18 years ago)
- Location:
- trunk/mindi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/install.sh
r309 r317 47 47 install -m 644 deplist.txt $conf 48 48 49 cp -af rootfs aux-tools Mindi$locallib/mindi49 cp -af rootfs aux-tools $locallib/mindi 50 50 chmod 755 $locallib/mindi/rootfs/bin/* 51 51 chmod 755 $locallib/mindi/rootfs/sbin/* … … 61 61 62 62 install -m 644 mindi.8 $MANDIR 63 install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL $DOCDIR63 install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL svn.log $DOCDIR 64 64 65 65 # Managing busybox -
trunk/mindi/mindi
r309 r317 13 13 #----------------------------------------------------------------------------- 14 14 15 ### Which arch are we on (useful for ia64 port) 16 export ARCH=`/bin/arch` 15 17 16 18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0" … … 33 35 MINDI_CONF=YYY 34 36 MINDI_SBIN=${MINDI_PREFIX}/sbin 35 MINDI_LIB=${MINDI_PREFIX}/lib/mindi 37 38 39 if [ "$ARCH" = "x86_64" ] ; then 40 MINDI_LIB=${MINDI_PREFIX}/lib64/mindi 41 else 42 MINDI_LIB=${MINDI_PREFIX}/lib/mindi 43 fi 36 44 37 45 EXTRA_SPACE=24576 ; # increase if you run out of ramdisk space … … 2908 2916 > $LOGFILE 2909 2917 echo "mindi v$MINDI_VERSION" >> $LOGFILE 2910 ### BCO2911 ### Which arch are we on (useful for ia64 port)2912 export ARCH=`/bin/arch`2913 2918 echo "$ARCH architecture detected" >> $LOGFILE 2914 2919 echo "mindi called with the following arguments:" >> $LOGFILE -
trunk/mindi/mindi.spec
r262 r317 10 10 %define name mindi 11 11 %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}} 13 15 %define src %{name}-%{version}.tgz 16 %define grp Archiving/Backup 17 %define addreqb bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, afio 14 18 15 19 %if %is_redhat 16 Group: Applications/Archiving 20 %define grp Applications/Archiving 21 %define addreq %{addreqb}, which 17 22 Autoreq: 0 18 23 %endif … … 20 25 %if %is_mandrake 21 26 %define src %{name}-%{version}.tar.bz2 22 Group: Archiving/Backup 27 %define addreq %{addreqb}, which 23 28 Autoreqprov: no 24 29 %endif … … 26 31 %if %is_mandriva 27 32 %define src %{name}-%{version}.tar.bz2 28 Group: Archiving/Backup 33 %define addreq %{addreqb}, which 29 34 Autoreqprov: no 30 35 %endif 31 36 32 37 %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}} 34 44 %endif 35 45 … … 37 47 Name: %name 38 48 Version: %version 39 Release: % mrel49 Release: %rel 40 50 License: GPL 41 Group: System/Kernel and hardware51 Group: %{grp} 42 52 Url: http://mondorescue.berlios.de 43 53 Source: %{src} 44 54 BuildRoot: %{_tmppath}/%{name}-%{version} 45 Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, afio, which55 Requires: %{addreq} 46 56 # Not on all systems 47 57 #Conflicts: bonnie++ … … 93 103 %defattr(644,root,root,755) 94 104 %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 96 106 %{_mandir} 97 107 %{_libdir}/mindi
Note:
See TracChangeset
for help on using the changeset viewer.