[PATCH] make rpm fixes

From: Eli Carter (eli@pflash.com)
Date: Fri Aug 31 2001 - 17:51:55 EST


Alan (& etc.),

I really like the 'make rpm' target. However, I noticed a couple of bugs
with it.
1) 'uname' and rpm -q kernel did not agree on the build number. (uname was 1
greater than the rpm build number.)
2) IIRC, the build number incremented by 2 for each 'make rpm'. (If I'm
mistaken, please overlook. ;) )
3) The symlink and tarball were left over, which also yielded a 'linux -> .'
symlink on later builds.
4) Those of us who use CVS would rather not tar up the CVS directories.

So, here is a patch (makerpm-6.patch, attached) to address those issues.
Also, the order of commands in the Makefile is intended to maximize the
amount of clean up done if the build is prematurely aborted. If the 'rpm'
command is stopped for whatever reason, the .version will still be updated.

It is against 2.4.8-ac7 since that is what I have on hand, but I expect it to
apply cleanly to the latest -ac. Let me know if you need it re-diff'ed for
2.4.9-acx.

Questions, comments, suggestions?
(Please CC me; I'm subscribed at work, but not here at home.)

Eli
---------------.
Eli Carter \ (This is my home account; I am subscribed at work.)
eli(a)pflash.com `-------------------------------------------------------



-
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/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:36 EST