[Bug 350747] New: updaterepo script for inst-source-utils
https://bugzilla.novell.com/show_bug.cgi?id=350747 Summary: updaterepo script for inst-source-utils Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: schlomo.schapiro@novell.com QAContact: qa@suse.de Found By: Consulting As mentioned on http://en.opensuse.org/Inst-source-utils here is a useful script to add from my collection. This script creates a GPG signed YUM repository. One has to adapt REPO and KEY .. Script: #!/bin/bash REPO=/media/install/${1:-schlomo10} test -d $REPO || { echo "ERROR: REPO '$REPO' must be a directory" exit 1 } gpg-agent || eval $(gpg-agent --daemon) echo "Updating YUM repository '$REPO'" KEY=9e62229e { rm -Rfv $REPO/{repodata,.olddata}/{filelists.xml.gz,other.xml.gz,primary.xml.gz,repomd.xml,repomd.xml.asc} rpm --resign -v $REPO/*/*rpm 2> >(grep -v skip 1>&2) createrepo -v $REPO } | while read ; do echo -n . ; done ; echo gpg -a --detach-sign $REPO/repodata/repomd.xml test -s $REPO/repodata/repomd.xml.key || gpg -a --export $KEY > $REPO/repodata/repomd.xml.key test -d $REPO/media.1 && { rm -f $REPO/media.1/products.asc gpg -a --detach-sign $REPO/media.1/products gpg -a --export $KEY > $REPO/media.1/products.key cd $REPO/media.1/ ls -d -1 >directory.yast } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350747
Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=350747
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350747#c1
Lars Rupp
https://bugzilla.novell.com/show_bug.cgi?id=350747
User schlomo.schapiro@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350747#c2
Schlomo Schapiro
https://bugzilla.novell.com/show_bug.cgi?id=350747
Lars Rupp
https://bugzilla.novell.com/show_bug.cgi?id=350747
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350747#c3
Lars Vogdt
https://bugzilla.novell.com/show_bug.cgi?id=350747
Lars Vogdt
https://bugzilla.novell.com/show_bug.cgi?id=350747
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350747#c4
Lars Vogdt
participants (1)
-
bugzilla_noreply@novell.com