From f441ae37145555d6ace77fa1fe6cca2771600823 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Tue, 3 May 2016 10:51:48 -0400 Subject: Bump versions for inventory upload Bump mapper and skeleton versions. Bump upload version and add systemd service file. --- .../recipes-phosphor/inventory-upload/inventory-upload.bb | 5 ++++- .../inventory-upload/inventory-upload/inventory-upload.service | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/inventory-upload.service (limited to 'meta-openbmc-machines') diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb index 8c0bd34e3..c3a23610c 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb @@ -6,15 +6,18 @@ LICENSE = "Apache-2.0" 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/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/inventory-upload.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/inventory-upload.service new file mode 100644 index 000000000..18d1f4bb8 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/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 -- cgit v1.2.1