File project.diff of Package kernel-source

--- _constraints.orig
+++ _constraints
@@ -2,7 +2,9 @@
   <!-- Default 35GB for binary packages -->
   <overwrite>
     <conditions>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <disk>
@@ -46,7 +48,9 @@
   <overwrite>
     <conditions>
       <arch>aarch64</arch>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <disk>
@@ -60,7 +64,9 @@
     <conditions>
       <arch>armv7l</arch>
       <arch>armv6l</arch>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <disk>
@@ -73,7 +79,9 @@
   <overwrite>
     <conditions>
       <arch>s390x</arch>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <disk>
@@ -87,7 +95,9 @@
     <conditions>
       <arch>i586</arch>
       <arch>x86_64</arch>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <processors>8</processors>
@@ -100,7 +110,9 @@
       <arch>ppc</arch>
       <arch>ppc64</arch>
       <arch>ppc64le</arch>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <processors>4</processors>
@@ -113,7 +125,9 @@
       <arch>aarch64</arch>
       <arch>armv6l</arch>
       <arch>armv7l</arch>
-<package>kernel-vanilla</package>
+<package>kernel-default</package>
+<package>kernel-xeon0</package>
+<package>kernel-xeonU</package>
     </conditions>
     <hardware>
       <processors>2</processors>
--- config.conf.orig
+++ config.conf
@@ -8,3 +8,5 @@
 #            kernel-binary and kernel-source rely on this
 #
 
++x86_64		x86_64/xeon0
++x86_64		x86_64/xeonU
--- config.sh.orig
+++ config.sh
@@ -1,5 +1,5 @@
 # The version of the main tarball to use
-SRCVERSION=
+SRCVERSION=5.4
 # variant of the kernel-source package, either empty or "-rt"
 VARIANT=
 # Set to 1 if the tree does not contain any non-vanilla patches at all
--- kernel-source.spec.in.orig
+++ kernel-source.spec.in
@@ -252,6 +252,11 @@ perl "%_sourcedir/group-source-files.pl"
 	-L "%src_install_dir"
 popd
 
+find %{buildroot}/usr/src/linux* -type f -name '*.[ch]' -perm /0111 -exec chmod -v a-x {} +
+# OBS checks don't like /usr/bin/env in script interpreter lines
+grep -Elr '^#! */usr/bin/env ' %{buildroot}/usr/src/linux* | while read f; do
+    sed -re '1 { s_^#! */usr/bin/env +/_#!/_ ; s_^#! */usr/bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
+done
 # kernel-source and kernel-$flavor-devel are built independently, but the
 # shipped sources (/usr/src/linux/) need to be older than generated files
 # (/usr/src/linux-obj). We rely on the git commit timestamp to not point into
--- series.conf.orig
+++ series.conf
@@ -29,6 +29,11 @@
 	########################################################
 	patches.rpmify/Add-ksym-provides-tool.patch
 
+	patches.addon/0001-usb-Add-Xen-pvUSB-protocol-description.patch
+	patches.addon/0002-usb-Introduce-Xen-pvUSB-frontend-xen-hcd.patch
+
+	patches.kernel.org/patch-5.4.173
+
 	########################################################
 	# You'd better have a good reason for adding a patch
 	# below here.
openSUSE Build Service is sponsored by