Am 11/14/2011 03:30 PM, schrieb Uwe Gansert:
on Monday 14 November 2011 Daniel Spannbauer wrote:
installkey.gpg is in the initrd, right? So, I have to export the installkey.gpg from initrd, add my key to it and put it into the initrd?
that's right
Hmm, ok. Here is what I do in my script: INITRD=boot/i386/loader/initrd echo "modifiziere initrd" echo "auspacken..." gunzip <$INITRD >$INITRD.uncomp echo "initall.key aus initrd raus....." cpio -i -F $INITRD.uncomp installkey.gpg echo "Schlüssel exportieren" gpg --export -u $KEY_ID > gpg-$KEY_ID.gpg gpg --export -a -u $KEY_ID > gpg-pubkey-$KEY_ID.asc echo "Schlüssel in initrd" echo "gpg-$KEY_ID.gpg" | cpio -o -H newc -A -F $INITRD.uncomp echo "install.key erweitern" gpg -u ds@marco.de --export >> install.key echo "install.key wieder in initrd" echo "installkey.gpg" | cpio -o -H newc -A -F $INITRD.uncomp echo "komprimieren" gzip --best <$INITRD.uncomp >$INITRD echo "Rest löschen" rm $INITRD.uncomp gpg-$KEY_ID.gpg installkey.gpg KEY_ID ist the ID of the Key "ds@marco.de" Can you see anny errors I made? Regards Daniel -- Daniel Spannbauer Software Entwicklung marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4 - 6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org