Loading debian/changelog +8 −0 Original line number Diff line number Diff line debian-edu-config (2.10.58) UNRELEASED; urgency=medium * Improve share/ltsp/plugin/ltsp-build-client/Debian-custom/032-edu-pkgs: - Generate list of actually installed packages intended to be purged. - Purge selected packages to make LTSP clients work. -- Wolfgang Schweer <wschweer@arcor.de> Mon, 28 Jan 2019 21:16:18 +0100 debian-edu-config (2.10.57) unstable; urgency=medium * 032-edu-pkgs: fix typo. Loading share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs +9 −1 Original line number Diff line number Diff line Loading @@ -173,6 +173,7 @@ after_install_diskless_workstation() { finalization_diskless_workstation() { local PURGE="" local PURGE2="" # Get rid of lvm2, as it causes the shutdown to hang. PURGE="lvm2" Loading Loading @@ -201,8 +202,15 @@ finalization_diskless_workstation() { # Probably not very useful without a disk PURGE="$PURGE hdparm hddtemp" # Match only installed packages to avoid breaking the installation. for p in $(echo $PURGE) ; do if in_target dpkg -l $p 2>/dev/null | tail -1 | grep -q ^ii ; then PURGE2="$PURGE2 $p" fi done # purge them alltogether in_target apt-get -y purge "$PURGE" || true in_target apt-get -y purge $PURGE2 # Remove dependencies pulled in by removed packages in_target apt-get -y --purge autoremove Loading Loading
debian/changelog +8 −0 Original line number Diff line number Diff line debian-edu-config (2.10.58) UNRELEASED; urgency=medium * Improve share/ltsp/plugin/ltsp-build-client/Debian-custom/032-edu-pkgs: - Generate list of actually installed packages intended to be purged. - Purge selected packages to make LTSP clients work. -- Wolfgang Schweer <wschweer@arcor.de> Mon, 28 Jan 2019 21:16:18 +0100 debian-edu-config (2.10.57) unstable; urgency=medium * 032-edu-pkgs: fix typo. Loading
share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs +9 −1 Original line number Diff line number Diff line Loading @@ -173,6 +173,7 @@ after_install_diskless_workstation() { finalization_diskless_workstation() { local PURGE="" local PURGE2="" # Get rid of lvm2, as it causes the shutdown to hang. PURGE="lvm2" Loading Loading @@ -201,8 +202,15 @@ finalization_diskless_workstation() { # Probably not very useful without a disk PURGE="$PURGE hdparm hddtemp" # Match only installed packages to avoid breaking the installation. for p in $(echo $PURGE) ; do if in_target dpkg -l $p 2>/dev/null | tail -1 | grep -q ^ii ; then PURGE2="$PURGE2 $p" fi done # purge them alltogether in_target apt-get -y purge "$PURGE" || true in_target apt-get -y purge $PURGE2 # Remove dependencies pulled in by removed packages in_target apt-get -y --purge autoremove Loading