diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-09-06 19:22:28 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-12 21:45:18 +0300 |
commit | dbb9856f262618b8039890b5f7f9a95e68e6c312 (patch) | |
tree | da708793f8104e01bf1b98ad12cc582240754dae /meta-phosphor/common/recipes-phosphor/users | |
parent | 194b590eb913cc8463c2c7774865d6bc8b07aa17 (diff) | |
download | openbmc-dbb9856f262618b8039890b5f7f9a95e68e6c312.tar.xz |
Drop obmc-phosphor- prefix from recipe collections
Given that these are already in the recipes-phosphor
directory this seemed redundant.
Change-Id: I48a1ab79e0eda88fc5e6af88f198ca3941e829b8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/users')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/users/files/obmc-phosphor-user.service | 10 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb | 31 |
2 files changed, 41 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/users/files/obmc-phosphor-user.service b/meta-phosphor/common/recipes-phosphor/users/files/obmc-phosphor-user.service new file mode 100644 index 0000000000..7c1ffce137 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/users/files/obmc-phosphor-user.service @@ -0,0 +1,10 @@ +[Unit] +Description=Phosphor OpenBMC user management daemon + +[Service] +ExecStart=/usr/sbin/obmc-phosphor-userd +Environment="PYTHONUNBUFFERED=1" +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb b/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb new file mode 100644 index 0000000000..f1f589b1e2 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb @@ -0,0 +1,31 @@ +SUMMARY = "User DBUS object" +DESCRIPTION = "User DBUS object" +HOMEPAGE = "http://github.com/openbmc/phosphor-networkd" +PR = "r1" + +inherit obmc-phosphor-license +inherit obmc-phosphor-user-mgmt +inherit obmc-phosphor-systemd + +RDEPENDS_${PN} += "python-dbus python-pygobject python-pexpect" + +SRC_URI += "git://github.com/openbmc/phosphor-networkd" + +SRCREV = "53b692b2365e924025fce0ebc2be4242e77b48ca" + +S = "${WORKDIR}/git" +INSTALL_NAME = "userman.py" + +# Since base_do_compile finds a makefile (from networkd) it tries to +# compile. Short-circuit that because we just need to copy a python +# file in this package. +do_compile() { + : +} + +do_install() { +echo "***installing $INSTALL_NAME" + install -d ${D}/${sbindir} + install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd +} + |