lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master a289e29 3/7: Improve filtering of apt-get log


From: Greg Chicares
Subject: [lmi-commits] [lmi] master a289e29 3/7: Improve filtering of apt-get log
Date: Sat, 14 Sep 2019 13:26:17 -0400 (EDT)

branch: master
commit a289e29d27c1c742a0e5416aac13509daa688c10
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve filtering of apt-get log
    
    Adapted to debian 'bullseye'. Removed '\r' because it occurs in progress
    messages.
---
 README.schroot | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/README.schroot b/README.schroot
index 126488a..de946ba 100644
--- a/README.schroot
+++ b/README.schroot
@@ -123,11 +123,20 @@ apt-get --assume-yes install wget g++-mingw-w64 automake 
libtool make \
  >${CHRTNAME}-apt-get-log 2>&1
 
 # This command should produce little output:
-<${CHRTNAME}-apt-get-log sed -e'0,/^Preconfiguring/d' \
+<${CHRTNAME}-apt-get-log tr -d '\r' | sed \
+ -e'0,/^Preconfiguring/d' \
  -e'/^Fetched\|^Preparing\|^Unpacking\|^Configuring\|^Selecting/d' \
  -e'/^Setting up\|^Processing\|^Adding\|^update-alternatives\|^[Dd]one./d' \
  -e'/^(Reading database\|^Linking\|^Moving old\|^Regenerating/d' \
- -e'/^Creating config\|^Updating certificates\|^Running hooks/d'
+ -e'/^Creating config\|^Updating certificates\|^Running hooks/d' \
+ -e'/^Running in chroot, ignoring request.$/d' \
+ -e'/^update-rc.d: warning: start and stop actions are no longer supported; 
falling back to defaults$/d' \
+ -e'/^invoke-rc.d: policy-rc.d denied execution of start.$/d' \
+ -e'/^Warning: The home dir \/run\/uuidd you specified can.t be accessed: No 
such file or directory$/d' \
+ -e'/^Not creating home directory .\/run\/uuidd..$/d' \
+ -e'/^No schema files found: doing nothing.$/d' \
+ -e'/^[0-9][0-9]* added, [0-9][0-9]* removed; done.$/d' \
+
 #
 # Don't worry about messages like the following--see:
 #   https://lists.nongnu.org/archive/html/lmi/2016-09/msg00025.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]