diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2018-07-16 21:50:58 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-07-24 04:36:03 +0300 |
commit | 915d731999d76fa07a7dc4aec4bcf6abd1519084 (patch) | |
tree | d01b12cabe8a3118fde43b1ac40ee45e25693f17 /meta-openbmc-machines | |
parent | c41f68cf64a3e42a06cba106607f24e2fd069204 (diff) | |
download | openbmc-915d731999d76fa07a7dc4aec4bcf6abd1519084.tar.xz |
Put bmcweb in common layer for others to use
Initially interested in bmcweb for its redfish support
Change-Id: Ia180a895c8db2b184a455cd3be2bf28db4c4116d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openbmc-machines')
3 files changed, 0 insertions, 56 deletions
diff --git a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb deleted file mode 100644 index 6820e126cd..0000000000 --- a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb +++ /dev/null @@ -1,34 +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" - -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 = "1f2fbf2043495963bcd63da5893718c249e6b194" - -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-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.service b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.service deleted file mode 100644 index 86a7279a50..0000000000 --- a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Start bmcweb server - -Wants=network.target -After=network.target - -[Service] -ExecStart={bindir}/bmcweb -Type=simple -WorkingDirectory=/home/root - -[Install] -WantedBy=network.target diff --git a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket deleted file mode 100644 index b1db27d475..0000000000 --- a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=BMC Webserver socket - -[Socket] -ListenStream=883 -ReusePort=true - -[Install] -WantedBy=sockets.target |