Commit 7e5633a6 authored by Mike Hibler's avatar Mike Hibler
Browse files

Remove /var/lib/rpm/__db* on linux.

These files get regenerated on every boot anyway
(i.e., rc.sysinit removes them and they keep coming back!)

Note: I don't spend all my time analyzing the RHL boot sequence, I noticed
this as a consequence of looking at what changed in a "delta" disk image
created with the new imagezip.
parent 96fd9973
...@@ -205,6 +205,9 @@ foreach my $dir (@SYSVARDIRS) { ...@@ -205,6 +205,9 @@ foreach my $dir (@SYSVARDIRS) {
} }
} }
# take these out since they are large and RHL regens them anyway
system("rm -f /var/lib/rpm/__db*");
print "Clearing out directories in $VARDIR ...\n"; print "Clearing out directories in $VARDIR ...\n";
foreach my $dir (@VARDIRS) { foreach my $dir (@VARDIRS) {
if (-d "$VARDIR/$dir") { if (-d "$VARDIR/$dir") {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment