diff options
| author | unitexe <unitexe70@gmail.com> | 2026-01-20 22:46:52 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-01-20 23:37:40 -0600 |
| commit | 405bba38642c4558611f0058a4fcdab2fe4e2ee3 (patch) | |
| tree | 6197cdecc03ceb128e472465d817ddbd0ace58e8 /meta-unit-core | |
| parent | 20614f2aa9226720c01b5c4da0c5749bb65f7025 (diff) | |
Enable kernel PSI by default
Diffstat (limited to 'meta-unit-core')
4 files changed, 8 insertions, 0 deletions
diff --git a/meta-unit-core/conf/layer.conf b/meta-unit-core/conf/layer.conf index fd90f46..64e7d24 100644 --- a/meta-unit-core/conf/layer.conf +++ b/meta-unit-core/conf/layer.conf @@ -15,6 +15,8 @@ BBFILES_DYNAMIC += " \ raspberrypi-extra-layer:${LAYERDIR}/dynamic-layers/raspberrypi-extra-layer/recipes-*/*/*.bbappend \ unit-profiling-layer:${LAYERDIR}/dynamic-layers/unit-profiling-layer/recipes-*/*/*.bb \ unit-profiling-layer:${LAYERDIR}/dynamic-layers/unit-profiling-layer/recipes-*/*/*.bbappend \ + raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/recipes-*/*/*.bb \ + raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/recipes-*/*/*.bbappend \ " UNIT_CORE_LAYERDIR = "${LAYERDIR}" diff --git a/meta-unit-core/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-unit-core/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend new file mode 100644 index 0000000..27a1031 --- /dev/null +++ b/meta-unit-core/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS:prepend := "${UNIT_CORE_LAYERDIR}/recipes-kernel/linux/files:" + +require recipes-kernel/linux/psi.inc diff --git a/meta-unit-core/recipes-kernel/linux/files/psi.cfg b/meta-unit-core/recipes-kernel/linux/files/psi.cfg new file mode 100644 index 0000000..51ea6c1 --- /dev/null +++ b/meta-unit-core/recipes-kernel/linux/files/psi.cfg @@ -0,0 +1 @@ +CONFIG_PSI_DEFAULT_DISABLED=n diff --git a/meta-unit-core/recipes-kernel/linux/psi.inc b/meta-unit-core/recipes-kernel/linux/psi.inc new file mode 100644 index 0000000..8ed87b9 --- /dev/null +++ b/meta-unit-core/recipes-kernel/linux/psi.inc @@ -0,0 +1,2 @@ +# Allows prometheus to get pressure metrics. +SRC_URI:append = " file://psi.cfg" |
