Merge "resource-agents: upgrade to 4.1.1 and align with stx 3.0"
[pti/rtp.git] / meta-stx / conf / distro / include / stx-features.inc
1 #
2 ## Copyright (C) 2019 Wind River Systems, Inc.
3 #
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 EXTRA_IMAGE_FEATURES += " empty-root-password"
17 EXTRA_IMAGE_FEATURES += " allow-empty-password"
18 EXTRA_IMAGE_FEATURES += " allow-root-login"
19
20 #Systemd system
21 VIRTUAL-RUNTIME_init_manager = "systemd"
22 DISTRO_FEATURES_NATIVE_append = "systemd"
23 DISTRO_FEATURES_append = " systemd"
24 DISTRO_FEATURES_BACKFILL_CONSIDERED_append = "sysvinit"
25
26 #Security
27 # INITRAMFS_IMAGE = "secure-core-image-initramfs"
28 # DISTRO_FEATURES_append = " selinux"
29 #DISTRO_FEATURES_NATIVE_append = "ima tpm tpm2 efi-secure-boot luks"
30 #DISTRO_FEATURES_append += "ima tpm tpm2 efi-secure-boot luks modsign"
31 #MACHINE_FEATURES_NATIVE_append = "efi"
32 #MACHINE_FEATURES_append = "efi"
33 #INITRAMFS_SCRIPTS = "initramfs-live-boot \
34 #                     initramfs-live-install \
35 #                    initramfs-live-install-efi \
36 #                    "
37
38 #SECURE_CORE_IMAGE_EXTRA_INSTALL ?= "\
39 #    packagegroup-efi-secure-boot \
40 #    packagegroup-tpm \
41 #    packagegroup-tpm2 \
42 #    packagegroup-ima \
43 #    packagegroup-luks \
44 #    "
45
46
47 # virtualization and cloud stuff
48 DISTRO_FEATURES_append = " virtualization"
49 DISTRO_FEATURES_append = " kvm"
50 DISTRO_FEATURES_append = " openstack"
51 PREFERRED_PROVIDER_virtual/containerd = "containerd-opencontainers"
52
53 #Graphics and misc
54 #DISTRO_FEATURES_append = " x11 opengl"
55 #EXTRA_IMAGE_FEATURES_append = " x11-base"
56 #VIRTUAL-RUNTIME_graphical_init_manager = "lxdm"
57
58 PACKAGE_CLASSES = "package_rpm"
59 DISTRO_FEATURES_append = " bluez pam largefile opengl"
60
61 #misc
62 PREFERRED_PROVIDER_virtual/containerd = "containerd-opencontainers"
63 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
64
65 VIRTUAL-RUNTIME_syslog = "syslog-ng"
66 VIRTUAL-RUNTIME_vim = "vim"
67
68 DISTRO_FEATURES_append = " selinux"
69 PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"