[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: run-at-firstboot: Fix check for successful LTSP chroot creations
Mike Gabriel (@sunweaver)
gitlab at salsa.debian.org
Mon Nov 9 14:19:55 GMT 2026
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
193dc063 by Mike Gabriel at 2026-11-09T15:17:18+01:00
run-at-firstboot: Fix check for successful LTSP chroot creations
Unfortunately, CREATED_SUCCESSFULLY and SUCCESSFULLY_CREATED has been
mixed up and both variants were used. Gets resolved by this change.
- - - - -
82454960 by Mike Gabriel at 2026-11-09T15:19:40+01:00
upload to unstable (debian/2.13.9)
- - - - -
2 changed files:
- debian/changelog
- share/debian-edu-config/tools/run-at-firstboot
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+debian-edu-config (2.13.9) unstable; urgency=medium
+
+ * run-at-firstboot:
+ - Fix check for successful LTSP chroot creations
+
+ -- Mike Gabriel <sunweaver at debian.org> Mon, 09 Nov 2026 15:18:24 +0100
+
debian-edu-config (2.13.8) unstable; urgency=medium
[ Mike Gabriel ]
=====================================
share/debian-edu-config/tools/run-at-firstboot
=====================================
@@ -75,10 +75,10 @@ if ! is_ltsp_client; then
# Diskless Workstation chroot from scratch as clean environment.
if echo "$PROFILE" | grep -Eq 'Main-Server' && \
echo "$PROFILE" | grep -Eq 'LTSP-Server'; then
- if [ -d /srv/ltsp/dlw ] && [ -z "$(find /srv/ltsp/dlw/ -name "SUCCESSFULLY_CREATED_*")" ]; then
+ if [ -d /srv/ltsp/dlw ] && [ -z "$(find /srv/ltsp/dlw/ -name "CREATED_SUCCESSFULLY_*")" ]; then
rm -Rf /srv/ltsp/dlw
fi
- if [ ! -d /srv/ltsp/dlw ] || [ -n "$(find /srv/ltsp/dlw/ -name "SUCCESSFULLY_CREATED_*")" ]; then
+ if [ ! -d /srv/ltsp/dlw ] || [ -n "$(find /srv/ltsp/dlw/ -name "CREATED_SUCCESSFULLY_*")" ]; then
env -i HOME="${HOME}" PATH="${PATH}" TERM="${TERM}" USER="${USER}" LOGNAME="${LOGNAME}" /usr/sbin/debian-edu-ltsp-install --dlw yes
fi
# else if this runs on a pure LTSP-Server (no Main-Server role), then
@@ -92,10 +92,10 @@ if ! is_ltsp_client; then
fi
# Always create the thin client image for all LTSP-Server variants/combinations.
if echo "$PROFILE" | grep -Eq 'LTSP-Server'; then
- if [ -d /srv/ltsp/x2go-bare-amd64 ] && [ -z "$(find /srv/ltsp/x2go-bare-amd64/ -name "SUCCESSFULLY_CREATED_*")" ]; then
+ if [ -d /srv/ltsp/x2go-bare-amd64 ] && [ -z "$(find /srv/ltsp/x2go-bare-amd64/ -name "CREATED_SUCCESSFULLY_*")" ]; then
rm -Rf /srv/ltsp/x2go-bare-amd64/
fi
- if [ ! -d /srv/ltsp/x2go-bare-amd64 ] || [ -n "$(find /srv/ltsp/x2go-bare-amd64/ -name "SUCCESSFULLY_CREATED_*")" ]; then
+ if [ ! -d /srv/ltsp/x2go-bare-amd64 ] || [ -n "$(find /srv/ltsp/x2go-bare-amd64/ -name "CREATED_SUCCESSFULLY_*")" ]; then
env -i HOME="${HOME}" PATH="${PATH}" TERM="${TERM}" USER="${USER}" LOGNAME="${LOGNAME}" /usr/sbin/debian-edu-ltsp-install --thin_type bare
fi
fi
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/9659b71a7736b043fc923462ac15028362b4792c...824549606a34f75f37f9cdbb14ae267bd67952aa
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/9659b71a7736b043fc923462ac15028362b4792c...824549606a34f75f37f9cdbb14ae267bd67952aa
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20261109/9f5e625b/attachment-0001.htm>
More information about the debian-edu-commits
mailing list