mirror of https://github.com/dynup/kpatch
Merge pull request #490 from kragniz/centos-kernel-package
Fix kpatch-build failure with srpm on centos
This commit is contained in:
commit
a90e3a8d80
|
@ -365,7 +365,7 @@ else
|
|||
|
||||
clean_cache
|
||||
|
||||
mv "$(rpm --eval %{_builddir})"/kernel-*/linux-"$ARCHVERSION" "$SRCDIR" >> "$LOGFILE" 2>&1 || die
|
||||
mv "$(rpm --eval %{_builddir})"/kernel-*/linux-"${ARCHVERSION%.*}"*"${ARCHVERSION##*.}" "$SRCDIR" >> "$LOGFILE" 2>&1 || die
|
||||
|
||||
cp "$SRCDIR/.config" "$OBJDIR" || die
|
||||
if [[ "$ARCHVERSION" == *-* ]]; then
|
||||
|
|
Loading…
Reference in New Issue