[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780591: ltsp-client-builder fails when installing Debian Edu combined server in virtualbox environment



On Tue, Mar 17, 2015 at 07:25:11PM +0100, Petter Reinholdtsen wrote:
> 
> > if [ "$USE_CDROM" != "false" ] && [ ! -f /target/media/cdrom/.disk/info ]; then
> >     chroot /target mount /media/cdrom
> >     log "mounting /media/cdrom"
> > fi
> 
> When I just tested and the LTSP installation failed, the USE_CDROM value
> is 'true' and nothing is mounted in /target/media/.  The CD from
> /dev/sr0 is mounted on /cdrom/.
 
With this (trivial) modification installation succeeded.

--- a/postinst	2015-03-06 10:00:00.000000000 +0100
+++ ltsp-client-builder.postinst	2015-03-17 21:39:38.824682599 +0100
@@ -64,7 +64,7 @@
 db_progress STEP 1
 
 if [ "$USE_CDROM" != "false" ] && [ ! -f /target/media/cdrom/.disk/info ]; then
-    chroot /target mount /media/cdrom
+    mount /dev/cdrom /target/media/cdrom
     log "mounting /media/cdrom"
 fi
 

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: