blob: 483e92f341d393651341ea3093985fa8e1910216 [file] [log] [blame]
Brad Bishop6ace9d32018-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 Bishop6ace9d32018-03-08 22:17:47 -050014VIRTUAL-RUNTIME_init_manager = "systemd"
Brad Bishop6ace9d32018-03-08 22:17:47 -050015VIRTUAL-RUNTIME_initscripts = ""
16
Brad Bishop7c759712018-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 Bishop6ace9d32018-03-08 22:17:47 -050027 obmc-host-ipmi \
Brad Bishop6ace9d32018-03-08 22:17:47 -050028 obmc-logging-mgmt \
Brad Bishop7c759712018-03-09 21:48:12 -050029 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
37DISTRO_FEATURES_DEFAULT = " \
38 avahi \
39 pam \
40 slp \
41 systemd \
42 "
43
44DISTRO_FEATURES = " \
45 ${DISTRO_FEATURES_DEFAULT} \
Brad Bishop6ace9d32018-03-08 22:17:47 -050046 ${DISTRO_FEATURES_LIBC} \
Brad Bishop7c759712018-03-09 21:48:12 -050047 ${DISTRO_FEATURES_OBMC} \
Brad Bishop6ace9d32018-03-08 22:17:47 -050048 "
49
50MACHINE_FEATURES += " \
51 ${OBMC_MACHINE_FEATURES} \
52 "
53
54DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel"
55
56# TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3.
57PREFERRED_VERSION_python-pygobject = "2.%"
58
Brad Bishop6ace9d32018-03-08 22:17:47 -050059include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
60
Brad Bishop6ace9d32018-03-08 22:17:47 -050061INHERIT_remove = " uninative"
Brad Bishop6ace9d32018-03-08 22:17:47 -050062
63KERNEL_FEATURES_append = " phosphor-gpio-keys"
64KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys"
65
66IMAGE_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.
72SKIP_META_VIRT_SANITY_CHECK = "1"
Brad Bishop87b3f372018-06-25 16:53:45 -040073
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.
77BAD_RECOMMENDATIONS_pn-obmc-phosphor-image = "udev-hwdb"