|
|||||||||||
|
D-I Etch+1/2 kernel selection (was: Beta1 missing decisions and possible timeline)
From: Frans Pop <elendil(at)planet.nl>
Date: Sun Feb 03 2008 - 19:53:43 EST
> I have been quite disappointed that there was no real follow-up to my > mails, which now leaves us in the situation that there is basically no > support yet to select the correct kernel for etch+1/2. Being the sucker that I am, I did start to look into this after venting my frustration in the previous mail. I've looked at several options and initially the conclusion was that supporting selection for the etch+1/2 kernel was far from trivial and very likely to be messy. However, after some false starts that were all way to complex, failure prone and ugly, I decided to drag out an old invention: the "etch-support udeb". Sorry for the long explanation below, but I really want people to understand what is happening and why so we are agreed on this implementation and don't have nasty surprises after the point release. The required patches for the installer are attached. I have successfully tested them using a custom built netinst CD that had both the 2.6.18 and 2.6.22-686 kernels on it.
Because of changes in the installation procedure since I implemented
the "sarge-support" udeb, I first needed to ensure installation of the
etch-support udeb is queued in cdrom-detect and iso-scan. With that, we
will have the following situation:
The trick in this is that the udeb will be automatically installed _only_ if
etch is being installed _and_ the lenny installer is being used.
This is the case if:
I then added a hack in base-installer which does the following. If the (new) debconf template "base-installer/kernel/altmeta" has a value (e.g. 'etchnhalf'), it will add new potential kernel defaults before the the "normal" kernel defaults, with that value postfixed. I.e, if the normal possible defaults are:
linux-image-2.6-686
linux-image-2.6-686-etchnhalf linux-image-2.6-486-etchnhalf linux-image-2.6-686 linux-image-2.6-486 Finally I created the etch-support udeb which does two things: 1) add an early base-installer hook script that sets the 'altmeta'
template
inode_size from 256 to 128 (only for i386 and amd64) [2]
The result of 1) is IMO exactly what we want:
There is one issue, which I will detail in a follow-up mail to debian-boot only. The short summary is that for arm the etchnhalf kernel meta packages are currently not considered "installable", so as things stand now the above would not work for arm.
There are still things to decide, and IMO consensus on this should be
reached soon!
One final remark.
Cheers,
new default inode size of 256 and will fail to install. See #463236
and #463123 for background.
netinst CD + full CD _or_ netinst CD + DVD, and with sets limited to
only the first image.
http://alioth.debian.org/~fjp/tmp/D-I_etchnhalf.png -- To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Mon Feb 4 07:18:03 2008 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:57:20 EDT |
||||||||||
|
|||||||||||