From f2531b623bb80f6e65201e550a75eac217debdca Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 4 Dec 2007 07:38:45 +0000 Subject: [PATCH] build broken - normal however as this needed more cleanup --- mkfedora | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/mkfedora b/mkfedora index d3909012..dd46179a 100755 --- a/mkfedora +++ b/mkfedora @@ -193,12 +193,23 @@ set -e ## make rpms ignore installing stuff to special fs entries like /proc # Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725 # you have to use at least one language beside 'C' +# Prevent all locales from being installed in reference image mkdir -p $vroot/etc/rpm cat > $vroot/etc/rpm/macros <$vroot/etc/fstab <$vroot/etc/rpm/macros < $vroot/etc/sysconfig/network -# Trick rpm and yum, who read the real root /etc/rpm/macros file -# rather than the one installed in the reference image, despite what -# you might expect the --root and --installroot options to mean. Both -# programs always read $HOME/.rpmmacros. -export HOME=$vroot/tmp -mkdir -p $vroot/tmp -cp $vroot/etc/rpm/macros $vroot/tmp/.rpmmacros - # Initialize RPM database in reference image mkdir -p $vroot/var/lib/rpm rpm --root $vroot --initdb -- 2.47.0