blob: abea01e4c5e58def1b54a6d76fb0bf434fdf89a8 [file] [log] [blame]
Brad Bishop93fb5352015-09-09 03:59:20 +00001require conf/distro/poky.conf
Brad Bishop4c911772016-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
9IMAGE_FSTYPES += "cpio.gz"
Milton D. Miller IIee7c1202016-01-20 15:36:27 -060010IMAGE_FSTYPES += "squashfs-xz"
Patrick Williams54fac632015-09-16 15:27:57 -050011IMAGE_LINGUAS = "en-us"
Brad Bishop93fb5352015-09-09 03:59:20 +000012
13VIRTUAL-RUNTIME_keymaps = ""
14
15# Phosphor OpenBMC uses systemd and udev
Edward A. James064a7642016-09-20 15:54:52 -050016DISTRO_FEATURES_append = " systemd pam"
Brad Bishop93fb5352015-09-09 03:59:20 +000017VIRTUAL-RUNTIME_init_manager = "systemd"
18DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
19VIRTUAL-RUNTIME_initscripts = ""
20
21DISTRO_FEATURES = "\
22 ipv6 \
23 obmc-phosphor-fan-mgmt \
24 obmc-phosphor-chassis-mgmt \
Brad Bishop93fb5352015-09-09 03:59:20 +000025 obmc-phosphor-flash-mgmt \
26 obmc-phosphor-event-mgmt \
Adriana Kobylak2745eaf2016-02-11 16:31:21 -060027 obmc-phosphor-user-mgmt \
Adriana Kobylak1ffadd92016-08-25 10:07:34 -050028 obmc-settings-mgmt \
Brad Bishop93fb5352015-09-09 03:59:20 +000029 obmc-phosphor-system-mgmt \
Brad Bishopa1fe8102016-09-08 17:13:33 -040030 obmc-host-ipmi \
Matt Spinler952c4592016-10-14 12:27:20 -050031 obmc-mrw \
Adriana Kobylakb02da7b2016-10-19 14:58:25 -050032 obmc-logging-mgmt \
Sergey Solominaac4adf2016-11-28 15:03:24 -060033 obmc-host-ctl \
Ratan Guptadf7dfd42016-10-01 14:57:15 -050034 avahi \
Ratan Gupta75eef8a2017-02-11 10:01:04 +053035 slp \
Tom Joseph7b827742017-01-16 16:43:05 +053036 obmc-net-ipmi \
Brad Bishop93fb5352015-09-09 03:59:20 +000037 ${DISTRO_FEATURES_LIBC} \
38 "
Brad Bishopc9dcd7b2015-09-15 22:19:28 -040039
40MACHINE_FEATURES += " \
41 ${OBMC_MACHINE_FEATURES} \
42 "
Patrick Williamsddf41c62015-09-16 15:28:57 -050043
44DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel"
Patrick Williamsa369e9f2016-06-22 16:30:42 -050045
46# TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3.
47PREFERRED_VERSION_python-pygobject = "2.%"
Brad Bishop09cb1f32016-09-13 21:32:44 -040048
Xo Wangd836be92017-02-06 17:05:49 -080049INHERIT_append = " obmc-phosphor-utils"
Brad Bishop0a544b52017-01-28 12:51:42 -050050
Rick Altherre4ca76b2016-09-23 15:16:28 -070051include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
Patrick Williamsc83cf1c2017-03-28 15:24:41 -050052
53# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
54# RHEL6.4's kernel is too old to use the uninative-shim due to missing
55# syscall support. Disable uninative and set OLDEST_KERNEL back to
56# the version in RHEL6.4.
57INHERIT_remove = " uninative"
58OLDEST_KERNEL = "2.6.32"
Brad Bishop683ea6d2017-04-11 22:42:05 -040059
60KERNEL_FEATURES_append = " phosphor-gpio-keys"
61KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys"