meta-google: recipes-google: Add static dev CA and specific user

Add Feature:
1. default-users: Add static User "Megapede" without password
2. default-ca-dev: Add static dev CA

Note:
  1. CA PATH:
     meta-google\recipes-google\default-ca-dev\default-ca-dev\certs\authority
     All CAs under the folder will be encapsulated into the firmware image

Signed-off-by: Alan Kuo <Alan_Kuo@quantatw.com>
Change-Id: I8de613ef31f7e2eab27f142bb3c0ea939693d6eb
diff --git a/recipes-google/default-ca-dev/default-ca-dev.bb b/recipes-google/default-ca-dev/default-ca-dev.bb
new file mode 100644
index 0000000..ecbb712
--- /dev/null
+++ b/recipes-google/default-ca-dev/default-ca-dev.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Add dev default CA"
+DESCRIPTION = "Add dev default CA"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI += "file://certs/authority/"
+
+FILES_${PN} = "${sysconfdir}/ssl/certs/authority/*"
+
+do_install(){
+    install -d ${D}${sysconfdir}/ssl/certs/authority
+    install -m 0644 -D ${WORKDIR}/certs/authority/* \
+                       ${D}${sysconfdir}/ssl/certs/authority
+}