From: Mark Huang Date: Tue, 21 Jun 2005 19:09:53 +0000 (+0000) Subject: - trick rpm and yum into only installing en_US locale and no docs when X-Git-Tag: planetlab-3_3-rc2~12 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=cb94c9b7f3886160f08b6958dfa722872af6a62b - trick rpm and yum into only installing en_US locale and no docs when using rpm --root or yum --installroot --- diff --git a/build.sh b/build.sh index 180ef20..4a7890c 100755 --- a/build.sh +++ b/build.sh @@ -68,6 +68,9 @@ function build_cdroot() echo "setup rpm to install only en_US locale and no docs" mkdir -p $CD_ROOT/etc/rpm cp -f $CONF_FILES_DIR/macros $CD_ROOT/etc/rpm + # trick rpm and yum + export HOME=$PWD + cp -f $CONF_FILES_DIR/macros $PWD/.rpmmacros echo "initialize rpm db" mkdir -p $CD_ROOT/var/lib/rpm