Bump versions for inventory upload
Bump mapper and skeleton versions.
Bump upload version and add systemd service file.
diff --git a/common/recipes-phosphor/inventory-upload/inventory-upload.bb b/common/recipes-phosphor/inventory-upload/inventory-upload.bb
index 8c0bd34..c3a2361 100644
--- a/common/recipes-phosphor/inventory-upload/inventory-upload.bb
+++ b/common/recipes-phosphor/inventory-upload/inventory-upload.bb
@@ -6,15 +6,18 @@
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
inherit allarch
+inherit obmc-phosphor-systemd
inherit setuptools
RDEPENDS_${PN} += " \
+ python-dbus \
+ python-pygobject \
pyphosphor \
dtc \
"
SRC_URI += "git://github.com/openbmc/openpower-inventory-upload"
-SRCREV = "5909e7859a1a56bdc902cf774093d9fae29612ea"
+SRCREV = "867e058dd246739ab9c93df64e82b7526f42d67f"
S = "${WORKDIR}/git"
diff --git a/common/recipes-phosphor/inventory-upload/inventory-upload/inventory-upload.service b/common/recipes-phosphor/inventory-upload/inventory-upload/inventory-upload.service
new file mode 100644
index 0000000..18d1f4b
--- /dev/null
+++ b/common/recipes-phosphor/inventory-upload/inventory-upload/inventory-upload.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=BMC Inventory Upload
+Requires=skeleton.service
+After=skeleton.service
+
+[Service]
+ExecStart=/usr/sbin/inventory_upload.py
+
+[Install]
+WantedBy=multi-user.target