From: Ian Jackson Date: Sun, 8 Jan 2023 23:43:08 +0000 (+0000) Subject: adt: Remove some commented-out cruft X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=f5d116f28a7704971b176a0e39e01bac8ca28b97;p=hippotat.git adt: Remove some commented-out cruft Signed-off-by: Ian Jackson --- diff --git a/adt/acommon b/adt/acommon index 71714d8..a8f96e7 100644 --- a/adt/acommon +++ b/adt/acommon @@ -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