mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Generate a13 signing keys
This commit is contained in:
parent
1380af9848
commit
131c1fb38f
@ -37,12 +37,12 @@ git config --global user.email "$USER_MAIL"
|
||||
if [ "$SIGN_BUILDS" = true ]; then
|
||||
if [ -z "$(ls -A "$KEYS_DIR")" ]; then
|
||||
echo ">> [$(date)] SIGN_BUILDS = true but empty \$KEYS_DIR, generating new keys"
|
||||
for c in releasekey platform shared media networkstack; do
|
||||
for c in releasekey platform shared media networkstack sdk_sandbox bluetooth; do
|
||||
echo ">> [$(date)] Generating $c..."
|
||||
/root/make_key "$KEYS_DIR/$c" "$KEYS_SUBJECT" <<< '' &> /dev/null
|
||||
done
|
||||
else
|
||||
for c in releasekey platform shared media networkstack; do
|
||||
for c in releasekey platform shared media networkstack sdk_sandbox bluetooth; do
|
||||
for e in pk8 x509.pem; do
|
||||
if [ ! -f "$KEYS_DIR/$c.$e" ]; then
|
||||
echo ">> [$(date)] SIGN_BUILDS = true and not empty \$KEYS_DIR, but \"\$KEYS_DIR/$c.$e\" is missing"
|
||||
|
Loading…
Reference in New Issue
Block a user