On Mon, Jul 19, 2010 at 04:34:15PM +0200, Andreas B. Mundt wrote: > in_target: mount: can't find /cdrom in /etc/fstab or /etc/mtab > > I managed to get a bit further by applying the following patch to > ltsp-5.2.3/server/plugins/ltsp-build-client/Debian/099-mount-cdrom: > > --- 099-mount-cdrom.orig 2010-07-19 15:53:39.000000000 +0200 > +++ 099-mount-cdrom 2010-07-19 15:54:01.000000000 +0200 > @@ -11,12 +11,12 @@ > ;; > before-install) > if [ "$MOUNT_CDROM" = "true" ]; then > - mount /cdrom > + mount /media/cdrom > fi > ;; > finalization) > if [ "$MOUNT_CDROM" = "true" ]; then > - umount /cdrom > + umount /media/cdrom > fi > ;; > esac
apparently this was recently changed in debian-installer, though sounds like /media/cdrom has been viable at least since lenny, so this sounds ok to apply. > The mount works now, but the next error reported is: > > in_target: I: Retrieving Release > in_target: E: Failed getting release file file:///cdrom/dists/squeeze/Release > > Applying the following patch to tsp-5.2.3/debian/ltsp-client-builder.templates > > --- ltsp-client-builder.templates.orig 2010-07-19 16:19:54.000000000 +0200 > +++ ltsp-client-builder.templates 2010-07-19 14:33:00.000000000 +0200 > @@ -29,7 +29,7 @@ > > Template: ltsp-client-builder/build-client-opts > Type: string > -Default: --mirror file:///cdrom --security-mirror none --mount-cdrom > +Default: --mirror file:///media/cdrom --security-mirror none --mount-cdrom > # Only used for preseeding arguments to ltsp-client-builder. > Description: arguments for ltsp-build-client: > this option is meant to be used with debconf preseeding. almost... > results in the error: > > in_target: I: Retrieving Release > in_target: I: Retrieving Release.gpg > in_target: E: Failed getting release signature file > file:///media/cdrom/dists/squeeze/Release.gpg you'd also need to add --accept-unsigned-packages to the default commandline arguments: --- ltsp-client-builder.templates.orig 2010-07-19 16:19:54.000000000 +0200 +++ ltsp-client-builder.templates 2010-07-19 14:33:00.000000000 +0200 @@ -29,7 +29,7 @@ Template: ltsp-client-builder/build-client-opts Type: string -Default: --mirror file:///cdrom --security-mirror none --mount-cdrom +Default: --mirror file:///media/cdrom --security-mirror none --mount-cdrom --accept-unsigned-packages # Only used for preseeding arguments to ltsp-client-builder. Description: arguments for ltsp-build-client: this option is meant to be used with debconf preseeding. i'm not aware of CD images that actually have signed release files, so i guess this isn't any more evil than installing from cd ever is... > I hope this helps tracking the bug(s) down. sure does! if i don't get to by tomorrow, i might not get a chance to fix it till next week as i'll be traveling on and off. feel free to NMU (or maybe another pkg-ltsp team member?) if you need it fixed sooner. live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org