lkml.org 
[lkml]   [2002]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.18
At 05:20 PM 2/25/02, you wrote:
>David S. Miller wrote:
>
>>We can avoid this kind of mess in the future if the "-rc*" releases
>>really are "release candidates" instead of "just another diff".
>
>And how should EXTRAVERSION be accommodated?

An idea :-)

The actual release could be automated by a script that copies the release
candidate directory to a final directory, uses sed to correct EXTRAVERSION,
then creates the tarball. Using a script would ensure that EXTRAVERSION is
correctly handled and would create all necessary tarballs and signature files.

The "Kernel_Release" script would look something like:

mkdir /usr/src/linux-$1
( cd /usr/src/linux-$1-rc$2 ; tar cf - ) | ( cd /usr/src/linux-$1
; tar xf - )
sed s/EXTRAVERSION=.*/EXTRAVERSION/ <
/usr/src/linux-$1-rc$2/Makefile > /usr/src/linux-$1/Makefile
tar zcf linux-$1.tar.gz linux-$1
tar jcf linux-$1.tar.bz2 linux-$1
cp linux-$1.tar.gz linux-$1 jcf linux-$1.tar.bz2 linux-$1
ftp/pub/linux/kernel/v2.4
... whatever other magic is neded ...





-
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: 2005-03-22 13:24    [W:0.983 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site