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

Re: Re: Issue with preseeded install - cannot skip apt media scanning



Jerzy Patraszewski <j.sm0q.p@gmail.com> writes:

> apt-cdrom-setup apt-setup/cdrom/set-first       boolean false
> apt-cdrom-setup apt-setup/cdrom/set-next        boolean false
> apt-cdrom-setup apt-setup/cdrom/set-double      boolean false
> apt-cdrom-setup apt-setup/cdrom/set-failed      boolean false
> <...>

These are processed by the scripts from here:

  https://salsa.debian.org/installer-team/apt-setup/-/tree/master/generators/

in particular 41cdset and maybe somthing is going on in 40cdrom.

Those end up in /usr/lib/apt-setup/generators within the running D-I.

You might want to add a `set -x` at the head of each of them to see what
exacly they're up to.

I have some (not recently tested) scripting for doing that here:

  https://hands.com/d-i/preseed/classes/dbg/files/HandsOff-dbg-fn.sh

See the function add_x(), the use of which can be seen (commented out)
here:

  https://hands.com/d-i/preseed/classes/dbg/files/debug_lvm

That's all rather entangled with this framework:

  https://hands.com/d-i

so is not very easy to deploy in that exact form, but you could use
the sed from add_x() combined with a copy of this:

  https://hands.com/d-i/bug/820818/

If you replace the mv in kludge.sh with a sed command for the two
generator scripts, and also add the preseed/run setting to your
preseed.cfg, that should do the trick, and fill /var/log/syslog with
debugging output.

HTH

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature


Reply to: