Package: debian-edu-config Version: 1.817 Severity: important Tags: patch The script share/ltsp/plugins/ltsp-build-client/Debian-custom/099-mount-cdrom has been used to replace the related Debian/099-mount-cdrom from ltsp.
This script has been removed in jessie, cdrom mounting ensured by
ltsp-client-builder postinst.
So 099-mount-cdrom should be removed to avoid possible conflicts.
diff --git a/Makefile b/Makefile
index d450756..7671178 100644
--- a/Makefile
+++ b/Makefile
@@ -439,7 +439,6 @@ install: install-testsuite
share/ltsp/plugins/ltsp-build-client/Debian-custom/050-nbdquery \
share/ltsp/plugins/ltsp-build-client/Debian-custom/095-umount-error \
share/ltsp/plugins/ltsp-build-client/Debian-custom/098-etckeeper \
- share/ltsp/plugins/ltsp-build-client/Debian-custom/099-mount-cdrom \
; do \
$(INSTALL_DATA) $$f $(DESTDIR)/usr/$$f ; \
done
diff --git a/share/ltsp/plugins/ltsp-build-client/Debian-custom/099-mount-cdrom
b/share/ltsp/plugins/ltsp-build-client/Debian-custom/099-mount-cdrom
deleted file mode 100644
index 46bd33d..0000000
--- a/share/ltsp/plugins/ltsp-build-client/Debian-custom/099-mount-cdrom
+++ /dev/null
@@ -1,28 +0,0 @@
-# Replacement for the Debian/099-mount-cdrom script in the official ltsp
-# package. Having the file here is a workaround for #606313,
-# triggered when using USB sticks with CD isos.
-case "$MODE" in
- commandline)
- add_option "mount-cdrom" "`eval_gettext "mounts CDROM before
installation"`" "advanced" "false"
- ;;
- configure)
- if [ -n "$option_mount_cdrom_value" ]; then
- MOUNT_CDROM="true"
- fi
- ;;
- before-install)
- if [ "$MOUNT_CDROM" = "true" ]; then
- if mount /media/cdrom ; then
- :
- else
- echo "unble to mount cdrom, trying to continue"
- MOUNT_CDROM=false
- fi
- fi
- ;;
- finalization)
- if [ "$MOUNT_CDROM" = "true" ]; then
- umount /media/cdrom
- fi
- ;;
-esac
Wolfgang
signature.asc
Description: Digital signature

