dist: fix build error with debuginfo package

Fixes following error:

+ '%{__debug_install_post}'
/var/tmp/rpm-tmp.me90D2: line 86: fg: no job control

Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
Kairui Song 2024-07-18 12:45:54 +08:00 committed by frankjpliu
parent 82502a3d1b
commit 88b5699fee
1 changed files with 1 additions and 0 deletions

View File

@ -1134,6 +1134,7 @@ ln -sf %{debuginfo_dir}/lib/modules/$KernUnameR/vmlinux %{buildroot}/boot/vmlinu
rm -rf %{buildroot}%{debuginfo_dir}/usr/src
%undefine __debug_install_post
%global __debug_install_post %{nil}
###### Finally, module sign and compress ######
%if %{with_modsign} && %{with_core}