Re: anna cant't find /cdrom/dists//Release problem
> The 'suite' is set using the following code from the postinst from
> cdrom-detect.
>
> for distlink in stable testing unstable ; do
> relfile=/cdrom/dists/$distlink/Release
> if [ -e $relfile ] ; then
> suite=$(sed -n 's/^Suite: *//p' $relfile)
> log "Detected CD with '$suite' distribution"
> db_set mirror/suite $suite
> break
> fi
> done
>
sometimes this fails, ie $suite never gets set, and there is no
code to trap that condition. This can happen with crappy cd drives.
I attempted a patch in #271976 but haven't been able to test it -
I only worked out how to build mini-isos last week.
register_cd() in iso-scan/debian/postinst has the same problem,
but should work with an on-disk iso image.
Reply to: