git://git.onelab.eu
/
sliceimage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f7283ac
)
- RPM is too $#%@! stupid to understand bash here documents and tries
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 7 Oct 2004 17:10:06 +0000
(17:10 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 7 Oct 2004 17:10:06 +0000
(17:10 +0000)
too hard to expand macros
vserver-reference.spec
patch
|
blob
|
history
diff --git
a/vserver-reference.spec
b/vserver-reference.spec
index
f4f7511
..
f3272bf
100644
(file)
--- a/
vserver-reference.spec
+++ b/
vserver-reference.spec
@@
-102,11
+102,11
@@
EOF
# Prevent all locales from being installed in reference image
mkdir -p %{installroot}/etc/rpm
-cat > %{installroot}/etc/rpm/macros <<EOF
-%_install_langs en_US:en
-%_excludedocs 1
-%__file_context_path /dev/null
-EOF
+(
+echo "%_install_langs en_US:en"
+echo "%_excludedocs 1"
+echo "%__file_context_path /dev/null"
+) > %{installroot}/etc/rpm/macros
# Initialize RPM database in reference image
mkdir -p %{installroot}/var/lib/rpm