Skip to content

Commit

Permalink
machine: replace occurrences of votp
Browse files Browse the repository at this point in the history
`votp` is an old name that does mean anything anymore in Seapath. This
commit replaces all occurrences in the machine names.

SFL: #14299
Change-Id: I95f5d72834a303027878042af1e301d8a24fd05a
Signed-off-by: Paul Le Guen de Kerneizon <[email protected]>
  • Loading branch information
Paullgk committed Mar 29, 2024
1 parent 2f12271 commit e483b57
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 31 deletions.
2 changes: 1 addition & 1 deletion conf/distro/seapath-flash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ BUILDHISTORY_COMMIT = "1"
# Enable Ansible SSH key copy
DISTRO_FEATURES:append = " ansible"

COMPATIBLE_MACHINE:pn-dpdk = "votp"
COMPATIBLE_MACHINE:pn-dpdk = "seapath"
2 changes: 1 addition & 1 deletion conf/distro/seapath-host-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ require conf/distro/seapath-common.inc

# Enable dpdk for openvswitch
PACKAGECONFIG:append:pn-openvswitch = " dpdk"
COMPATIBLE_MACHINE:pn-dpdk = "(votp)"
COMPATIBLE_MACHINE:pn-dpdk = "(seapath)"
REQUIERED_VERSION_dpdk = "21.11.%"
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# SPDX-License-Identifier: Apache-2.0

#@TYPE: Machine
#@NAME: votp-host
#@NAME: seapath-hypervisor
#@SOC: x86-64
#@DESCRIPTION: Machine configuration for hypervisor compatible with SEAPATH

require conf/machine/votp-machine-common.inc
require conf/machine/seapath-machine-common.inc

APPEND += " \
${@bb.utils.contains('DISTRO_FEATURES', 'seapath-overlay', 'init=/sbin/init.sh', '', d)} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

#@TYPE: Machine
#@NAME: votp-flash
#@NAME: seapath-installer
#@SOC: x86-64
#@DESCRIPTION: Machine configuration for flash images

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) 2023 Savoir-faire Linux, Inc.
# SPDX-License-Identifier: Apache-2.0

MACHINEOVERRIDES =. "votp:"
MACHINEOVERRIDES =. "seapath:"

require conf/machine/intel-corei7-64.conf
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline-rt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# SPDX-License-Identifier: Apache-2.0

#@TYPE: Machine
#@NAME: votp-monitor
#@NAME: seapath-monitor
#@SOC: x86-64
#@DESCRIPTION: Machine configuration for monitor machines compatible with SEAPATH

require conf/machine/votp-machine-common.inc
require conf/machine/seapath-machine-common.inc
APPEND += "init=/sbin/init.sh"
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# SPDX-License-Identifier: Apache-2.0

#@TYPE: Machine
#@NAME: votp-no-iommu
#@NAME: seapath-no-iommu
#@SOC: x86-64
#@DESCRIPTION: Machine configuration based on x86-64 processor with no IOMMU support

MACHINEOVERRIDES =. "votp-host:"
require conf/machine/votp-machine-common.inc
MACHINEOVERRIDES =. "seapath-hypervisor:"
require conf/machine/seapath-machine-common.inc
APPEND += "init=/sbin/init.sh"
4 changes: 2 additions & 2 deletions conf/machine/votp-guest.conf → conf/machine/seapath-vm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# SPDX-License-Identifier: Apache-2.0

#@TYPE: Machine
#@NAME: votp-guest
#@NAME: seapath-vm
#@SOC: x86-64
#@DESCRIPTION: Machine configuration for virtual machines compatible with SEAPATH

require conf/machine/votp-machine-common.inc
require conf/machine/seapath-machine-common.inc
MACHINE_FEATURES:append = "seapath-guest"
4 changes: 2 additions & 2 deletions recipes-bsp/grub/grub-efi_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ do_compile:append:class-target() {
cat "${WORKDIR}/grub-efi.cfg.in" >> "${B}/grub-efi.cfg"
}

do_install:prepend:class-target:votp-host() {
do_install:prepend:class-target:seapath-hypervisor() {
extra_append=""
if [ -n "${SEAPATH_RT_CORES}" ] ; then
extra_append="isolcpus=${SEAPATH_RT_CORES} nohz_full=${SEAPATH_RT_CORES} rcu_nocbs=${SEAPATH_RT_CORES}"
Expand Down Expand Up @@ -72,4 +72,4 @@ FILES:${PN}:append = " ${EFI_FILES_PATH}"

GRUB_BUILDIN += " password_pbkdf2 probe regexp chain"

COMPATIBLE_MACHINE_${PN}= "votp"
COMPATIBLE_MACHINE_${PN}= "seapath"
2 changes: 1 addition & 1 deletion recipes-core/images/seapath-flasher-cpio.bb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EXTRA_IMAGE_FEATURES = ""
USERS_SSH_ANSIBLE = "root"

inherit ansible-ssh
COMPATIBLE_MACHINE = "votp-flash"
COMPATIBLE_MACHINE = "seapath-installer"

# 256MB
INITRAMFS_MAXSIZE = "262144"
2 changes: 1 addition & 1 deletion recipes-core/images/seapath-flasher.bb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ EXCLUDE_FROM_WORLD = "1"

EXTRA_IMAGE_FEATURES = ""

COMPATIBLE_MACHINE = "votp-flash"
COMPATIBLE_MACHINE = "seapath-installer"

WKS_FILE = "flasher.wks.in"

6 changes: 3 additions & 3 deletions recipes-core/images/seapath-guest-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ IMAGE_INSTALL += " docker-ce docker-ce-contrib python3-docker-compose"
IMAGE_FSTYPES = "wic.qcow2 wic.vmdk"
WKS_FILE = "mkefidisk-guest.wks.in"

# Guest images are compatible with votp-vm only
# Guest images are compatible with seapath-vm only
# GRUB static configuration for guest machines
# depends on votp-guest
COMPATIBLE_MACHINE = "votp-guest"
# depends on seapath-vm
COMPATIBLE_MACHINE = "seapath-vm"

# Remove users that do not exist in
# guest images
Expand Down
2 changes: 1 addition & 1 deletion recipes-core/images/seapath-guest-host-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ IMAGE_INSTALL:append = " \
IMAGE_FSTYPES = "wic.qcow2 wic.vmdk"
WKS_FILE = "mkbiosdisk.wks.in"

COMPATIBLE_MACHINE = "votp-host"
COMPATIBLE_MACHINE = "seapath-hypervisor"
8 changes: 4 additions & 4 deletions recipes-core/images/seapath-host-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ IMAGE_INSTALL:append = " \
"

IMAGE_INSTALL:append = " cukinia-tests-hypervisor-iommu"
IMAGE_INSTALL:remove_votp-no-iommu = "cukinia-tests-hypervisor-iommu"
IMAGE_INSTALL:remove_seapath-no-iommu = "cukinia-tests-hypervisor-iommu"

# Host images are compatible with votp-host only
# Host images are compatible with seapath-hypervisor only
# GRUB static configuration for host machines
# depends on votp-host
COMPATIBLE_MACHINE = "votp-host"
# depends on seapath-hypervisor
COMPATIBLE_MACHINE = "seapath-hypervisor"

def get_seapath_kernel_parameters(d):
kernel_parameters = ""
Expand Down
2 changes: 1 addition & 1 deletion recipes-core/images/seapath-monitor-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ IMAGE_INSTALL:append = " \
${@bb.utils.contains('DISTRO_FEATURES', 'seapath-readonly', 'system-config-ro', '', d)} \
"

COMPATIBLE_MACHINE = "votp-monitor"
COMPATIBLE_MACHINE = "seapath-monitor"

def get_seapath_kernel_parameters(d):
disable_ipv6 = d.getVar("SEAPATH_DISABLE_IPV6", "")
Expand Down
2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-mainline-rt.inc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ S = "${WORKDIR}/git"

EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}""

COMPATIBLE_MACHINE = "(votp|votp-no-iommu)"
COMPATIBLE_MACHINE = "(seapath|seapath-no-iommu)"

do_deploy:append() {
install -m 0644 .config $deployDir/config_kernel
Expand Down
2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-mainline-rt_5.15.bb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;
file://sched.cfg \
"

SRC_URI:append_votp-no-iommu = " \
SRC_URI:append_seapath-no-iommu = " \
file://no-iommu.cfg \
"

Expand Down
3 changes: 1 addition & 2 deletions recipes-kernel/linux/linux-mainline-rt_6.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;
file://sched.cfg \
"

SRC_URI:append_votp-no-iommu = " \
SRC_URI:append_seapath-no-iommu = " \
file://no-iommu.cfg \
"

# Uncomment this line to enable debug traces in Kernel and tracing tools
# support (like LTTng or perf).
#SRC_URI:append = " file://traces.cfg"


2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-mainline-rt_6.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;
file://drm.cfg \
"

SRC_URI:append_votp-no-iommu = " \
SRC_URI:append_seapath-no-iommu = " \
file://no-iommu.cfg \
"

Expand Down

0 comments on commit e483b57

Please sign in to comment.