]> git.pld-linux.org Git - packages/busybox.git/commitdiff
- added sh_name patch and change /bin/sh to /bin/lash (sh is in ash-BOOT)
authorklakier <klakier@pld-linux.org>
Sat, 19 May 2001 11:20:40 +0000 (11:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    busybox.spec -> 1.8

busybox.spec

index 4922137e592ea658c0f67afea0e6afa808ae742a..fd418940393b884ffa0602315cbf8df5ed91b498 100644 (file)
@@ -10,6 +10,7 @@ Source0:      ftp://ftp.lineo.com/pub/busybox/%{name}-%{version}.tar.gz
 Source1:       %{name}-config.h
 Patch0:                %{name}-logconsole.patch
 Patch1:                %{name}-tee.patch
+Patch2:                %{name}-sh-name.patch
 URL:           http://busybox.lineo.com/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires: uClibc-devel-BOOT
@@ -41,6 +42,8 @@ Group:                Applications
 %setup -q
 %patch0
 %patch1
+%patch2 -p1
+
 
 %build
 # BOOT
@@ -60,6 +63,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__install} busybox $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/busybox
 for i in `cat busybox.links`; do ln -sfn busybox "$RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/`basename $i`"; done
 %{__install} busybox.links $RPM_BUILD_ROOT%{_libdir}/bootdisk%{_libdir}/busybox
+# change sh to lash (see sh_name patch)
+mv -f $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/{sh,lash}
 
 %{__install} -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/busybox,%{_mandir}/man1}
 %{__install} busybox $RPM_BUILD_ROOT%{_bindir}
This page took 0.031978 seconds and 4 git commands to generate.