Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 1 | require conf/distro/poky.conf |
| 2 | require conf/distro/include/phosphor-defaults.inc |
| 3 | |
| 4 | DISTRO = "openbmc-phosphor" |
| 5 | DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)" |
| 6 | DISTRO_VERSION = "0.1.0" |
| 7 | TARGET_VENDOR="-openbmc" |
| 8 | |
| 9 | IMAGE_LINGUAS = "en-us" |
| 10 | |
| 11 | VIRTUAL-RUNTIME_keymaps = "" |
| 12 | |
| 13 | # Phosphor OpenBMC uses systemd and udev |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 14 | VIRTUAL-RUNTIME_init_manager = "systemd" |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 15 | VIRTUAL-RUNTIME_initscripts = "" |
| 16 | |
Brad Bishop | d383934 | 2018-03-09 21:48:12 -0500 | [diff] [blame] | 17 | DISTRO_FEATURES_BACKFILL_CONSIDERED = " \ |
| 18 | bluez5 \ |
| 19 | ldconfig \ |
| 20 | gobject-introspection-data \ |
| 21 | pulseaudio \ |
| 22 | sysvinit \ |
| 23 | " |
| 24 | |
| 25 | DISTRO_FEATURES_OBMC = " \ |
| 26 | obmc-host-ctl \ |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 27 | obmc-host-ipmi \ |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 28 | obmc-logging-mgmt \ |
Brad Bishop | d383934 | 2018-03-09 21:48:12 -0500 | [diff] [blame] | 29 | obmc-phosphor-chassis-mgmt \ |
| 30 | obmc-phosphor-fan-mgmt \ |
| 31 | obmc-phosphor-flash-mgmt \ |
| 32 | obmc-phosphor-system-mgmt \ |
| 33 | obmc-phosphor-user-mgmt \ |
| 34 | obmc-settings-mgmt \ |
| 35 | " |
| 36 | |
| 37 | DISTRO_FEATURES_DEFAULT = " \ |
| 38 | avahi \ |
| 39 | pam \ |
| 40 | slp \ |
| 41 | systemd \ |
| 42 | " |
| 43 | |
| 44 | DISTRO_FEATURES = " \ |
| 45 | ${DISTRO_FEATURES_DEFAULT} \ |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 46 | ${DISTRO_FEATURES_LIBC} \ |
Brad Bishop | d383934 | 2018-03-09 21:48:12 -0500 | [diff] [blame] | 47 | ${DISTRO_FEATURES_OBMC} \ |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 48 | " |
| 49 | |
| 50 | MACHINE_FEATURES += " \ |
| 51 | ${OBMC_MACHINE_FEATURES} \ |
| 52 | " |
| 53 | |
| 54 | DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel" |
| 55 | |
| 56 | # TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3. |
| 57 | PREFERRED_VERSION_python-pygobject = "2.%" |
| 58 | |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 59 | include conf/distro/include/openbmc-phosphor/${MACHINE}.inc |
| 60 | |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 61 | INHERIT_remove = " uninative" |
Brad Bishop | 7a83a12 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 62 | |
| 63 | KERNEL_FEATURES_append = " phosphor-gpio-keys" |
| 64 | KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys" |
| 65 | |
| 66 | IMAGE_CLASSES_append = " image_types_phosphor" |
| 67 | |
| 68 | # OpenBMC uses a couple recipes from meta-virtualization |
| 69 | # but we do not actually want any virtualization support |
| 70 | # enabled on a BMC distribution. Silence the emitted |
| 71 | # warning. |
| 72 | SKIP_META_VIRT_SANITY_CHECK = "1" |
Brad Bishop | 0c52342 | 2018-06-25 16:53:45 -0400 | [diff] [blame^] | 73 | |
| 74 | # Skip the udev database by default. It adds around 2MB |
| 75 | # compressed to the root filesystem, and probably doesn't |
| 76 | # make sense on a BMC anyway. |
| 77 | BAD_RECOMMENDATIONS_pn-obmc-phosphor-image = "udev-hwdb" |