From d5562c94406f5f86865dfa4644c7b352fec92148 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Nov 04 2015 15:38:18 +0000 Subject: Adding STAGE2 bootstrap recipe --- diff --git a/STAGE2-rpm b/STAGE2-rpm new file mode 100644 index 0000000..b2dcd2a --- /dev/null +++ b/STAGE2-rpm @@ -0,0 +1,34 @@ +#requires popt +#requires nss-softokn +#requires nss +#requires file +#requires libarchive +#requires libdb4 +#requires redhat-rpm-config +#requires lua +#requires autoconf +#requires pkgconfig + + +(cd $SRC/rpm-*/ && autoreconf -vif) + +mcd $BUILDDIR/rpm + +$SRC/rpm-*/configure $TCONFIGARGS \ + --build=${TARGET} \ + --host=${TARGET} \ + --target=${TARGET} \ + CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss3 -DPACKAGE -DPACKAGE_VERSION" \ + --libdir=/usr/lib${SUFFIX} \ + --with-external-db \ + --disable-static \ + --with-lua \ + --localstatedir=/var + +make $J +make $J install + +mkdir -p /etc/rpm +mkdir -p /var/lib/rpm + +rpm --initdb