Re: 2.6.17-mm1: UML failing w/o SKAS enabled

From: Roman Zippel
Date: Mon Jun 26 2006 - 07:51:51 EST


Hi,

On Fri, 23 Jun 2006, Jeff Dike wrote:

> Index: linux-2.6.17/arch/um/Kconfig
> ===================================================================
> --- linux-2.6.17.orig/arch/um/Kconfig 2006-06-20 17:24:29.000000000 -0400
> +++ linux-2.6.17/arch/um/Kconfig 2006-06-23 10:20:27.000000000 -0400
> @@ -1,3 +1,8 @@
> +config DEFCONFIG_LIST
> + string
> + option defconfig_list
> + default "arch/um/defconfig"
> +
> # UML uses the generic IRQ sugsystem
> config GENERIC_HARDIRQS
> bool

That would work too, but what I had in mind was to customize the entry in
init/Kconfig, e.g.

config DEFCONFIG_LIST
string
option defconfig_list
default "/lib/modules/$UNAME_RELEASE/.config"
default "/etc/kernel-config"
default "/boot/config-$UNAME_RELEASE"
depends on !UML

config DEFCONFIG_LIST
default "arch/$ARCH/defconfig"

This way the last entry is always the same for all archs and the rest can
be customized.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/