Clean dnf history
Otherwise, operations that we perform in %post will show up in the history of the installed system. Signed-off-by: Andrea Bolognani <abologna@redhat.com> (cherry picked from commit a6e0b13c5d9da63f7c7d1c15a1a6af103df6c87c)
This commit is contained in:
parent
40b7729123
commit
6c0c1cdde5
@ -512,6 +512,9 @@ rm -f /var/lib/systemd/random-seed
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
@ -190,6 +190,9 @@ rm -f /var/lib/systemd/random-seed
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
@ -187,6 +187,9 @@ rm -f /var/lib/systemd/random-seed
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
@ -183,6 +183,9 @@ rm -f /var/lib/systemd/random-seed
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user