[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Custom kernels in d-i



"Steinar H. Gunderson" <sgunderson@bigfoot.com> writes:

> For various reasons, I need to build d-i with my own, custom kernels.  Also,
> I don't have enough space to store all modules on my installation media, so I
> _must_ fetch some of them over the network.
> 
> The way I currently do this is:
> - Build my own kernel, and rebuild linux-kernel-di (so the modules mix and
>   match properly)
> - Move all the packages nightly (after the rsync) into my mirror, overwriting
>   the packages there, then re-running apt-ftparchive to regenerate the
>   Packages file.
> 
> This is rather ugly, messes up my mirror and breaks whenever a new version of
> linux-kernel-di is released. Is there a cleaner way to do this? Is there for
> instance a chance of having anna getting stuff from multiple sources? Or
> could I make a simple udeb that just fetched my own kernel module udebs from
> a specified place, dumping them into wherever anna wants them?

Name your kernel-image differently and add another entry to
linux-kernel-di. Adust the kernel version to your name in d-i and live
happily ever after.

You stil have to exclude your kernel from rsyncs deletion and rebuild
the Packages file but you don't rsync the orgiial kernel images every
night and a linux-kernel-di update won#t break everything.

MfG
        Goswin



Reply to: