patch for "scripts/package/buildtar" to pickup "localversion" on "/boot" file objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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"



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux