phosphor-gpio-monitor: provide default multi json

The service is installed by default so ensure there is an empty json
file for it to find.

Tested:
- Confirmed service loads empty file and exits without error

Change-Id: I757053064606e05167b1f0a32113373fcc322214
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-multi-gpio-presence.json b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-multi-gpio-presence.json
new file mode 100644
index 0000000..fe51488
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-multi-gpio-presence.json
@@ -0,0 +1 @@
+[]
diff --git a/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor_git.bb b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor_git.bb
index 54aed10..ba97d7e 100644
--- a/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor_git.bb
+++ b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor_git.bb
@@ -17,6 +17,7 @@
 PR = "r1"
 
 SRC_URI = "git://github.com/openbmc/phosphor-gpio-monitor;branch=master;protocol=https"
+SRC_URI += " file://phosphor-multi-gpio-presence.json"
 
 SYSTEMD_PACKAGES = "${GPIO_PACKAGES}"
 SYSTEMD_SERVICE:${PN}-monitor += "phosphor-multi-gpio-monitor.service"
@@ -36,6 +37,7 @@
 FILES:${PN}-monitor += "${nonarch_base_libdir}/udev/rules.d/99-gpio-keys.rules"
 FILES:${PN}-presence += "${bindir}/phosphor-gpio-presence"
 FILES:${PN}-presence += "${bindir}/phosphor-multi-gpio-presence"
+FILES:${PN}-presence += "${datadir}/${PN}/phosphor-multi-gpio-presence.json"
 
 ALLOW_EMPTY:${PN} = "1"
 
@@ -44,3 +46,8 @@
         ${PN}-presence \
 "
 PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}"
+
+do_install:append() {
+    install -d ${D}${datadir}/phosphor-gpio-monitor/
+    install -m 0644 ${WORKDIR}/phosphor-multi-gpio-presence.json ${D}${datadir}/${PN}/
+}