blob: 345cf030a7ebe00417b34c0d60df8e6c95e9c1fd [file] [log] [blame]
Brad Bishop93fb5352015-09-09 03:59:20 +00001require conf/distro/poky.conf
Brad Bishop6491f652016-08-16 13:23:07 -04002require conf/distro/include/phosphor-defaults.inc
Brad Bishop93fb5352015-09-09 03:59:20 +00003
4DISTRO = "openbmc-phosphor"
5DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
6DISTRO_VERSION = "0.1.0"
Patrick Williamseec1c402015-09-16 15:25:18 -05007TARGET_VENDOR="-openbmc"
Brad Bishop93fb5352015-09-09 03:59:20 +00008
Patrick Williams54fac632015-09-16 15:27:57 -05009IMAGE_LINGUAS = "en-us"
Brad Bishop93fb5352015-09-09 03:59:20 +000010
11VIRTUAL-RUNTIME_keymaps = ""
12
13# Phosphor OpenBMC uses systemd and udev
Edward A. James5aeef112016-09-20 15:54:52 -050014DISTRO_FEATURES_append = " systemd pam"
Brad Bishop93fb5352015-09-09 03:59:20 +000015VIRTUAL-RUNTIME_init_manager = "systemd"
16DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
17VIRTUAL-RUNTIME_initscripts = ""
18
19DISTRO_FEATURES = "\
20 ipv6 \
21 obmc-phosphor-fan-mgmt \
22 obmc-phosphor-chassis-mgmt \
Brad Bishop93fb5352015-09-09 03:59:20 +000023 obmc-phosphor-flash-mgmt \
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060024 obmc-phosphor-user-mgmt \
Adriana Kobylak79841ae2016-08-25 10:07:34 -050025 obmc-settings-mgmt \
Brad Bishop93fb5352015-09-09 03:59:20 +000026 obmc-phosphor-system-mgmt \
Brad Bishop7a0ddd92016-09-08 17:13:33 -040027 obmc-host-ipmi \
Matt Spinlerc4d7b312016-10-14 12:27:20 -050028 obmc-mrw \
Adriana Kobylak172fe102016-10-19 14:58:25 -050029 obmc-logging-mgmt \
Sergey Solomin7df19362016-11-28 15:03:24 -060030 obmc-host-ctl \
Ratan Gupta653779c2016-10-01 14:57:15 -050031 avahi \
Ratan Gupta3a3127f2017-02-11 10:01:04 +053032 slp \
Tom Josephfddc4052017-01-16 16:43:05 +053033 obmc-net-ipmi \
Brad Bishop93fb5352015-09-09 03:59:20 +000034 ${DISTRO_FEATURES_LIBC} \
35 "
Brad Bishopc9dcd7b2015-09-15 22:19:28 -040036
37MACHINE_FEATURES += " \
38 ${OBMC_MACHINE_FEATURES} \
39 "
Patrick Williamsddf41c62015-09-16 15:28:57 -050040
41DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel"
Patrick Williams6ed002f2016-06-22 16:30:42 -050042
43# TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3.
44PREFERRED_VERSION_python-pygobject = "2.%"
Brad Bishop4efdcec2016-09-13 21:32:44 -040045
Xo Wangc3661232017-02-06 17:05:49 -080046INHERIT_append = " obmc-phosphor-utils"
Brad Bishop30f78552017-01-28 12:51:42 -050047
Rick Altherr9d27c592016-09-23 15:16:28 -070048include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
Patrick Williams1d88f942017-03-28 15:24:41 -050049
50# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
51# RHEL6.4's kernel is too old to use the uninative-shim due to missing
52# syscall support. Disable uninative and set OLDEST_KERNEL back to
53# the version in RHEL6.4.
54INHERIT_remove = " uninative"
55OLDEST_KERNEL = "2.6.32"
Brad Bishopf7d474c2017-04-11 22:42:05 -040056
57KERNEL_FEATURES_append = " phosphor-gpio-keys"
58KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys"
Brad Bishop0e27f202017-07-22 14:49:25 -040059
60IMAGE_CLASSES_append = " image_types_phosphor"
Brad Bishope9dab0d2018-02-26 14:59:22 -050061
62# OpenBMC uses a couple recipes from meta-virtualization
63# but we do not actually want any virtualization support
64# enabled on a BMC distribution. Silence the emitted
65# warning.
66SKIP_META_VIRT_SANITY_CHECK = "1"