Browse Source

pkg/fedora: Fix missing Makefile.rhelver

Just create the file via 'touch'. This shouldn't break anything if the
file happens to turn up at some point.
Maximilian Luz 3 years ago
parent
commit
8b597b4ebf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      pkg/fedora/kernel-surface/kernel-surface.spec

+ 3 - 0
pkg/fedora/kernel-surface/kernel-surface.spec

@@ -168,6 +168,9 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
 
 
 %build
 %build
 
 
+# Fix missing Makefile.rhelver
+touch Makefile.rhelver
+
 # This ensures build-ids are unique to allow parallel debuginfo
 # This ensures build-ids are unique to allow parallel debuginfo
 perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{kernel_name}\"/" .config
 perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{kernel_name}\"/" .config