-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate the override syntax to the new syntax
Override syntax changed from Yocto honister 3.4 and have to be adapted to support recent Yocto versions. The current Yocto version dunfell support both syntax versions. Signed-off-by: Mathieu Dupré <[email protected]>
- Loading branch information
1 parent
6779f33
commit fac98db
Showing
77 changed files
with
325 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,32 +8,32 @@ require conf/distro/poky.conf | |
MAINTAINER = "[email protected]" | ||
|
||
# Use systemd as default | ||
DISTRO_FEATURES_append = " systemd" | ||
DISTRO_FEATURES:append = " systemd" | ||
VIRTUAL-RUNTIME_init_manager = "systemd" | ||
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" | ||
|
||
# Use sysvinit for rescue system | ||
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" | ||
|
||
# No need for x11 and wayland | ||
DISTRO_FEATURES_remove = " x11" | ||
DISTRO_FEATURES_remove = " wayland" | ||
DISTRO_FEATURES:remove = " x11" | ||
DISTRO_FEATURES:remove = " wayland" | ||
|
||
# Remove unneeded distribution features | ||
DISTRO_FEATURES_remove = " 3g alsa bluetooth nfc nfs opengl pcmcia vulkan wifi zeroconf" | ||
DISTRO_FEATURES:remove = " 3g alsa bluetooth nfc nfs opengl pcmcia vulkan wifi zeroconf" | ||
DISTRO_FEATURES_BACKFILL_CONSIDERED += "pulseaudio gobject-introspection-data" | ||
|
||
# Active buildhistory | ||
INHERIT += "buildhistory" | ||
BUILDHISTORY_COMMIT = "1" | ||
|
||
# Use virtualization features | ||
DISTRO_FEATURES_append = " virtualization" | ||
DISTRO_FEATURES_append = " kvm" | ||
DISTRO_FEATURES:append = " virtualization" | ||
DISTRO_FEATURES:append = " kvm" | ||
|
||
# Enable dpdk for openvswitch | ||
PACKAGECONFIG_append_pn-openvswitch = " dpdk" | ||
COMPATIBLE_MACHINE_pn-dpdk = "(votp)" | ||
PACKAGECONFIG:append:pn-openvswitch = " dpdk" | ||
COMPATIBLE_MACHINE:pn-dpdk = "(votp)" | ||
REQUIRED_VERSION_openvswitch = "2.15%" | ||
REQUIRED_VERSION_dpdk = "20.11.%" | ||
|
||
|
@@ -48,40 +48,40 @@ VIRTUAL-RUNTIME_login_manager = "shadow-base" | |
PNBLACKLIST[busybox] = "Don't build this" | ||
|
||
# Disable and blacklist cups | ||
PACKAGECONFIG_remove_pn-samba = "cups" | ||
PACKAGECONFIG:remove:pn-samba = "cups" | ||
PNBLACKLIST[cups] = "Don't build this" | ||
|
||
# Disable snapper module to remove unneeded dependency on dbus | ||
SAMBA4_MODULES_append_pn-samba = ",!vfs-snapper" | ||
SAMBA4_MODULES:append:pn-samba = ",!vfs-snapper" | ||
|
||
# Blacklist dtc | ||
PNBLACKLIST[dtc] = "Don't build this" | ||
|
||
# Configure QEMU to: | ||
# * disable audio support | ||
# * only support x86 targets | ||
QEMU_TARGETS_pn-qemu = "i386 x86_64" | ||
PACKAGECONFIG_remove_pn-qemu = "fdt" | ||
EXTRA_OECONF_append_pn-qemu = " --audio-drv-list=''" | ||
QEMU_TARGETS:pn-qemu = "i386 x86_64" | ||
PACKAGECONFIG:remove:pn-qemu = "fdt" | ||
EXTRA_OECONF:append:pn-qemu = " --audio-drv-list=''" | ||
|
||
# Enable ptest | ||
DISTRO_FEATURES_append = " ptest" | ||
DISTRO_FEATURES:append = " ptest" | ||
|
||
# Enable pam | ||
DISTRO_FEATURES_append = " pam" | ||
DISTRO_FEATURES:append = " pam" | ||
|
||
# Enable security hardening | ||
DISTRO_FEATURES_append = " seapath-security" | ||
DISTRO_FEATURES:append = " seapath-security" | ||
|
||
# Enable Ansible SSH key copy | ||
DISTRO_FEATURES_append = " ansible" | ||
DISTRO_FEATURES:append = " ansible" | ||
|
||
# Enable readonly | ||
DISTRO_FEATURES_append = " seapath-readonly" | ||
DISTRO_FEATURES_append = " seapath-overlay" | ||
DISTRO_FEATURES:append = " seapath-readonly" | ||
DISTRO_FEATURES:append = " seapath-overlay" | ||
|
||
# Enable clustering | ||
DISTRO_FEATURES_append = " seapath-clustering" | ||
DISTRO_FEATURES:append = " seapath-clustering" | ||
|
||
# Set version of Libvirt to 6.3.0 (solves GH issue #22) | ||
REQUIRED_VERSION_libvirt = "6.3.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (C) 2020, RTE (http://www.rte-france.com) | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
DEPENDS_remove = "python-setuptools-native" | ||
DEPENDS_append = " python3-setuptools-native" | ||
DEPENDS:remove = "python-setuptools-native" | ||
DEPENDS:append = " python3-setuptools-native" | ||
|
||
RDEPENDS_${PN}_append = " python3-pyyaml" | ||
RDEPENDS:${PN}:append = " python3-pyyaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.