Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 1 | require conf/distro/poky.conf |
Brad Bishop | 6491f65 | 2016-08-16 13:23:07 -0400 | [diff] [blame] | 2 | require conf/distro/include/phosphor-defaults.inc |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 3 | |
| 4 | DISTRO = "openbmc-phosphor" |
| 5 | DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)" |
| 6 | DISTRO_VERSION = "0.1.0" |
Patrick Williams | eec1c40 | 2015-09-16 15:25:18 -0500 | [diff] [blame] | 7 | TARGET_VENDOR="-openbmc" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 8 | |
Patrick Williams | 54fac63 | 2015-09-16 15:27:57 -0500 | [diff] [blame] | 9 | IMAGE_LINGUAS = "en-us" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 10 | |
| 11 | VIRTUAL-RUNTIME_keymaps = "" |
| 12 | |
| 13 | # Phosphor OpenBMC uses systemd and udev |
Edward A. James | 5aeef11 | 2016-09-20 15:54:52 -0500 | [diff] [blame] | 14 | DISTRO_FEATURES_append = " systemd pam" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 15 | VIRTUAL-RUNTIME_init_manager = "systemd" |
| 16 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" |
| 17 | VIRTUAL-RUNTIME_initscripts = "" |
| 18 | |
| 19 | DISTRO_FEATURES = "\ |
| 20 | ipv6 \ |
| 21 | obmc-phosphor-fan-mgmt \ |
| 22 | obmc-phosphor-chassis-mgmt \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 23 | obmc-phosphor-flash-mgmt \ |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 24 | obmc-phosphor-user-mgmt \ |
Adriana Kobylak | 79841ae | 2016-08-25 10:07:34 -0500 | [diff] [blame] | 25 | obmc-settings-mgmt \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 26 | obmc-phosphor-system-mgmt \ |
Brad Bishop | 7a0ddd9 | 2016-09-08 17:13:33 -0400 | [diff] [blame] | 27 | obmc-host-ipmi \ |
Matt Spinler | c4d7b31 | 2016-10-14 12:27:20 -0500 | [diff] [blame] | 28 | obmc-mrw \ |
Adriana Kobylak | 172fe10 | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 29 | obmc-logging-mgmt \ |
Sergey Solomin | 7df1936 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 30 | obmc-host-ctl \ |
Ratan Gupta | 653779c | 2016-10-01 14:57:15 -0500 | [diff] [blame] | 31 | avahi \ |
Ratan Gupta | 3a3127f | 2017-02-11 10:01:04 +0530 | [diff] [blame] | 32 | slp \ |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 33 | obmc-net-ipmi \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 34 | ${DISTRO_FEATURES_LIBC} \ |
| 35 | " |
Brad Bishop | c9dcd7b | 2015-09-15 22:19:28 -0400 | [diff] [blame] | 36 | |
| 37 | MACHINE_FEATURES += " \ |
| 38 | ${OBMC_MACHINE_FEATURES} \ |
| 39 | " |
Patrick Williams | ddf41c6 | 2015-09-16 15:28:57 -0500 | [diff] [blame] | 40 | |
| 41 | DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel" |
Patrick Williams | 6ed002f | 2016-06-22 16:30:42 -0500 | [diff] [blame] | 42 | |
| 43 | # TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3. |
| 44 | PREFERRED_VERSION_python-pygobject = "2.%" |
Brad Bishop | 4efdcec | 2016-09-13 21:32:44 -0400 | [diff] [blame] | 45 | |
Xo Wang | c366123 | 2017-02-06 17:05:49 -0800 | [diff] [blame] | 46 | INHERIT_append = " obmc-phosphor-utils" |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 47 | |
Rick Altherr | 9d27c59 | 2016-09-23 15:16:28 -0700 | [diff] [blame] | 48 | include conf/distro/include/openbmc-phosphor/${MACHINE}.inc |
Patrick Williams | 1d88f94 | 2017-03-28 15:24:41 -0500 | [diff] [blame] | 49 | |
| 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. |
| 54 | INHERIT_remove = " uninative" |
| 55 | OLDEST_KERNEL = "2.6.32" |
Brad Bishop | f7d474c | 2017-04-11 22:42:05 -0400 | [diff] [blame] | 56 | |
| 57 | KERNEL_FEATURES_append = " phosphor-gpio-keys" |
| 58 | KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys" |
Brad Bishop | 0e27f20 | 2017-07-22 14:49:25 -0400 | [diff] [blame] | 59 | |
| 60 | IMAGE_CLASSES_append = " image_types_phosphor" |
Brad Bishop | e9dab0d | 2018-02-26 14:59:22 -0500 | [diff] [blame] | 61 | |
| 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. |
| 66 | SKIP_META_VIRT_SANITY_CHECK = "1" |