Messages in this thread | | | Date | Wed, 15 Oct 2008 21:47:15 +0400 | From | Cyrill Gorcunov <> | Subject | Re: Re: Re: patch to 2.6.27 fix build rpm |
| |
[Евгений Маначкин - Wed, Oct 15, 2008 at 11:37:26PM +0600] | From: Evgeniy Manachkin <sfstudio@mail.ru> | Subject: [PATCH] mkspec - fix build rpm | | This is patch to fix incorrect mkspec script to make rpm correctly at 2.6.27 vanilla kernel. This is regression in 2.6.27. 2.6.26 make rpm work good. | In 2.6.27 'make rpm' say error from rpmbuild "Many unpacked files (*.fw)." | This is patch fix it this error. | | Sorry my English. | | Signed-off-by: Evgeniy Manachkin <sfstudio@mail.ru> | | --- linux-2.6.27/scripts/package/mkspec.orig 2008-10-11 00:00:38.000000000 +0700 | +++ linux-2.6.27/scripts/package/mkspec 2008-10-11 00:39:43.000000000 +0700 | @@ -64,8 +64,10 @@ fi | echo "%install" | echo "%ifarch ia64" | echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/modules' | +echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/firmware' | echo "%else" | echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/modules' | +echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/firmware' | echo "%endif" | | echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install' | @@ -92,5 +94,6 @@ echo "%files" | echo '%defattr (-, root, root)' | echo "%dir /lib/modules" | echo "/lib/modules/$KERNELRELEASE" | +echo "/lib/firmware" | echo "/boot/*" | echo "" |
Much better thanks! Lets wait for LKML feedback.
P.S. As I see you use Mail.ru web interface for patch submission unfortunately it's not goot -- better use Thunderbird or something like that since mPOP does mangle tabulators. There was some doc about how to configure mail clients but I don't remember where is it (maybe somewhere inside Documentations :-)
- Cyrill - -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |