stx-extensions: load intel-uncore-frequency module

This change adds a config file to /etc/modules-load.d/ to load the
intel-uncore-frequency module, because the module in question is not
set up for automatic loading via modules aliases. This module was
initially enabled by [1].

This module will be used by Power Metrics App in StarlingX [2].

[1] https://review.opendev.org/c/starlingx/kernel/+/884305
[2] https://opendev.org/starlingx/app-power-metrics

TEST PLAN:
PASS: Build iso success for rt and std.
PASS: Install success onto an AIO-SX lab with both rt and std kernel.
PASS: Verify with lsmod if intel-uncore-frequency module is loaded.

Story: 2010773
Task: 48329

Change-Id: I2cc34756da64b887d6d58277306b790ec8f4a149
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
This commit is contained in:
Alyson Deives Pereira 2023-07-04 15:54:41 -03:00
parent f12b149a35
commit d95248449c
3 changed files with 3 additions and 0 deletions
utilities/stx-extensions

@ -20,5 +20,6 @@ override_dh_install:
install -d -m 755 $(ROOT)/$(LOCAL_ETC_MODLOAD)
install -p -D -m 644 modules-load-vfio.conf $(ROOT)/$(LOCAL_ETC_MODLOAD)/vfio.conf
install -p -D -m 644 modules-load-intel-uncore-frequency.conf $(ROOT)/$(LOCAL_ETC_MODLOAD)/intel-uncore-frequency.conf
dh_install

@ -1,3 +1,4 @@
etc/sysctl.d/50-coredump.conf
etc/systemd/coredump.conf.d/coredump.conf
etc/modules-load.d/vfio.conf
etc/modules-load.d/intel-uncore-frequency.conf

@ -0,0 +1 @@
intel-uncore-frequency