From 775870b2626e9a25980663c4b39712af2670e5bc Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Thu, 11 Oct 2018 19:21:49 -0700 Subject: meta-phosphor: bmcweb: rename as git Rename bmcweb.bb to bmcweb_git.bb per OE norms. (From meta-phosphor rev: 37ccc9ca6e2afc23a450da1c3f0ba46ef99894ee) Change-Id: Ib11b6a599e7af2597e0cf8f3bdb08f5038987ffe Signed-off-by: Patrick Venture Signed-off-by: Brad Bishop --- .../recipes-phosphor/interfaces/bmcweb.bb | 35 ---------------------- .../recipes-phosphor/interfaces/bmcweb_git.bb | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta-phosphor/recipes-phosphor/interfaces/bmcweb.bb create mode 100644 meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb.bb b/meta-phosphor/recipes-phosphor/interfaces/bmcweb.bb deleted file mode 100644 index a5865e364..000000000 --- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb.bb +++ /dev/null @@ -1,35 +0,0 @@ -inherit obmc-phosphor-systemd -inherit useradd - -USERADD_PACKAGES = "${PN}" - -# add a user called httpd for the server to assume -USERADD_PARAM_${PN} = "-r -s /usr/sbin/nologin bmcweb" -GROUPADD_PARAM_${PN} = "web; redfish" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b" - -SRC_URI = "git://github.com/openbmc/bmcweb.git" - -PV = "1.0+git${SRCPV}" -SRCREV = "f254ba77a5abf5a806efb35055b5e0d4ced40251" - -S = "${WORKDIR}/git" - -DEPENDS = "openssl zlib boost libpam sdbusplus gtest nlohmann-json libtinyxml2 " - -FILES_${PN} += "${datadir}/** " - -inherit cmake - -EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON" - -SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket" - -FULL_OPTIMIZATION = "-Os -pipe " - -do_install_append() { - rm -rf ${D}${includedir}/dbus - rm -rf ${D}${libdir}/cmake -} diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb new file mode 100644 index 000000000..a5865e364 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb @@ -0,0 +1,35 @@ +inherit obmc-phosphor-systemd +inherit useradd + +USERADD_PACKAGES = "${PN}" + +# add a user called httpd for the server to assume +USERADD_PARAM_${PN} = "-r -s /usr/sbin/nologin bmcweb" +GROUPADD_PARAM_${PN} = "web; redfish" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b" + +SRC_URI = "git://github.com/openbmc/bmcweb.git" + +PV = "1.0+git${SRCPV}" +SRCREV = "f254ba77a5abf5a806efb35055b5e0d4ced40251" + +S = "${WORKDIR}/git" + +DEPENDS = "openssl zlib boost libpam sdbusplus gtest nlohmann-json libtinyxml2 " + +FILES_${PN} += "${datadir}/** " + +inherit cmake + +EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON" + +SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket" + +FULL_OPTIMIZATION = "-Os -pipe " + +do_install_append() { + rm -rf ${D}${includedir}/dbus + rm -rf ${D}${libdir}/cmake +} -- cgit v1.2.3