summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2012-07-06 18:46:56 -0400
committerDJ Delorie <dj@delorie.com>2012-07-06 18:46:56 -0400
commitb0da73afbc74198ac891d34e98d74e656eb41dbe (patch)
treee31c5d1b0b3ec8d9128ff3b106192f7ad71d3f7e
parent6cbca413dcbd9abb7573869fb9fa240394339cd1 (diff)
downloadbootstrap-b0da73afbc74198ac891d34e98d74e656eb41dbe.tar.gz
bootstrap-b0da73afbc74198ac891d34e98d74e656eb41dbe.tar.xz
bootstrap-b0da73afbc74198ac891d34e98d74e656eb41dbe.zip
Add localestatedir and initdb
-rw-r--r--recipe.d/0036-rpm13
1 files changed, 4 insertions, 9 deletions
diff --git a/recipe.d/0036-rpm b/recipe.d/0036-rpm
index 61aca69..80f670e 100644
--- a/recipe.d/0036-rpm
+++ b/recipe.d/0036-rpm
@@ -23,16 +23,11 @@
--libdir=/usr/lib \
--with-external-db \
--disable-static \
- --without-lua
+ --without-lua \
+ --localstatedir=/var
make $J
make $J install
mkdir -p /etc/rpm
mkdir -p /var/lib/rpm
- for dbi in \
- Basenames Conflictname Dirnames Group Installtid Name Obsoletename \
- Packages Providename Requirename Triggername Sha1header Sigmd5 \
- __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
- __db.008 __db.009
- do
- touch /var/lib/rpm/$dbi
- done
+
+rpm --initdb