blob: 267aab6c1ff44ad86368c802ba4be78d22c4666e [file] [log] [blame]
Brad Bishop7a83a122018-03-08 22:17:47 -05001require conf/distro/poky.conf
2require conf/distro/include/phosphor-defaults.inc
3
4DISTRO = "openbmc-phosphor"
5DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
6DISTRO_VERSION = "0.1.0"
7TARGET_VENDOR="-openbmc"
8
9IMAGE_LINGUAS = "en-us"
10
11VIRTUAL-RUNTIME_keymaps = ""
12
13# Phosphor OpenBMC uses systemd and udev
Brad Bishop7a83a122018-03-08 22:17:47 -050014VIRTUAL-RUNTIME_init_manager = "systemd"
Brad Bishop7a83a122018-03-08 22:17:47 -050015VIRTUAL-RUNTIME_initscripts = ""
16
Brad Bishopd3839342018-03-09 21:48:12 -050017DISTRO_FEATURES_BACKFILL_CONSIDERED = " \
18 bluez5 \
19 ldconfig \
20 gobject-introspection-data \
21 pulseaudio \
22 sysvinit \
23 "
24
25DISTRO_FEATURES_OBMC = " \
26 obmc-host-ctl \
Brad Bishop7a83a122018-03-08 22:17:47 -050027 obmc-host-ipmi \
Brad Bishop7a83a122018-03-08 22:17:47 -050028 obmc-logging-mgmt \
Brad Bishop7a83a122018-03-08 22:17:47 -050029 obmc-net-ipmi \
Brad Bishopd3839342018-03-09 21:48:12 -050030 obmc-phosphor-chassis-mgmt \
31 obmc-phosphor-fan-mgmt \
32 obmc-phosphor-flash-mgmt \
33 obmc-phosphor-system-mgmt \
34 obmc-phosphor-user-mgmt \
35 obmc-settings-mgmt \
36 "
37
38DISTRO_FEATURES_DEFAULT = " \
39 avahi \
40 pam \
41 slp \
42 systemd \
43 "
44
45DISTRO_FEATURES = " \
46 ${DISTRO_FEATURES_DEFAULT} \
Brad Bishop7a83a122018-03-08 22:17:47 -050047 ${DISTRO_FEATURES_LIBC} \
Brad Bishopd3839342018-03-09 21:48:12 -050048 ${DISTRO_FEATURES_OBMC} \
Brad Bishop7a83a122018-03-08 22:17:47 -050049 "
50
51MACHINE_FEATURES += " \
52 ${OBMC_MACHINE_FEATURES} \
53 "
54
55DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel"
56
57# TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3.
58PREFERRED_VERSION_python-pygobject = "2.%"
59
60INHERIT_append = " obmc-phosphor-utils"
61
62include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
63
64# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
65# RHEL6.4's kernel is too old to use the uninative-shim due to missing
66# syscall support. Disable uninative and set OLDEST_KERNEL back to
67# the version in RHEL6.4.
68INHERIT_remove = " uninative"
69OLDEST_KERNEL = "2.6.32"
70
71KERNEL_FEATURES_append = " phosphor-gpio-keys"
72KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys"
73
74IMAGE_CLASSES_append = " image_types_phosphor"
75
76# OpenBMC uses a couple recipes from meta-virtualization
77# but we do not actually want any virtualization support
78# enabled on a BMC distribution. Silence the emitted
79# warning.
80SKIP_META_VIRT_SANITY_CHECK = "1"