[debian-edu-commits] debian-edu/ 01/01: LTSP chroot: After 'autoremove' purge all packages with status 'rc'. Adjust changelog.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Thu Oct 16 14:02:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-config.

commit 88f6feeeaba2a4421195de20127d085552c6d423
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Thu Oct 16 16:01:39 2014 +0200

    LTSP chroot: After 'autoremove' purge all packages with status 'rc'. Adjust changelog.
---
 debian/changelog                                                | 3 ++-
 share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 14af9b8..17407e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,8 @@ debian-edu-config (1.811) UNRELEASED; urgency=high
 
   * ltsp-build-client/Debian-custom/032-edu-pkgs:
     - Purge package cups cause the package isn't needed for printing on
-    - thin clients and diskless workstations.
+      thin clients and diskless workstations.
+    - After 'autoremove' purge all packages with status 'rc'.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Thu, 16 Oct 2014 15:45:54 +0200
 
diff --git a/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs b/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs
index e0a9e5e..f034f5a 100644
--- a/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs
+++ b/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs
@@ -241,9 +241,6 @@ setup_diskless_workstation() {
     # No modem either
     in_target apt-get -y purge modemmanager
 
-    # samba status is rc; so purge the package, too.
-    in_target apt-get -y purge samba
-
     # consolekit is deprecated: replacement is systemd-logind.
     in_target apt-get -y purge consolekit
 
@@ -259,6 +256,9 @@ setup_diskless_workstation() {
     # Remove dependencies pulled in by removed packages
     in_target apt-get -y autoremove
 
+    # Purge all packages with status 'rc'.
+    in_target dpkg -l | grep "^rc" | cut -d " " -f3 | xargs dpkg -P
+
     # Needed to get the loopback interface
     only_run_on_rclevel S ifupdown networking
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list