some cleanup of unused recipes, and some adjustments to assist with ARM testing

This commit is contained in:
vaughn committed 2026-10-08 23:40:14 -04:00
1 parent 271eb1a93f
commit 0b0b033991
18 files changed
+111 -273

No files matched your search

@@ -1,20 +0,0 @@
# copied from meta-mentor/conf/distro/include/sstate.inc
def lsb_distro_adjust(distro_id, ver):
"""This hook ensures that RHEL server, RHEL client, and CentOS all return
'RedHat' for distro, and '5' for the version, as we know minor
versions for these distros are compatible, and these distros are
compatible with one another."""
if distro_id in ('RedHatEnterpriseClient', 'RedHatEnterpriseServer',
'CentOS'):
distro_id = 'RedHat'
try:
major_ver, _ = ver.split('.', 1)
except ValueError:
pass
else:
ver = major_ver
return distro_id, ver
LSB_DISTRO_ADJUST = "lsb_distro_adjust"
+12 -2
View File
@@ -113,7 +113,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
#cachyos is NOT officially supported by yocto/bitbake, but we have personally tested it without issue
SANITY_TESTED_DISTROS ?= " \
ubuntu-24.04 \n \
cachyos-260809 \n
cachyos-260809 \n \
"
# TODO: This works, but OE documentation recommends either working with the DISTRO_FEATURES variable, or with the DISTRO_FEATURES_OPTED_OUT variable
@@ -217,15 +217,25 @@ WKS_FILE:x86 = "plcos-bootdisk-x86.wks.in"
WKS_FILE:x86-64 = "plcos-bootdisk-x86.wks.in"
WKS_FILE:intel-x86-common = "plcos-bootdisk-intel.wks.in"
WKS_FILE:aarch64 = "plcos-bootdisk-arm.wks.in"
WKS_FILE:aarch64 ?= "plcos-bootdisk-arm-uboot.wks.in"
DISTRO_FEATURES:append = " pam opengl usbhost largefile "
#DISTRO_FEATURES:append = " x11 wayland virtualization "
INHERIT += "rtopts"
#TODO take the ones of these that tuned doesn't already modify, and add them to the additional tuned parameters
APPEND += "rcu_nocb_poll nmi-watchdog=0 processor.max_cstate=1 noefi irqaffinity=0"
ROOTFS_POSTPROCESS_COMMAND += " set_kernel_opts;"
TARGET_SUPPORTED_KTYPES:append = " preempt-rt"
DISTRO_FEATURES_DEFAULTS:append = " usbhost"
# use systemd as the default init manager
INIT_MANAGER = "systemd"
IMAGE_INSTALL:append = " sudo \
vim \
trace-cmd \
uftrace \
avahi-daemon \
"