[Bug 896126] New: kiwi: suseImportBuildKey should be more robust
https://bugzilla.novell.com/show_bug.cgi?id=896126 https://bugzilla.novell.com/show_bug.cgi?id=896126#c0 Summary: kiwi: suseImportBuildKey should be more robust Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: System Imaging AssignedTo: ms@suse.com ReportedBy: aspiers@suse.com QAContact: adrian@suse.com Found By: Development Blocker: --- https://build.suse.de/build/Devel:Cloud:4/vagrantbox_images/x86_64/suse-clou... shows the following errors: [ 233s] /.kconfig: line 209: /usr/lib/rpm/gnupg/dumpsigs: No such file or directory [ 233s] ls: cannot access gpg-pubkey-*.asc: No such file or directory [ 233s] / when config.sh invokes the following code: #====================================== # Add missing gpg keys to rpm #-------------------------------------- suseImportBuildKey I'm guessing this is because neither the suse-build-key nor openSUSE-build-key rpms were installed, so /usr/lib/rpm/gnupg/dumpsigs doesn't exist. But suseImportBuildKey could check for its existence before running and offer a more helpful error which suggests adding either of these packages to the kiwi config file. -- 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=896126 https://bugzilla.novell.com/show_bug.cgi?id=896126#c1 --- Comment #1 from Adam Spiers <aspiers@suse.com> 2014-09-10 23:05:37 UTC --- Relevant code: https://github.com/openSUSE/kiwi/blob/master/modules/KIWIConfig.sh#L209 -- 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=896126 https://bugzilla.novell.com/show_bug.cgi?id=896126#c2 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Marcus Schaefer <ms@suse.com> 2014-09-11 09:13:20 UTC --- yes, thanks will fix this -- 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=896126 https://bugzilla.novell.com/show_bug.cgi?id=896126#c3 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Marcus Schaefer <ms@suse.com> 2014-09-11 09:28:34 UTC --- Fixed now commit 378e323c2f7fcbbf69ef4857bb84f71ad688bc57 Author: Marcus Schäfer <ms@suse.de> Date: Thu Sep 11 11:25:47 2014 +0200 Make suseImportBuildKey more robust (bnc #896126) Check if dumpsigs tool exist and don't operate on files which do not exist -- 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