blob: e24a3a4401dc3bf3c012c2904a153f7fcf027215 [file] [log] [blame]
Brad Bishop8a5dc112019-04-24 19:44:31 -04001inherit systemd
Andrew Geissler630736e2018-07-16 11:50:58 -07002inherit useradd
3
4USERADD_PACKAGES = "${PN}"
5
6# add a user called httpd for the server to assume
7USERADD_PARAM_${PN} = "-r -s /usr/sbin/nologin bmcweb"
Richard Marian Thomaiyarfe5b8d22018-08-20 20:14:16 +05308GROUPADD_PARAM_${PN} = "web; redfish"
Andrew Geissler630736e2018-07-16 11:50:58 -07009
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b"
12
13SRC_URI = "git://github.com/openbmc/bmcweb.git"
14
15PV = "1.0+git${SRCPV}"
Andrew Geissler6be17112020-02-20 13:21:03 +000016SRCREV = "83935af944c6f8f94497ce1e437730cc80f0002f"
Andrew Geissler630736e2018-07-16 11:50:58 -070017
18S = "${WORKDIR}/git"
19
20DEPENDS = "openssl zlib boost libpam sdbusplus gtest nlohmann-json libtinyxml2 "
21
Adriana Kobylake8de9ad2018-12-13 11:01:05 -060022RDEPENDS_${PN} += "jsnbd"
23
Andrew Geissler630736e2018-07-16 11:50:58 -070024FILES_${PN} += "${datadir}/** "
25
26inherit cmake
27
28EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON"
29
30SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket"
31
32FULL_OPTIMIZATION = "-Os -pipe "