From c2d12c05cd63bf09aada9ee751d0ab8f75ab54f2 Mon Sep 17 00:00:00 2001 From: Tomasz Moń Date: Fri, 4 Feb 2022 11:48:07 +0100 Subject: intel-microcode: use microcode filter for package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit cba66dfb7bb9 ("intel-microcode: fix microcode loading on newer kernels") effectively disabled microcode filtering for intel-microcode package. Add the missing filter parameter to iucode_tool command to install only necessary files. Do not generate microcode bin file in compile step as it is no longer needed. Signed-off-by: Tomasz Moń Signed-off-by: Anuj Mittal --- recipes-core/microcode/intel-microcode_20210608.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'recipes-core/microcode/intel-microcode_20210608.bb') diff --git a/recipes-core/microcode/intel-microcode_20210608.bb b/recipes-core/microcode/intel-microcode_20210608.bb index 0487b219..2686dd97 100644 --- a/recipes-core/microcode/intel-microcode_20210608.bb +++ b/recipes-core/microcode/intel-microcode_20210608.bb @@ -31,12 +31,6 @@ inherit deploy UCODE_FILTER_PARAMETERS ?= "" do_compile() { - ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ - ${UCODE_FILTER_PARAMETERS} \ - --overwrite \ - --write-to=${WORKDIR}/microcode_${PV}.bin \ - ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* - ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ ${UCODE_FILTER_PARAMETERS} \ --overwrite \ @@ -47,6 +41,7 @@ do_compile() { do_install() { install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/ ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ + ${UCODE_FILTER_PARAMETERS} \ --write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \ ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* } -- cgit v1.2.3-54-g00ecf