Bug#123948: b-f cdrom detection
[Phil Blundell]
> The fact that one package is present doesn't mean that all the required
> files will be there.
No, and the fact that whatever test is in boot-floppies concludes that
it is a official CD doesn't mean all the files will be there either.
> It's much better to err on the side of caution with this stuff. If
> dbootstrap fails to recognise a CD that would have been OK, all the user
> has to do is answer a couple of extra questions. If it latches on to a
> disk that later turns out not to contain all the files it needs, the
> installation will probably fail.
I will make sure to build my CDs in a way that makes sure the CDs are
detected as debian CDs to avoid the extra questions. If this require
me to put special words into a text file, or something else do not
bother me.
> Since the Official CDs are the only ones whose contents we can be
> reasonably certain about, having dbootstrap look specifically for an
> official disk seems like a good approach to me.
Well, good luck. I want the CDs I produce to ask as few questions as
possible, and will probably be able to make them look sufficiently
official to fool boot-floppies. I do not think you can be certain
about the content whatever you do.
boot-floppies could of course run '/usr/sbin/debootstrap --print-debs
woody' and check if all the listed packages are available on the CD.
After all, that is the interesting thing to check.
Reply to: