[Bug 338598] New: create_sha1sums contains small typo, preventing adding more rpms with yast2-product-creator
https://bugzilla.novell.com/show_bug.cgi?id=338598 Summary: create_sha1sums contains small typo, preventing adding more rpms with yast2-product-creator Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bart@geesink.org QAContact: qa@suse.de Found By: --- I have tried for days to create an openSUSE installation CD with yast2-product-creator because I wanted to add another language to the KDE install CD. After trying to find out how to do everything manually, it turned out that the public key I was using was not SHA1'ed, so the RPM's I added with the addon creator were not used by the installation (very much to my frustration, as the RPM's were there, and they also showed up in the packages file :)). When I did everything manually I got this error while executing create_sha1sums: ERROR: Could not find public key file for pubring.gpg in gpg-pubkey- It turned out that this is because all normal keys are on the CD like this: gpg-pubkey-307e3d54-44201d5d.asc However, mine is like this: gpg-pubkey-127dcc38.asc (done by yast2-product-creator) So I am not sure whether this filename should have been put in another way by yast2-product-creator or that this line (line 109) in /usr/bin/create_sha1sums: KEY_FILE=`ls $CDS_PRIM/gpg-pubkey-$KEY_ID-* 2>/dev/null | tail -1` should read KEY_FILE=`ls $CDS_PRIM/gpg-pubkey-$KEY_ID* 2>/dev/null | tail -1` -- 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=338598 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |lrupp@novell.com -- 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=338598#c1 Lars Rupp <lrupp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lrupp@novell.com Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Lars Rupp <lrupp@novell.com> 2007-11-05 13:09:49 MST --- Easy fix, but depends on how we would "train" packagers and CD-Creators to name their keys:
rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' [...] gpg-pubkey-9c800aca-40d8063e --> gpg(SuSE Package Signing Key <build@suse.de>)
Some additional explanations can be found here: http://forums.fedoraforum.org/showthread.php?t=85896 ..and as the keys on the media should be unambiguously comparable with the ones in your keyring, I don't like to change the code in this way. Feel free to reopen if you don't agree - but please remind, that the current solution might also be a security thought ;-) -- 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.
participants (1)
-
bugzilla_noreply@novell.com