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

Bug#373097: file-preseed: file preseeding can't be used for anna/choose_modules



Jérémy Bobbio wrote:
> When using debian-installer on hd-media, it is not possible to use
> file-preseed to select which modules anna should load (through
> anna/standard_modules and anna/choose_modules debconf questions).
> 
> This is particularily annoying, as the other possibilities are not very 
> convinient: env-preseed hit the maximum command line size pretty 
> quickly, and initrd-preseed requires to rebuild the debian-installer 
> images.
> 
> The current situation is:
>  * both file-preseed and load-cdrom has a XB-Installer-Menu-Item
>    set to 14,
>  * both iso-scan and load-iso has a XB-Installer-Menu-Item set to 13,
>    with load-iso depending on iso-scan.
> 
> In either case, file-preseed has no chance to be run before the cdrom
> components get loaded.
> 
> The correct order, IMHO, in a hd-media setup should be: iso-scan,
> file-preseed, load-iso.  I might be confusing load-iso/load-cdrom, but
> here's the general idea.

Problem is we're a bit low on numbers (we really should multiply all
these numbers by 10 at some point). The actual numbers are:

12 kbd-chooser
13 iso-scan
   load-iso
14 cdrom-detect
   load-cdrom
   file-preseed
15 ethdetect
   s390-netdevice (s390)
18 netcfg
   netcfg-static
21 network-preseed
   network-console

The minimally invasive fix seems to be:

12 kbd-chooser
13 iso-scan
   cdrom-detect
14 file-preseed
16 load-iso
   load-cdrom
18 ethdetect
   s390-netdevice (s390)
   netcfg
   netcfg-static
21 network-preseed
   network-console

Ie, move cdrom-detect from 14 to 13, move load-iso from 13 to 16, move
load-cdrom from 14 to 16, move ethdetect and s390-netdevice from 15 to 18
(netcfg's dependency on these will ensure proper ordering of them before it).

Can someone review this proposal?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: