From: Alexey Torkhov Date: Tue, 13 Oct 2009 13:46:09 +0000 (+0100) Subject: RFE on febootstrap-minimize: remove yumdb (RHBZ#528685) X-Git-Tag: 2.5~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4f144d5239fffa50ad28033252ab7e1011815928;hp=e0948419331d56c8f95fdeba2bca12ed5b5f1270;p=febootstrap.git RFE on febootstrap-minimize: remove yumdb (RHBZ#528685) --- diff --git a/febootstrap-minimize.pod b/febootstrap-minimize.pod index 96cb177..e05b1c7 100644 --- a/febootstrap-minimize.pod +++ b/febootstrap-minimize.pod @@ -81,8 +81,8 @@ Keep or drop all timezones (except UTC which is never deleted). =item B<--drop-rpmdb> -Keep or drop the RPM package database. Obviously RPM will be -completely non-functional if you drop this. +Keep or drop the RPM and YUM package databases. Obviously RPM and YUM will be +completely non-functional if you drop these. =item B<--keep-yum-cache> diff --git a/febootstrap-minimize.sh b/febootstrap-minimize.sh index efee844..0004d03 100755 --- a/febootstrap-minimize.sh +++ b/febootstrap-minimize.sh @@ -213,6 +213,8 @@ fi if [ "$keep_rpmdb" != "yes" ]; then febootstrap-run "$target" -- rm -rf var/lib/rpm febootstrap-run "$target" -- mkdir -p --mode=0755 var/lib/rpm + febootstrap-run "$target" -- rm -rf var/lib/yum + febootstrap-run "$target" -- mkdir -p --mode=0755 var/lib/yum fi if [ "$keep_yum_cache" != "yes" ]; then