diff --git a/SPECS/kernel-6.1.spec b/SPECS/kernel-6.1.spec index 7fe3c33..065358e 100644 --- a/SPECS/kernel-6.1.spec +++ b/SPECS/kernel-6.1.spec @@ -1271,12 +1271,13 @@ fi \ # Ensure modules are signed *after* all invocations of # strip have occured, which are in __os_install_post. # +pushd linux-%{KVERREL}${Variant:+-${Variant}} > /dev/null + %define __spec_install_post \ %{__arch_install_post}\ %{__os_install_post}\ %{__modsign_install_post} -pushd linux-%{KVERREL} > /dev/null # We estimate the size of the initramfs because rpm needs to take this size # into consideration when performing disk space calculations. (See bz #530778)