<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/setlocalversion, branch v2.6.35</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/setlocalversion?h=v2.6.35</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/setlocalversion?h=v2.6.35'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-07-21T14:06:05Z</updated>
<entry>
<title>kbuild: Fix make rpm</title>
<updated>2010-07-21T14:06:05Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-07-15T08:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b003afe32f608b8d9f9a898b36514dfbf374fd3a'/>
<id>urn:sha1:b003afe32f608b8d9f9a898b36514dfbf374fd3a</id>
<content type='text'>
make rpm was broken by commit 0915512:
make clean
set -e; cd ..; ln -sf /usr/src/iwlwifi-2.6 kernel-2.6.35rc4wl
/bin/sh /usr/src/iwlwifi-2.6/scripts/setlocalversion --scm-only &gt;
/usr/src/iwlwifi-2.6/.scmversion
cat: .scmversion: input file is output file
make[1]: *** [rpm] Error 1

Reported-and-tested-by: "Zheng, Jiajia" &lt;jiajia.zheng@intel.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Make the setlocalversion script POSIX-compliant</title>
<updated>2010-07-20T13:43:27Z</updated>
<author>
<name>Michał Górny</name>
<email>gentoo@mgorny.alt.pl</email>
</author>
<published>2010-07-18T08:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6dc0c2f3384fe543a805922c6a314c7ad25a92fc'/>
<id>urn:sha1:6dc0c2f3384fe543a805922c6a314c7ad25a92fc</id>
<content type='text'>
The 'source' builtin is a bash alias to the '.' (dot) builtin. While the
former is supported only by bash, the latter is specified in POSIX and
works fine with all POSIX-compliant shells I am aware of.

The '$_' special parameter is specific to bash. It is partially
supported in dash too but it always evaluates to the current script path
(which causes the script to enter a loop recursively re-executing
itself). This is why I have replaced the two occurences of '$_' with the
explicit parameter.

The 'local' builtin is another example of bash-specific code. Although
it is supported by all POSIX-compliant shells I am aware of, it is not
part of POSIX specification and thus the code should not rely on it
assigning a specific value to the local variable. Moreover, the 'posh'
shell has a limited version of 'local' builtin not supporting direct
variable assignments. Thus, I have broken one of the 'local'
declarations down into a (non-POSIX) 'local' declaration and a plain
(POSIX-compliant) variable assignment.

Signed-off-by: Michał Górny &lt;gentoo@mgorny.alt.pl&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Clean up and speed up the localversion logic</title>
<updated>2010-06-18T12:23:21Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-06-17T13:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=09155120cf0ffe6f0c8aba3aa625831405b65996'/>
<id>urn:sha1:09155120cf0ffe6f0c8aba3aa625831405b65996</id>
<content type='text'>
Now that we run scripts/setlocalversion during every build, it makes
sense to move all the localversion logic there. This cleans up the
toplevel Makefile and also makes sure that the script is called only
once in 'make prepare' (previously, it would be called every time due to
a variable expansion in an ifneq statement). No user-visible change is
intended, unless one runs the setlocalversion script directly.

Reported-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Cc: David Rientjes &lt;rientjes@google.com&gt;
Cc: Greg Thelen &lt;gthelen@google.com&gt;
Cc: Nico Schottelius &lt;nico-linuxsetlocalversion@schottelius.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: fix delay in setlocalversion on readonly source</title>
<updated>2009-06-14T20:26:00Z</updated>
<author>
<name>Nico Schottelius</name>
<email>nico-linuxsetlocalversion@schottelius.org</email>
</author>
<published>2009-06-12T07:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a2bb90a08cb3b64dd815d762ffde2312582a6ec9'/>
<id>urn:sha1:a2bb90a08cb3b64dd815d762ffde2312582a6ec9</id>
<content type='text'>
Do not update index on read only media.
Idea published by Christian Kujau &lt;lists@nerdbynature.de&gt;.

Cc: Nico Schottelius &lt;nico@ikn.schottelius.org&gt;
Cc: Christian Kujau &lt;lists@nerdbynature.de&gt;
</content>
</entry>
<entry>
<title>Fix scripts/setlocalversion with tagged git commit</title>
<updated>2009-05-19T21:11:34Z</updated>
<author>
<name>Nico Schottelius</name>
<email>nico-linux-20090330@schottelius.org</email>
</author>
<published>2009-05-16T12:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=33252572e727ccdcc54efdb67157e7ab3d6942db'/>
<id>urn:sha1:33252572e727ccdcc54efdb67157e7ab3d6942db</id>
<content type='text'>
Produce correct output for
- tagged commit (v2.6.30-rc6)
- past tagged commit (v2.6.30-rc5-299-g7c7327d)
- no tag

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix scripts/setlocalversion with git</title>
<updated>2009-05-01T08:54:04Z</updated>
<author>
<name>Nico Schottelius</name>
<email>nico-linux-20090330@schottelius.org</email>
</author>
<published>2009-04-25T07:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a182ad3d0f858f50bb719a48bb35a013e12366c5'/>
<id>urn:sha1:a182ad3d0f858f50bb719a48bb35a013e12366c5</id>
<content type='text'>
When using trees like wireless-testing, which have untagged tags,
scripts/setlocalversion does not display any git indication for
localversion.

This patch fixes it: If git is available, but no usable tag is found,
it uses -g${head}. It skips the detection of unanottated tags via
git name-rev.

Signed-off-by: Nico Schottelius &lt;nico@ikn.schottelius.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: use git svn instead of git-svn in setlocalversion</title>
<updated>2009-04-11T06:18:08Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2009-03-26T20:58:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4774bb1ced60a94d83b28e5a42d4cf01b83d9b60'/>
<id>urn:sha1:4774bb1ced60a94d83b28e5a42d4cf01b83d9b60</id>
<content type='text'>
Use the correct git &lt;subcmd&gt; syntax instead of the deprecated git-&lt;subcmd&gt;.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild,setlocalversion: shorten the make time when using svn</title>
<updated>2009-02-15T11:50:07Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier.adi@gmail.com</email>
</author>
<published>2009-02-05T08:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d21d52d4a155e36d4dc93d642cd52cb63f7ef91b'/>
<id>urn:sha1:d21d52d4a155e36d4dc93d642cd52cb63f7ef91b</id>
<content type='text'>
Don't bother doing `svn st` as it takes a retarded amount of time when
the source is cold

Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>setlocalversion: add git-svn support</title>
<updated>2008-12-03T21:58:30Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2008-12-02T20:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ff80aa97c9b4aae9449a608fe1bc3e7b5121cd66'/>
<id>urn:sha1:ff80aa97c9b4aae9449a608fe1bc3e7b5121cd66</id>
<content type='text'>
Print svn revision in addition to git info on git-svn repos.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>setlocalversion: print correct subversion revision</title>
<updated>2008-12-03T21:58:29Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2008-12-02T20:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=167d6a02c1dbdd84d49e87df7718f18fa31cb971'/>
<id>urn:sha1:167d6a02c1dbdd84d49e87df7718f18fa31cb971</id>
<content type='text'>
Output svn revision of latest change, instead of repo revision as thats
what we're interested in (especially when working on a branch/tag).

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
