Sign each APEX with different container certificate
am: d6c51fe09f
Change-Id: I8d26c586548216eb8c54cdc2f6fa3cd292fe9fb3
diff --git a/apex/Android.bp b/apex/Android.bp
index b5902e4..076de0c 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -22,7 +22,7 @@
// Shared signing information.
key: "apex.tzdata.key",
- certificate: "com.android.tzdata",
+ certificate: ":com.android.tzdata.certificate",
}
apex_key {
@@ -31,6 +31,11 @@
private_key: "com.android.tzdata.pem",
}
+android_app_certificate {
+ name: "com.android.tzdata.certificate",
+ certificate: "com.android.tzdata",
+}
+
// The definition for the real (not test) tzdata APEX.
apex {
name: "com.android.tzdata",
@@ -43,4 +48,3 @@
"apex_icu_tzdata.dat",
],
}
-
diff --git a/apex/com.android.tzdata.pk8 b/apex/com.android.tzdata.pk8
new file mode 100644
index 0000000..f786710
--- /dev/null
+++ b/apex/com.android.tzdata.pk8
Binary files differ
diff --git a/apex/com.android.tzdata.x509.pem b/apex/com.android.tzdata.x509.pem
new file mode 100644
index 0000000..bf78bee
--- /dev/null
+++ b/apex/com.android.tzdata.x509.pem
@@ -0,0 +1,34 @@
+-----BEGIN CERTIFICATE-----
+MIIFzjCCA7agAwIBAgIJAIyjs8l5WRp5MA0GCSqGSIb3DQEBCwUAMHsxCzAJBgNV
+BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1Nb3VudGFpbiBW
+aWV3MRAwDgYDVQQKDAdBbmRyb2lkMRAwDgYDVQQLDAdBbmRyb2lkMRswGQYDVQQD
+DBJjb20uYW5kcm9pZC50emRhdGEwIBcNMTkwMTI1MTY0ODE0WhgPNDc1NjEyMjEx
+NjQ4MTRaMHsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYD
+VQQHDA1Nb3VudGFpbiBWaWV3MRAwDgYDVQQKDAdBbmRyb2lkMRAwDgYDVQQLDAdB
+bmRyb2lkMRswGQYDVQQDDBJjb20uYW5kcm9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