[Pkg-ltsp-devel] Bug#758500: ltsp-client-builder: Unable to install LTSP from CD using udeb (Debian Edu Jessie)

Vagrant Cascadian vagrant at debian.org
Sun Sep 7 00:25:23 UTC 2014


On 2014-08-19 07:47:17 -0500, Petter Reinholdtsen wrote:
> [Vagrant Cascadian]
>> Yes, it needs to be mounted in /target/cdrom when ltsp-client-builder
>> runs. This seems to be a change in debian-installer again, then.
>
> Aha.
>
>> It would seem ltsp-client-builder is going to need to get much more
>> intelligent about this...
>
> I hope you can find a good solution for it, as it currently block Debian
> Edu Jessie testing of the Think Client Server profile. :)

This is my best try so far, and assumes that /media/cdrom is the
mountpoint:

diff --git a/ltsp-client-builder.postinst b/ltsp-client-builder.postinst
index 33100d8..a6f9b87 100644
--- a/ltsp-client-builder.postinst
+++ b/ltsp-client-builder.postinst
@@ -40,6 +40,10 @@ if db_get ltsp-client-builder/build-client-opts && [ -n "$RET" ] ; then
     log "ltsp-build-client options: $BUILD_CLIENT_OPTS"
 fi
 
+if [ "$USE_CDROM" != "false" ] && [ ! -f /media/cdrom/.disk/info ]; then
+    in-target mount /media/cdrom
+fi
+
 # configure network interface
 if db_get ltsp-client-builder/configure_network_interface && [ "$RET" != "false" ]; then
     CONFIGURE_NETWORK_INTERFACE=true


I haven't yet tested with the media as a USB stick; will try that now.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20140906/0e3ed189/attachment.sig>


More information about the Pkg-ltsp-devel mailing list