From: "Linda A. Walsh" <lkml@tlinx.org>
To: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: patch for "scripts/package/buildtar" to pickup "localversion" on "/boot" file objects
Date: Thu, 29 Dec 2005 22:33:16 -0800 [thread overview]
Message-ID: <43B4D4AC.5020303@tlinx.org> (raw)
In-Reply-To: <43A762E0.5020608@tlinx.org>
Linda Walsh wrote:
> Jan-Benedict Glaw wrote:
>
>> That's how it is ment to be. Actually, for in-tree builds, you get the
>> tarball without first becoming root.
>>
> ---
> Slight minor possible "nit".
> I have a suffix (CONFIG_LOCALVERSION) set.
> While buildtar picks up the /lib/modules files in <ver>-suffix, the
> map and vm files all have suffixes w/o the "localversion" appended.
---
BTW -- here is a "quick" patch to pick up the "local version" to append to
the files in "/boot" for the "tar[x]-pkg's"...
--- scripts/package/buildtar.orig 2005-11-24 14:10:21.000000000 -0800
+++ scripts/package/buildtar 2005-12-29 22:26:34.543513254 -0800
@@ -15,7 +15,8 @@
#
# Some variables and settings used throughout the script
#
-version="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${EXTRANAME}"
+version="$(grep UTS_RELEASE include/linux/version.h| \
+ sed 's/^#[^"]*"// ; s/"$// ')"
tmpdir="${objtree}/tar-install"
tarball="${objtree}/linux-${version}.tar"
>
next prev parent reply other threads:[~2005-12-30 6:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-18 23:27 Makefile targets: tar & rpm pkgs, while using O=<dir> as non-root Linda Walsh
2005-12-19 7:19 ` Jan-Benedict Glaw
2005-12-19 22:12 ` Linda Walsh
2005-12-19 22:30 ` Jan-Benedict Glaw
2005-12-20 1:48 ` Linda Walsh
2005-12-30 6:33 ` Linda A. Walsh [this message]
2005-12-30 10:15 ` patch for "scripts/package/buildtar" to pickup "localversion" on "/boot" file objects Erik Mouw
2005-12-30 20:23 ` Linda A. Walsh
2005-12-20 15:41 ` Makefile targets: tar & rpm pkgs, while using O=<dir> as non-root Nix
2005-12-20 15:58 ` Sam Ravnborg
2005-12-20 17:44 ` Nix
2005-12-20 17:37 ` Sam Ravnborg
2005-12-20 20:25 ` Al Viro
2005-12-21 7:49 ` Nix
2005-12-21 8:18 ` Al Viro
2005-12-21 11:22 ` Nix
2005-12-21 8:56 ` Sean
2005-12-21 8:56 ` Sean
2005-12-20 17:20 ` Ryan Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43B4D4AC.5020303@tlinx.org \
--to=lkml@tlinx.org \
--cc=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.