[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
- [lmi-commits] [lmi] master updated (e359438 -> 51df319), Greg Chicares, 2019/09/14
- [lmi-commits] [lmi] master 60d6fae 6/7: Use permanent chroot alias, Greg Chicares, 2019/09/14
- [lmi-commits] [lmi] master 51df319 7/7: Add a sixth konsole tab, Greg Chicares, 2019/09/14
- [lmi-commits] [lmi] master a289e29 3/7: Improve filtering of apt-get log,
Greg Chicares <=
- [lmi-commits] [lmi] master 1db973e 1/7: Allow expansion in here-documents, Greg Chicares, 2019/09/14
- [lmi-commits] [lmi] master 1ce7b42 4/7: Note a difference between distros, Greg Chicares, 2019/09/14
- [lmi-commits] [lmi] master be5b1c9 2/7: Parameterize chroot identifiers, Greg Chicares, 2019/09/14
- [lmi-commits] [lmi] master a3c8fb5 5/7: Establish a permanent schroot alias, Greg Chicares, 2019/09/14