mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.15-rc2-git6] Fix tar-pkg target
@ 2005-11-28 17:04 Erik Mouw
  2005-11-28 17:07 ` Jan-Benedict Glaw
  2005-11-29 21:30 ` Andrew Morton
  0 siblings, 2 replies; 7+ messages in thread
From: Erik Mouw @ 2005-11-28 17:04 UTC (permalink / raw)
  To: Linux kernel mailing list; +Cc: jbglaw, akpm, torvalds

Hi,

The various tar-pkg Makefile targets forget to apply the
CONFIG_LOCALVERSION_AUTO to the vminux and System.map files because the
script (scripts/package/buildtar) doesn't know about it. This can be
fixed by computing the correct "version" variable, but it's better to
use the one computed by Kbuild itself, just like the like the
"builddeb" and "mkspec" scripts do.

Without this patch, "make tar-pkg" would generate a file
linux-2.6.15-rc2.tar containing vmlinuz-2.6.15-rc2. With this patch, it
generates linux-2.6.15-rc2-g458af543.tar containing
vmlinuz-2.6.15-rc2-g458af543.


Erik

Signed-off-by: Erik Mouw <erik@harddisk-recovery.com>

diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index d8fffe6..4c1b706 100644
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -15,7 +15,7 @@ set -e
 #
 # Some variables and settings used throughout the script
 #
-version="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${EXTRANAME}"
+version="${KERNELRELEASE}"
 tmpdir="${objtree}/tar-install"
 tarball="${objtree}/linux-${version}.tar"
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-30 12:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-28 17:04 [PATCH 2.6.15-rc2-git6] Fix tar-pkg target Erik Mouw
2005-11-28 17:07 ` Jan-Benedict Glaw
2005-11-29 21:30 ` Andrew Morton
2005-11-29 20:36   ` Sam Ravnborg
2005-11-30  5:32     ` Brian Gerst
2005-11-30  9:05       ` Jan-Benedict Glaw
2005-11-30 12:03     ` Erik Mouw

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®