From f34d51d3acf1ab45ae81e75ac620042f95d57b6f Mon Sep 17 00:00:00 2001 From: Babak Sarashki Date: Fri, 26 Feb 2021 17:50:35 +0000 Subject: [PATCH] restrict kernel headers and devel package installation kernel change-id: Iafb3abe7 adds kernel headers and development packages to the default rootfs for pods needing to build drivers or other applications with kernel dependencies. This commit restricts installation of the above packages to worker and AIO. Story: 2008434 Task: 41941 Signed-off-by: Babak Sarashki Change-Id: I5bb4e93a60a98dcd52be07c0baa6cb76517b30a8 --- bsp-files/filter_out_from_controller | 4 ++++ bsp-files/filter_out_from_smallsystem | 2 ++ bsp-files/filter_out_from_smallsystem_lowlatency | 2 ++ bsp-files/filter_out_from_storage | 4 ++++ bsp-files/filter_out_from_worker | 2 ++ bsp-files/filter_out_from_worker_lowlatency | 2 ++ 6 files changed, 16 insertions(+) diff --git a/bsp-files/filter_out_from_controller b/bsp-files/filter_out_from_controller index c07ec6d7..3748d863 100644 --- a/bsp-files/filter_out_from_controller +++ b/bsp-files/filter_out_from_controller @@ -53,3 +53,7 @@ openvswitch-config pci-irq-affinity-agent kvm-timer-advance sysinv-fpga-agent +kernel-rt-headers +kernel-rt-devel +kernel-headers +kernel-devel diff --git a/bsp-files/filter_out_from_smallsystem b/bsp-files/filter_out_from_smallsystem index 53d70456..76e859bc 100644 --- a/bsp-files/filter_out_from_smallsystem +++ b/bsp-files/filter_out_from_smallsystem @@ -26,3 +26,5 @@ qat17-rt kernel-rt-tools kernel-rt-tools-libs kmod-drbd-rt +kernel-rt-headers +kernel-rt-devel diff --git a/bsp-files/filter_out_from_smallsystem_lowlatency b/bsp-files/filter_out_from_smallsystem_lowlatency index 63952b03..966eafa1 100644 --- a/bsp-files/filter_out_from_smallsystem_lowlatency +++ b/bsp-files/filter_out_from_smallsystem_lowlatency @@ -23,3 +23,5 @@ kernel-tools kernel-tools-libs kmod-drbd kernel-modules-extra +kernel-headers +kernel-devel diff --git a/bsp-files/filter_out_from_storage b/bsp-files/filter_out_from_storage index f9d16350..dcca1512 100644 --- a/bsp-files/filter_out_from_storage +++ b/bsp-files/filter_out_from_storage @@ -340,3 +340,7 @@ stx-snmp-helm stx-vault-helm sysinv-fpga-agent k8s-pod-recovery +kernel-rt-headers +kernel-rt-devel +kernel-headers +kernel-devel diff --git a/bsp-files/filter_out_from_worker b/bsp-files/filter_out_from_worker index 05965161..37f6bd76 100644 --- a/bsp-files/filter_out_from_worker +++ b/bsp-files/filter_out_from_worker @@ -300,3 +300,5 @@ stx-portieris-helm stx-snmp-helm stx-vault-helm k8s-pod-recovery +kernel-rt-headers +kernel-rt-devel diff --git a/bsp-files/filter_out_from_worker_lowlatency b/bsp-files/filter_out_from_worker_lowlatency index 95032eb7..bf8c5d7f 100644 --- a/bsp-files/filter_out_from_worker_lowlatency +++ b/bsp-files/filter_out_from_worker_lowlatency @@ -301,3 +301,5 @@ stx-portieris-helm stx-snmp-helm stx-vault-helm k8s-pod-recovery +kernel-headers +kernel-devel