You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
801 B
25 lines
801 B
3 years ago
|
#!/bin/sh
|
||
|
# try making build logs more diffable
|
||
|
# see also reports.mk
|
||
|
|
||
|
[ -n "$BUILDDIR" ] || exit 1
|
||
|
|
||
|
sed -r \
|
||
|
-e "s,$BUILDDIR,,g" \
|
||
|
-e '/\/var\/lib\/apt\/lists/d' \
|
||
|
-e 's/... .. ..:..:..//g' \
|
||
|
-e 's/\[[0-9]+\]//g' \
|
||
|
-e '/^(Reading Package Lists|Building Dependency Tree)/d' \
|
||
|
-e '/^(Fetched|Need to get|After unpacking) /d' \
|
||
|
-e '/^(Preparing packages for installation|Done\.)/d' \
|
||
|
-e '/^hsh(|-(initroot|install|fakedev|(mk|rm)chroot|run)): /d' \
|
||
|
-e '/^(hasher-priv|mkaptbox|(mk|rm)dir): /d' \
|
||
|
-e '/^mki-((invalidate-|)cache|check-obsolete|prepare): /d' \
|
||
|
-e '/^(mode of|changed (group|ownership)|removed) /d' \
|
||
|
-e '/^chroot\/.in\//d' \
|
||
|
-e '/ has started executing\.$/d' \
|
||
|
-e '/\/var\/log\/apt\.log$/d' \
|
||
|
-e '/\/usr\/share\/apt\/scripts\/log\.lua/d' \
|
||
|
-e '/\.rpm$/d' \
|
||
|
-e "/' -> '/d"
|