Wolfgang Schweer
unread,Mar 25, 2023, 7:32:40 AM3/25/23You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Package: debian-edu-config
Version: 2.11.56+deb11u4
Severity: normal
Tags: patch
While trying to install a dedicated LTSP diskless workstation chroot, I
noticed that running 'debian-edu-ltsp-install --dlw' fails in case the
Debian Edu BD ISO image isn't available. This is due to a missing check.
To fix the issue on a system with 'LTSP-Server' profile, run as root:
sed -i 's/if ! mountpoint/if [ "true" == "$BD_ISO" ] \&\& ! mountpoint/' /usr/sbin/debian-edu-ltsp-install
Patch for the d-e-c git master branch:
diff --git a/sbin/debian-edu-ltsp-install b/sbin/debian-edu-ltsp-install
index 3c353202..90627977 100755
--- a/sbin/debian-edu-ltsp-install
+++ b/sbin/debian-edu-ltsp-install
@@ -18,7 +18,7 @@
# Licence: GPL2+
# first edited: 2019-11-21
-version=2021-11-18
+version=2023-03-25
set -e
@@ -598,7 +598,7 @@ EOF
mkdir -p /srv/ltsp/dlw
chmod 755 /srv/ltsp/dlw
# Use BD-ISO if available.
- if ! mountpoint -q /media/cdrom ; then
+ if [ "true" == "$BD_ISO" ] && ! mountpoint -q /media/cdrom ; then
mount /media/cdrom
fi
if grep -q BD /etc/apt/sources.list && [ -f /media/cdrom/.disk/info ] ; then
Wolfgang