You are not logged in.

#26 2012-07-14 15:58:23

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: You knew it was coming: kernel build issues after kmod upgrade

When I edit depmod.sh either with

sed -i '2iexit 0' scripts/depmod.sh

or with

sed -i '/^depmod_hack_needed/ s/true/false/' scripts/depmod.sh

`make kernelrelease` always adds 'dirty' to the name of my kernel.
How can I avoid this?

Offline

#27 2012-07-14 16:08:58

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: You knew it was coming: kernel build issues after kmod upgrade

By not building in a git repo.

Offline

#28 2012-07-14 16:20:54

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: You knew it was coming: kernel build issues after kmod upgrade

aya wrote:

When I edit depmod.sh either with

sed -i '2iexit 0' scripts/depmod.sh

or with

sed -i '/^depmod_hack_needed/ s/true/false/' scripts/depmod.sh

`make kernelrelease` always adds 'dirty' to the name of my kernel.
How can I avoid this?

Unset "CONFIG_LOCALVERSION_AUTO".

Offline

#29 2012-07-14 16:28:07

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: You knew it was coming: kernel build issues after kmod upgrade

@aya: or you could jut commit the change before you compile. It will get rid of the -dirty, but might not be what you want.

Offline

#30 2012-07-15 02:44:15

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: You knew it was coming: kernel build issues after kmod upgrade

falconindy, sacamano_m82, tomegun - thank you all.

Offline

Board footer

Powered by FluxBB