Changeset 202 in MondoRescue
- Timestamp:
- Dec 14, 2005, 3:53:19 PM (19 years ago)
- Location:
- branches/2.05/mindi-failsafe-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mindi-failsafe-kernel/install.sh
r30 r202 5 5 exit 1 6 6 fi 7 local=/usr/local8 mkdir -p $local/share/mindi9 mkdir -p $local/sbin10 7 11 cp --parents -pRdf * $local/share/mindi/ 12 exit 0 8 if [ "_$PREFIX" != "_" ]; then 9 local=$PREFIX/usr 10 if [ -f /usr/local/sbin/mindi ]; then 11 echo "WARNING: /usr/local/sbin/mindi exists. You should probably 12 remove it !" 13 fi 14 echo $PATH | grep /usr/sbin > /dev/null || echo "Warning - your PATH env 15 ironmental variable is BROKEN. Please add /usr/sbin to your PATH." 16 else 17 local=/usr/local 18 if [ -f /usr/sbin/mindi ]; then 19 echo "WARNING: /usr/sbin/mindi exists. You should probably remov 20 e the mindi package !" 21 fi 22 echo $PATH | grep $local/sbin > /dev/null || echo "Warning - your PATH e 23 nvironmental variable is BROKEN. Please add $local/sbin to your PATH." 24 25 fi 26 27 echo "mindi-failsafe-kernel will be installed under $local" 28 29 echo "Creating target directories ..." 30 mkdir -p $local/lib/mindi 31 32 echo "Copying files ..." 33 cp -a lib.tar.bz2 vmlinuz $local/lib/mindi/ -
branches/2.05/mindi-failsafe-kernel/mindi-kernel-1.0.spec
r35 r202 2 2 # $Id$ 3 3 # 4 %define _prefix /usr/local5 4 Summary: A program that creates emergency boot disks/CDs using your kernel, tools and modules. 6 5 Name: mindi-kernel 7 Version: 1.0 6 Version: 1.05 8 7 Release: 1 9 8 Copyright: GPL … … 13 12 BuildRoot: /tmp/%{name}-%{version} 14 13 Requires: binutils 15 Prefix: /usr/local16 14 Autoreq: 0 17 15 … … 25 23 %install 26 24 %{__rm} -rf $RPM_BUILD_ROOT 27 MINDIDIR=$RPM_BUILD_ROOT%{_datadir}/mindi 28 %{__mkdir_p} $MINDIDIR $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sysconfdir}/mindi 29 %{__cp} -a * $MINDIDIR 30 # 25 export PREFIX=${RPM_BUILD_ROOT} 26 ./install.sh 31 27 32 28 %clean … … 35 31 %files 36 32 %defattr(-,root,root,-) 37 %{_ datadir}/mindi33 %{_libdir}/mindi 38 34 39 35 %changelog 36 * Wed Dec 14 2005 Bruno Cornec <bcornec@users.berlios.de> 1.05-1 37 - adapted to the new mindi location (in 1.05-r194 and upper) 38 40 39 * Mon May 19 2003 Hugo Rabson <hugorabson@msn.com> 1.0-1 41 40 - initial release
Note:
See TracChangeset
for help on using the changeset viewer.