Mailinglist Archive: yast-devel (61 mails)

< Previous Next >
[yast-devel] Product Creator fails to sign using GPG key
I am trying to create a product (version 3.1.5-2.1.6) and sign it but
it is failing at the very end. This is the error I receive:

Error
Could not ad GPG key XXXXXXXX to initrd
boot/x86_64/loader/initrd

In y2log, this is what I found:
2014-10-24 11:35:15 <1> linux-jz90(2108) [Ruby]
modules/ProductCreator.rb:909 executing: cd
'/vault/inst/suse/13.2-custom-x86_64/boot/x86_64/loader' && gunzip <
'/vault/inst/suse/13.2-custom-x86_64/boot/x86_64/loader/initrd' >
'/vault/inst/suse/13.2-custom-x86_64/boot/x86_64/loader/initrd.cpio'
2014-10-24 11:35:15 <3> linux-jz90(2108) [bash] ShellCommand.cc(shellcommand):78
2014-10-24 11:35:15 <3> linux-jz90(2108) [bash]
ShellCommand.cc(shellcommand):78 gzip: stdin: not in gzip format
2014-10-24 11:35:15 <3> linux-jz90(2108) [Ruby]
modules/ProductCreator.rb:915 result: 1
2014-10-24 11:35:15 <3> linux-jz90(2108) [Ruby]
modules/ProductCreator.rb:2687 Could not add GPG key 95D23528 to
initrd
boot/x86_64/loader/initrd.

The problem appears to be that the compression of initrd is xz and not
gz. If I change gunzip to unxz on line 2370 of ProductCreator.rb, the
problem goes away. This is just a hack and might be causing unknown
consequences.

Thanks,
Jeromy
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups