blob: f7a1d960dd125fd5c6c7680b94f5471536ebaee7 [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 Geissler7befc722020-12-21 17:02:57 +000016SRCREV = "81ce609e30274435b4f8c3fc65340c6b6b153b0c"
Andrew Geissler630736e2018-07-16 11:50:58 -070017
18S = "${WORKDIR}/git"
19
James Feistc1546bf2020-07-22 14:00:28 -070020DEPENDS = "openssl \
21 zlib \
22 boost \
23 boost-url \
24 libpam \
25 sdbusplus \
26 gtest \
27 nlohmann-json \
28 libtinyxml2 "
Andrew Geissler630736e2018-07-16 11:50:58 -070029
Adriana Kobylake8de9ad2018-12-13 11:01:05 -060030RDEPENDS_${PN} += "jsnbd"
31
Andrew Geissler630736e2018-07-16 11:50:58 -070032FILES_${PN} += "${datadir}/** "
33
Manojkiran Edaf1517992020-09-02 21:48:12 +053034inherit meson
Andrew Geissler630736e2018-07-16 11:50:58 -070035
Manojkiran Edaf1517992020-09-02 21:48:12 +053036EXTRA_OEMESON = "--buildtype=minsize -Dtests=disabled -Dyocto-deps=enabled"
Andrew Geissler630736e2018-07-16 11:50:58 -070037
38SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket"
39
Manojkiran Edaf1517992020-09-02 21:48:12 +053040FULL_OPTIMIZATION = "-Os "