chiark / gitweb /
adt: Remove some commented-out cruft
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2023 23:43:08 +0000 (23:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2023 23:41:52 +0000 (23:41 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adt/acommon

index 71714d84d59f519aafcfe8ec2c854f1850d01245..a8f96e73b64a689a9e7a62ef1109bd2a9c86d1cb 100644 (file)
@@ -128,9 +128,6 @@ setup-host () {
     filesystem-prep $cs
     pidnamespace-prep $cs
 
-#    in- $cs ps -efH
-#false
-
     in- $cs bash -xec '
        if test -h /var/cache/apt/archives &&
          ! test -d /var/cache/apt/archives; then
@@ -139,7 +136,6 @@ setup-host () {
     '
 
     : remove redundant packages
-#    apt-mark showmanual |sort >$tmp/$cs-mark-manual
     perl -ne '
        next unless m{^Tests:.*\s'"$tname"'\s}..m{^$};
        next unless m{^Depends:}...m{^\S};
@@ -153,7 +149,6 @@ setup-host () {
        next if m{^(?:iptables|rsyslog|authbind)$} && '"$cs"' eq "server";
        print;
     ' $tmp/$cs-unwanted-deps)
-#    join $tmp/$cs-unwanted-deps
     in- $cs apt-mark auto $unwanted_deps
     in- $cs apt-get -y autoremove