A suggestion for building the kernel batchly.

Dan Nicholson dbn.lists at gmail.com
Sun Mar 26 08:25:05 PST 2006


On 3/26/06, M.Canales.es <manuel at linuxfromscratch.org> wrote:
>
> Well, we expect the users submmint a .config file suitable for the kernel
> version that will be compiled and adapted to their hardware.

Manuel, there's a very easy workaround for this.

if [ "$SUPPLIED_A_CONFIG" = Y ]; then
    yes "" | make oldconfig
else
    whatever_jhalfs_uses_for_the_config
fi

`make oldconfig' will adjust it as David mentioned.  Config's created
from that version will come out the same.  There's a lot of output,
though, so you may want to redirect the output.

--
Dan



More information about the alfs-discuss mailing list