git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a1dcde
)
- trick rpm and yum into only installing en_US locale and no docs when
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 21 Jun 2005 19:09:53 +0000
(19:09 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 21 Jun 2005 19:09:53 +0000
(19:09 +0000)
using rpm --root or yum --installroot
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
180ef20
..
4a7890c
100755
(executable)
--- 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