Bug#595903: apt-setup: Fail to set up DVD as APT source during installation
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
Reply to: