Ljubomir Ljubojevic wrote:
for i in $(find . -type f | grep .rpm); do
rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz`
just a small comment, grep uses regexps so this doesn't do what you want
(eg the . is a wildcard char). Your script can break, silently (won't
sign rpms whose
On Sat, May 21, 2011 at 09:30:06AM +0200, Nicolas Thierry-Mieg wrote:
Ljubomir Ljubojevic wrote:
for i in $(find . -type f | grep .rpm); do
rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz`
just a small comment, grep uses regexps so this doesn't do what you want
(eg the .
On 05/21/11 12:43 AM, John R. Dennison wrote:
find . -type f -name \*.rpm ! -name \*.zzz
that won't work right anyways.the first -name says match just .rpm
files. none of those will be .zzz so the 2nd expression won't ever get
hit (all .rpm files are not .zzz files).
--
john r
John R. Dennison wrote:
On Sat, May 21, 2011 at 09:30:06AM +0200, Nicolas Thierry-Mieg wrote:
Ljubomir Ljubojevic wrote:
for i in $(find . -type f | grep .rpm); do
rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz`
just a small comment, grep uses regexps so this doesn't do what
Nicolas Thierry-Mieg wrote:
John R. Dennison wrote:
On Sat, May 21, 2011 at 09:30:06AM +0200, Nicolas Thierry-Mieg wrote:
Ljubomir Ljubojevic wrote:
for i in $(find . -type f | grep .rpm); do
rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz`
just a small comment, grep uses
On Sat, May 21, 2011 at 10:13:52AM +0200, Nicolas Thierry-Mieg wrote:
agreed, using find alone is another way to do it, although as stated
by John Pierce the second -name is useless here.
I was pointing out a flaw in the code and offering a correction using
the same way to do it.
Oh,
On 05/20/2011 01:13 PM, Keith Roberts wrote:
On Fri, 20 May 2011, Ljubomir Ljubojevic wrote:
To: CentOS mailing list centos@centos.org
From: Ljubomir Ljubojevic off...@plnet.rs
Subject: [CentOS] Passing password to script for rpmsign of list of .rpm
files
I am trying to automatize
Johnny Hughes wrote:
On 05/20/2011 01:13 PM, Keith Roberts wrote:
On Fri, 20 May 2011, Ljubomir Ljubojevic wrote:
To: CentOS mailing list centos@centos.org
From: Ljubomir Ljubojevic off...@plnet.rs
Subject: [CentOS] Passing password to script for rpmsign of list of .rpm
files
I am trying
I am trying to automatize signing of unsigned .rpm files. My repo has at
least 50 x 3 packages.
But I would have to type numerous passwords for each file. I can not see
hot to pass pass phrase to script.
rpmsign --resign {--pass=??} filename from list
Can someone advise me how to do
On Fri, 20 May 2011, Ljubomir Ljubojevic wrote:
I am trying to automatize signing of unsigned .rpm files. My repo has at
least 50 x 3 packages.
But I would have to type numerous passwords for each file. I can not see
hot to pass pass phrase to script.
rpmsign --resign {--pass=??} filename
John Hodrien wrote:
On Fri, 20 May 2011, Ljubomir Ljubojevic wrote:
I am trying to automatize signing of unsigned .rpm files. My repo has at
least 50 x 3 packages.
But I would have to type numerous passwords for each file. I can not see
hot to pass pass phrase to script.
rpmsign --resign
On Fri, 20 May 2011, Ljubomir Ljubojevic wrote:
To: CentOS mailing list centos@centos.org
From: Ljubomir Ljubojevic off...@plnet.rs
Subject: [CentOS] Passing password to script for rpmsign of list of .rpm files
I am trying to automatize signing of unsigned .rpm files. My repo has at
least
On Friday 20 May 2011 21:11:58 Ljubomir Ljubojevic wrote:
John Hodrien wrote:
On Fri, 20 May 2011, Ljubomir Ljubojevic wrote:
I am trying to automatize signing of unsigned .rpm files. My repo has at
least 50 x 3 packages.
But I would have to type numerous passwords for each file. I can
Marian Marinov wrote:
You should also check this:
http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/
I am not really trilled by entering blank passwords.
Anyhow, I have developed nice script for automatic signing of (--addsign
= only unsigned, --resign = all) rpm's.
Features:
Marian Marinov wrote:
You should also check this:
http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/
I am not really trilled by entering blank passwords.
Anyhow, I have developed nice script for automatic signing of (--addsign
= only unsigned, --resign = all) rpm's.
Features:
1)
This is repeated reply, so it is properly threaded. Sorry for double post.
Marian Marinov wrote:
You should also check this:
http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/
I am not really trilled by entering blank passwords.
Anyhow, I have developed nice script for
16 matches
Mail list logo