* make rpm is not documented
@ 2002-03-20 14:41 Samuel Maftoul
2002-03-20 15:22 ` Alan Cox
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Maftoul @ 2002-03-20 14:41 UTC (permalink / raw)
To: lkml
Hello everyone,
I think this is destinated to Alan but no CC to him because not really
so important( Alan wrote the make rpm stuff I think so ).
I couldn't find any documentation about make rpm ( grep -ri rpm in
/usr/src/linux/Documentation don't give anything related to that
feature).
Second stuff, make rpm don't work for me on suse's kernel.
Didn't yet watched what is the problem, but seems to be related with
EXTRAVERSION or something like this.
I will have further look and will try to say as much as I can with my
poor knowledge.
Thanks,
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm is not documented
2002-03-20 14:41 make rpm is not documented Samuel Maftoul
@ 2002-03-20 15:22 ` Alan Cox
2002-03-20 15:30 ` Samuel Maftoul
2002-03-23 18:19 ` Kelly French
0 siblings, 2 replies; 5+ messages in thread
From: Alan Cox @ 2002-03-20 15:22 UTC (permalink / raw)
To: Samuel Maftoul; +Cc: lkml
> Second stuff, make rpm don't work for me on suse's kernel.
Ask SuSE 8)
> Didn't yet watched what is the problem, but seems to be related with
> EXTRAVERSION or something like this.
At least some versions of the script didnt like multiple '-' symbols.
Gerald Britton fixed this for 2.4.18
> I will have further look and will try to say as much as I can with my
> poor knowledge.
Basically the thing works with
make config/menuconfig/xconfig
if you use make menu/xconfig then run make oldconfig (I dont trust xconfig..)
make rpm
[wait.. wait.. wait.. ]
rpm --install
add to lilo.conf
enjoy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm is not documented
2002-03-20 15:22 ` Alan Cox
@ 2002-03-20 15:30 ` Samuel Maftoul
2002-03-23 18:19 ` Kelly French
1 sibling, 0 replies; 5+ messages in thread
From: Samuel Maftoul @ 2002-03-20 15:30 UTC (permalink / raw)
To: lkml
On Wed, Mar 20, 2002 at 03:22:35PM +0000, Alan Cox wrote:
> > Second stuff, make rpm don't work for me on suse's kernel.
>
> Ask SuSE 8)
>
> > Didn't yet watched what is the problem, but seems to be related with
> > EXTRAVERSION or something like this.
>
> At least some versions of the script didnt like multiple '-' symbols.
> Gerald Britton fixed this for 2.4.18
I'm using unstable suse kernel wich is merged from 1st March up to
2.4.19pre1aa
The patch don't seem to work , but I won't bother you with this stuff as
this is some specific suse Makefile ( EXTRAVERSION is set to nothing but
it has another way to fill it , later in their Makefile )
> Basically the thing works with
>
> make config/menuconfig/xconfig
> if you use make menu/xconfig then run make oldconfig (I dont trust xconfig..)
Neither I ;-)
> make rpm
>
> [wait.. wait.. wait.. ]
>
> rpm --install
>
> add to lilo.conf
>
> enjoy
Sam
PS: Thanks for answering
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm is not documented
2002-03-20 15:22 ` Alan Cox
2002-03-20 15:30 ` Samuel Maftoul
@ 2002-03-23 18:19 ` Kelly French
2002-03-23 19:06 ` Alan Cox
1 sibling, 1 reply; 5+ messages in thread
From: Kelly French @ 2002-03-23 18:19 UTC (permalink / raw)
To: lkml; +Cc: Alan Cox
On Wed, Mar 20, 2002 at 03:22:35PM +0000, Alan Cox wrote:
> > Second stuff, make rpm don't work for me on suse's kernel.
>
> Ask SuSE 8)
>
> > Didn't yet watched what is the problem, but seems to be related with
> > EXTRAVERSION or something like this.
>
> At least some versions of the script didnt like multiple '-' symbols.
> Gerald Britton fixed this for 2.4.18
>
> > I will have further look and will try to say as much as I can with my
> > poor knowledge.
>
> Basically the thing works with
>
> make config/menuconfig/xconfig
> if you use make menu/xconfig then run make oldconfig (I dont trust xconfig..)
> make rpm
>
> [wait.. wait.. wait.. ]
>
> rpm --install
>
> add to lilo.conf
>
> enjoy
Any chance we can copy the .config to /boot/config-$version?
--- scripts/mkspec.orig Sat Mar 23 13:13:19 2002
+++ scripts/mkspec Sat Mar 23 13:13:37 2002
@@ -35,6 +35,7 @@
echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make modules_install'
echo 'cp arch/i386/boot/bzImage $RPM_BUILD_ROOT'"/boot/vmlinuz-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
+echo 'cp .config $RPM_BUILD_ROOT'"/boot/config-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
echo ""
echo "%clean"
echo '#echo -rf $RPM_BUILD_ROOT'
-kf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm is not documented
2002-03-23 18:19 ` Kelly French
@ 2002-03-23 19:06 ` Alan Cox
0 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2002-03-23 19:06 UTC (permalink / raw)
To: Kelly French; +Cc: lkml, Alan Cox
> > enjoy
>
> Any chance we can copy the .config to /boot/config-$version?
Looks good to me
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-03-23 18:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-20 14:41 make rpm is not documented Samuel Maftoul
2002-03-20 15:22 ` Alan Cox
2002-03-20 15:30 ` Samuel Maftoul
2002-03-23 18:19 ` Kelly French
2002-03-23 19:06 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®