blob: 4c7aa4f5bfa79dd996de67fa0a6a5e9e8b19f118 [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 Geisslerf5704f92020-06-12 18:41:16 +000016SRCREV = "8114bd4d9ba4b927ecd2c2eeb3fc0885f684ad25"
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 "