Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Gary Jennejohn
On Thu, 12 Jan 2012 09:11:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: usr/sbin/config assumes that the kernel config file lives in ${src_base}/sys/${arch}/conf , which means that if you need to build a custom kernel one needs RW access to that directory. Any idea on how we can enable

Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Luigi Rizzo
On Thu, Jan 12, 2012 at 10:16:53AM +0100, Gary Jennejohn wrote: On Thu, 12 Jan 2012 09:11:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: usr/sbin/config assumes that the kernel config file lives in ${src_base}/sys/${arch}/conf , which means that if you need to build a custom kernel one

Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Garrett Cooper
On Thu, Jan 12, 2012 at 2:06 AM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 10:16:53AM +0100, Gary Jennejohn wrote: On Thu, 12 Jan 2012 09:11:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: usr/sbin/config assumes that the kernel config file lives in

Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Luigi Rizzo
On Thu, Jan 12, 2012 at 01:55:39AM -0800, Garrett Cooper wrote: On Thu, Jan 12, 2012 at 2:06 AM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 10:16:53AM +0100, Gary Jennejohn wrote: On Thu, 12 Jan 2012 09:11:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote:

Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Aleksandr Rybalko
On Thu, 12 Jan 2012 11:17:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 01:55:39AM -0800, Garrett Cooper wrote: On Thu, Jan 12, 2012 at 2:06 AM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 10:16:53AM +0100, Gary Jennejohn wrote: On Thu, 12 Jan

Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Luigi Rizzo
On Thu, Jan 12, 2012 at 12:22:50PM +0200, Aleksandr Rybalko wrote: On Thu, 12 Jan 2012 11:17:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 01:55:39AM -0800, Garrett Cooper wrote: On Thu, Jan 12, 2012 at 2:06 AM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu,

Re: kernel config files outside of sys/${ARCH}/conf ?

2012-01-12 Thread Aleksandr Rybalko
On Thu, 12 Jan 2012 12:17:57 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 12:22:50PM +0200, Aleksandr Rybalko wrote: On Thu, 12 Jan 2012 11:17:39 +0100 Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Jan 12, 2012 at 01:55:39AM -0800, Garrett Cooper wrote: On

kernel config files outside of sys/${ARCH}/conf ?

2012-01-11 Thread Luigi Rizzo
usr/sbin/config assumes that the kernel config file lives in ${src_base}/sys/${arch}/conf , which means that if you need to build a custom kernel one needs RW access to that directory. Any idea on how we can enable config to work in a generic directory ? I scanned the source code usr.sbin/config