I ran another test, and edited the 40cdrom script to use in-target
when calling apt-cdrom add.  This made the CD source show up in
sources.list, but installing grub-pc still failed.  Not quite sure why.

I implemented this change:

Index: 40cdrom
===================================================================
--- 40cdrom     (revision 64667)
+++ 40cdrom     (working copy)
@@ -72,7 +74,7 @@
 tmp=$($chroot $ROOT tempfile)
 
 # apt-cdrom can be interactive, avoid that
-if $logoutput $chroot $ROOT apt-cdrom add \
+if in-target apt-cdrom add \
    -o Dir::Etc::SourceList=$tmp \
    </dev/null; then
        cat $ROOT$tmp >> $file


Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100918115312.gg10...@login1.uio.no

Reply via email to