On Wed, May 07 2014, Michal Hocko wrote:

> On Tue, May 06, 2014 at 01:28:20PM -0700, Manoj Srivastava wrote:
>> Hi,
>> 
>>         I can't replicate this (see below for my attempt). OK. We need
>>  to know why there is a dirty in there. The value we see for target
>>  debian/stamp/conf/full-changelog 's/=V/3.15.0-rc4-dirty/g' comesd from
>>  KERNELRELEASE. That is defined from:
>>   a) cat include/config/kernel.release or

> OK, so the last regeneration of kernel.release during make prepare saw
> the tree as dirty. But
>
> It is really interesting that everything seems to be OK when I do
> $ make kpkg_version=13.003 -f /usr/share/kernel-package/ruleset/minimal.mk 
> debian INITRD=YES

>
> This means that either make-kpkg does something which dirties the tree
> before make minimal.mk or fakeroot does something nasty.
>
> And it seems the be the second one:

> is correct. So it seems that fakeroot somehow manages to confuse
> kernel.release file generation.
>
> And indeed using --rootcmd fakeroot rather than fakeroot for the whole
> make-kpkg fixes the issue. I was using fakeroot make-kpkg in my scripts
> since ages and it seemed to work but it really makes a lot of sense to
> use --rootcmd instead so I've fixed my scripts.

        I will update the kernel-package documentation and problems
 file -- and bring this to the attention of fakeroot maintainer.

        manoj
-- 
A bug in the hand is better than one as yet undetected.
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: signature.asc
Description: PGP signature

Reply via email to