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 | |
| 9 | IMAGE_FSTYPES += "cpio.gz" |
Milton D. Miller II | 270cbb8 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 10 | IMAGE_FSTYPES += "squashfs-xz" |
Patrick Williams | 54fac63 | 2015-09-16 15:27:57 -0500 | [diff] [blame] | 11 | IMAGE_LINGUAS = "en-us" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 12 | |
| 13 | VIRTUAL-RUNTIME_keymaps = "" |
| 14 | |
| 15 | # Phosphor OpenBMC uses systemd and udev |
Edward A. James | 5aeef11 | 2016-09-20 15:54:52 -0500 | [diff] [blame] | 16 | DISTRO_FEATURES_append = " systemd pam" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 17 | VIRTUAL-RUNTIME_init_manager = "systemd" |
| 18 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" |
| 19 | VIRTUAL-RUNTIME_initscripts = "" |
| 20 | |
| 21 | DISTRO_FEATURES = "\ |
| 22 | ipv6 \ |
| 23 | obmc-phosphor-fan-mgmt \ |
| 24 | obmc-phosphor-chassis-mgmt \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 25 | obmc-phosphor-flash-mgmt \ |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 26 | obmc-phosphor-user-mgmt \ |
Adriana Kobylak | 79841ae | 2016-08-25 10:07:34 -0500 | [diff] [blame] | 27 | obmc-settings-mgmt \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 28 | obmc-phosphor-system-mgmt \ |
Brad Bishop | 7a0ddd9 | 2016-09-08 17:13:33 -0400 | [diff] [blame] | 29 | obmc-host-ipmi \ |
Matt Spinler | c4d7b31 | 2016-10-14 12:27:20 -0500 | [diff] [blame] | 30 | obmc-mrw \ |
Adriana Kobylak | 172fe10 | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 31 | obmc-logging-mgmt \ |
Sergey Solomin | 7df1936 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 32 | obmc-host-ctl \ |
Ratan Gupta | 653779c | 2016-10-01 14:57:15 -0500 | [diff] [blame] | 33 | avahi \ |
Ratan Gupta | 3a3127f | 2017-02-11 10:01:04 +0530 | [diff] [blame] | 34 | slp \ |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 35 | obmc-net-ipmi \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 36 | ${DISTRO_FEATURES_LIBC} \ |
| 37 | " |
Brad Bishop | c9dcd7b | 2015-09-15 22:19:28 -0400 | [diff] [blame] | 38 | |
| 39 | MACHINE_FEATURES += " \ |
| 40 | ${OBMC_MACHINE_FEATURES} \ |
| 41 | " |
Patrick Williams | ddf41c6 | 2015-09-16 15:28:57 -0500 | [diff] [blame] | 42 | |
| 43 | DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel" |
Patrick Williams | 6ed002f | 2016-06-22 16:30:42 -0500 | [diff] [blame] | 44 | |
| 45 | # TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3. |
| 46 | PREFERRED_VERSION_python-pygobject = "2.%" |
Brad Bishop | 4efdcec | 2016-09-13 21:32:44 -0400 | [diff] [blame] | 47 | |
Xo Wang | c366123 | 2017-02-06 17:05:49 -0800 | [diff] [blame] | 48 | INHERIT_append = " obmc-phosphor-utils" |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 49 | |
Rick Altherr | 9d27c59 | 2016-09-23 15:16:28 -0700 | [diff] [blame] | 50 | include conf/distro/include/openbmc-phosphor/${MACHINE}.inc |
Patrick Williams | 1d88f94 | 2017-03-28 15:24:41 -0500 | [diff] [blame] | 51 | |
| 52 | # TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation. |
| 53 | # RHEL6.4's kernel is too old to use the uninative-shim due to missing |
| 54 | # syscall support. Disable uninative and set OLDEST_KERNEL back to |
| 55 | # the version in RHEL6.4. |
| 56 | INHERIT_remove = " uninative" |
| 57 | OLDEST_KERNEL = "2.6.32" |
Brad Bishop | f7d474c | 2017-04-11 22:42:05 -0400 | [diff] [blame] | 58 | |
| 59 | KERNEL_FEATURES_append = " phosphor-gpio-keys" |
| 60 | KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys" |