[PATCH] UBUNTU: CONFIG: enforce -- make sure we disable CONFIG_LOCALVERSION_AUTO

Tim Gardner tim.gardner at canonical.com
Wed Jun 9 12:48:34 UTC 2010


On 06/09/2010 01:42 AM, Bryan Wu wrote:
> CONFIG_LOCALVERSION_AUTO will change the Linux kernel's version, it will cause
> packaging failure.
>
> Signed-off-by: Bryan Wu<bryan.wu at canonical.com>
> ---
>   debian/config/enforce |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/debian/config/enforce b/debian/config/enforce
> index 6481323..64cae67 100644
> --- a/debian/config/enforce
> +++ b/debian/config/enforce
> @@ -42,3 +42,6 @@ value CONFIG_BLK_DEV_DM y
>   # sysfs: ensure all DEPRECATED items are off
>   value CONFIG_SYSFS_DEPRECATED_V2 n
>   !exists CONFIG_SYSFS_DEPRECATED | value CONFIG_SYSFS_DEPRECATED n
> +
> +# automatically add local version will cause packaging failure
> +value CONFIG_LOCALVERSION_AUTO n

Yeah, not having this disabled can cause some bizarre packaging 
failures. It took me awhile to find this out the first time. Ack for 
Maverick.

Acked-by: Tim Gardner <tim.gardner at canonical.com>

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list