summaryrefslogtreecommitdiffstats
path: root/recipe.d/0036-rpm
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2011-07-05 13:25:20 -0400
committerDJ Delorie <dj@delorie.com>2011-07-05 13:25:20 -0400
commit857fac08cb249564bfcdb79b43b28d1be0433e2d (patch)
tree9ed67fb4ab841c589a5196fa1a277d7be246f6b7 /recipe.d/0036-rpm
parent2d1dd4c1de34258a29caa448e9c5cceb90a793b4 (diff)
downloadbootstrap.git.DONOTUSE-857fac08cb249564bfcdb79b43b28d1be0433e2d.tar.gz
bootstrap.git.DONOTUSE-857fac08cb249564bfcdb79b43b28d1be0433e2d.tar.xz
bootstrap.git.DONOTUSE-857fac08cb249564bfcdb79b43b28d1be0433e2d.zip
Sync recipe stuff from rootfs tree
Diffstat (limited to 'recipe.d/0036-rpm')
-rw-r--r--recipe.d/0036-rpm22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipe.d/0036-rpm b/recipe.d/0036-rpm
new file mode 100644
index 0000000..7405771
--- /dev/null
+++ b/recipe.d/0036-rpm
@@ -0,0 +1,22 @@
+ mcd $BUILDDIR/rpm
+ $SRC/rpm-*/configure $TCONFIGARGS \
+ --build=armv7hl-redhat-linux-gnueabi \
+ --host=armv7hl-redhat-linux-gnueabi \
+ --target=armv7hl-redhat-linux-gnueabi \
+ CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss3" \
+ --libdir=/usr/lib \
+ --with-external-db \
+ --disable-static \
+ --without-lua
+ 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