an rpm repo in the making (quick)
Ok.. since we build the rpms we want.. lets build the yum repo we will distribute them from.
on the server side:
mkdir -p /srv/www/htdocs/custom-rpmsfrom the client side:
cp /usr/src/packages/RPMS/x86_64/*.rpm /srv/www/htdocs/custom-rpms/
cd /srv/www/htdocs/custom-rpms/
createrepo -v .
gpg --gen-key
gpg --list-keys
gpg -a --detach-sign --default-key repodata/repomd.xml
gpg -a --export > repodata/repomd.xml.key
(SLES 10)
zypper --no-gpg-checks --non-interactive sa http://your-smt-server/custom-rpms/
(or the recommended way)
rug set-prefs security-level checksum
rug sa http://your-smt-server/custom-rpms/ Custom-RPMS
more will come... :)