diff options
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
| -rw-r--r-- | meta/classes/sign_rpm.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass index c49406c74d..6796780ee4 100644 --- a/meta/classes/sign_rpm.bbclass +++ b/meta/classes/sign_rpm.bbclass | |||
| @@ -19,9 +19,12 @@ | |||
| 19 | # GPG_BIN | 19 | # GPG_BIN |
| 20 | # Optional variable for specifying the gpg binary/wrapper to use for | 20 | # Optional variable for specifying the gpg binary/wrapper to use for |
| 21 | # signing. | 21 | # signing. |
| 22 | # RPM_GPG_SIGN_CHUNK | ||
| 23 | # Optional variable indicating the number of packages used per gpg | ||
| 24 | # invocation | ||
| 22 | # GPG_PATH | 25 | # GPG_PATH |
| 23 | # Optional variable for specifying the gnupg "home" directory: | 26 | # Optional variable for specifying the gnupg "home" directory: |
| 24 | # | 27 | |
| 25 | inherit sanity | 28 | inherit sanity |
| 26 | 29 | ||
| 27 | RPM_SIGN_PACKAGES='1' | 30 | RPM_SIGN_PACKAGES='1' |
| @@ -29,6 +32,7 @@ RPM_SIGN_FILES ?= '0' | |||
| 29 | RPM_GPG_BACKEND ?= 'local' | 32 | RPM_GPG_BACKEND ?= 'local' |
| 30 | # SHA-256 is used by default | 33 | # SHA-256 is used by default |
| 31 | RPM_FILE_CHECKSUM_DIGEST ?= '8' | 34 | RPM_FILE_CHECKSUM_DIGEST ?= '8' |
| 35 | RPM_GPG_SIGN_CHUNK ?= "${BB_NUMBER_THREADS}" | ||
| 32 | 36 | ||
| 33 | 37 | ||
| 34 | python () { | 38 | python () { |
| @@ -56,6 +60,7 @@ python sign_rpm () { | |||
| 56 | d.getVar('RPM_GPG_NAME'), | 60 | d.getVar('RPM_GPG_NAME'), |
| 57 | d.getVar('RPM_GPG_PASSPHRASE'), | 61 | d.getVar('RPM_GPG_PASSPHRASE'), |
| 58 | d.getVar('RPM_FILE_CHECKSUM_DIGEST'), | 62 | d.getVar('RPM_FILE_CHECKSUM_DIGEST'), |
| 63 | int(d.getVar('RPM_GPG_SIGN_CHUNK')), | ||
| 59 | d.getVar('RPM_FSK_PATH'), | 64 | d.getVar('RPM_FSK_PATH'), |
| 60 | d.getVar('RPM_FSK_PASSWORD')) | 65 | d.getVar('RPM_FSK_PASSWORD')) |
| 61 | } | 66 | } |
