lkml.org 
[lkml]   [2008]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Re: patch to 2.6.27 fix build rpm
    [Евгений Маначкин - Wed, Oct 15, 2008 at 11:54:34PM +0700]
    | This is OK ?
    |
    | --- 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 ""
    |

    Evgeniy, it should be something like that

    ---
    From: Evgeniy Manachkin <sfstudio@mail.ru>
    Subject: [PATCH] mkspec - fix build rpm

    Patch description goes here

    Signed-off-by: Evgeniy Manachkin <sfstudio@mail.ru>
    ---
    Patch body goes here

    I didn't check the patch just show you the form of patch submission.
    For example -- take a look on

    http://lkml.org/lkml/2008/10/15/2
    or
    http://lkml.org/lkml/2008/10/15/20

    Actually SubmittingPatches has a quite good description how to
    make it right :)

    - 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/

    \
     
     \ /
      Last update: 2008-10-15 19:27    [W:3.750 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site