[Pkg-lustre-maintainers] Bug#501427: make -C $KSRC prepare resets utsrelease.h

Patrick Winnertz winnie at debian.org
Thu Oct 9 08:44:26 UTC 2008


reassign 501427 linux-source-2.6.26
retitle 501427 make -C $KSRC prepare resets utsrelease.h if it contains a custom version string
severity 501427 grave
thanks

Hello,

If I call make -C $KSRC prepare this will reset the string in utsrelease.h to 
the default, e.g. 2.6.26. If I've to build the kernel with a custom 
--append-to-version string this string is not longer represented in this file.
In my eyes this behaviour is not that is expected as it prevents that more than
one package is build against this kernel-source with module-assistant. 


As an example:
make-kpkg --initrd --append-to-version "-foo-bar" binary-arch

# cat include/linux/utsrelease.h
#define UTS_RELEASE "2.6.26-foo-bar"

# make -C . prepare

# cat include/linux/utsrelease.h
#define UTS_RELEASE "2.6.26"


Justification for grave: It's no longer possible to build modules with m-a 
against this kernel without manual intervention.

Greetings
Winnie


-- 
 . '' ` .   Patrick Winnertz <winnie at debian.org>
:  :'   :   proud Debian developer, author, administrator, and user
`. `'`     http://people.debian.org/~winnie - http://www.der-winnie.de
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-lustre-maintainers/attachments/20081009/165b621a/attachment.pgp 


More information about the Pkg-lustre-maintainers mailing list