Actually this is the full diff which was working for me:

Note that I just moved the keyid with which to sign to a toplevel define.

Ciao, Marcus

--- /suse/meissner/makeSUSEdvd  2006-05-08 16:29:25.000000000 +0200
+++ /root/makeSUSEdvd   2006-05-08 15:52:44.000000000 +0200
@@ -22,12 +22,14 @@
 # below to a partition with enough space
 
 HERE=$PWD
-CD_DIR="/tmp/CD_DIR"
-# CD_DIR="$HERE/CD_DIR"        # Use this if you want to have the 
+#CD_DIR="/tmp/CD_DIR"
+CD_DIR="$HERE/CD_DIR"  # Use this if you want to have the 
                                # subdirectories in the same directory as 
                                # the ISOs
 #DVD_DIR="/tmp/DVD_DIR"
-       LOCAL_KEY=$(gpg --fingerprint | grep ^pub | awk '{print $2}' | cut 
-d"/" -f2)
+
+LOCAL_KEY=0x08AD8FC5
+
 DVD_DIR="$HERE/DVD_DIR"                # Use this if you want to have the
                                # subdirectories in the same directory as
                                # the ISOs
@@ -500,7 +502,6 @@
        mv $CD_DIR/content.bak $CD_DIR/content
 
         #Set the key
-        LOCAL_KEY=`gpg --list-secret-keys|grep "^sec"|sed -e 's/.*\///;s/ 
.*//g;'|head -n 1`
        gpg --export -a $LOCAL_KEY > $CD_DIR/gpg-pubkey-${LOCAL_KEY}.asc
        
        # Sign files in /suse/setup/descr/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to