pld-builder.new: README.bin-builder - updates, corrections
glen
glen at pld-linux.org
Mon Nov 28 00:25:38 CET 2011
Author: glen Date: Sun Nov 27 23:25:38 2011 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- updates, corrections
---- Files affected:
pld-builder.new:
README.bin-builder (1.7 -> 1.8)
---- Diffs:
================================================================
Index: pld-builder.new/README.bin-builder
diff -u pld-builder.new/README.bin-builder:1.7 pld-builder.new/README.bin-builder:1.8
--- pld-builder.new/README.bin-builder:1.7 Mon Dec 27 21:32:13 2010
+++ pld-builder.new/README.bin-builder Mon Nov 28 00:25:33 2011
@@ -12,6 +12,11 @@
rpm gets it all very messy. see LP#395177.
mv /var/lib/rpm{,-host}
ln -s /srv/chroot/var/lib/rpm /var/lib/rpm
+install -d /srv/chroot/var/lib/rpm
+rpm -r /srv/chroot --initdb
+
+therwise it's just:
+rpm -r /srv/chroot --initdb
- install distro gpg key as default th config packages are signed and sign verify enabled in config:
rpm -r /srv/chroot --import /etc/pki/rpm-gpg/PLD-*.asc
@@ -34,21 +39,21 @@
cat /etc/resolv.conf > /srv/chroot/etc/resolv.conf
- restore rpmdb hack
-rm /var/lib/rpm
+rm -f /var/lib/rpm
mv /var/lib/rpm{-host,}
gpg keys
~~~~~~~~
1. import src builder key to bin builder so it can download queue.gz
-src-builder$ gpg --export KEYID --armor > th-src.asc
+src-builder$ gpg --export builder-th-src at pld-linux.org --armor > th-src.asc
bin-builder$ gpg --import < th-src.asc
2. generate new key for bin builder and import it to src builder so it can
accept spool/notify messages
-gpg --gen-key on target host
3. import that public key to src builder keyring
+bin-builder$ gpg --gen-key
bin-builder$ gpg --export KEYID --armor > th-i686.asc
src-builder$ gpg --import < th-i686.asc
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/README.bin-builder?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list