Skip to content

Instantly share code, notes, and snippets.

@h2onda
Created November 6, 2014 22:17
Show Gist options
  • Save h2onda/6c56e3065671dd9df24f to your computer and use it in GitHub Desktop.
Save h2onda/6c56e3065671dd9df24f to your computer and use it in GitHub Desktop.
diff -uNrp kernel.spec.orig kernel.spec.new
--- kernel.spec.orig 2014-11-07 06:55:55.835002982 +0900
+++ kernel.spec.new 2014-11-07 06:58:25.621000048 +0900
@@ -15,6 +15,7 @@ Summary: The Linux kernel
# by setting the define to ".local" or ".bz123456"
#
# % define buildid .local
+%define buildid .cifsinoupd
%define distro_build 504
%define signmodules 1
@@ -609,6 +610,7 @@ Source84: config-s390x-generic-rhel
Source85: config-powerpc64-debug-rhel
Source86: config-s390x-debug-rhel
+Patch27: linux-2.6.32-504.el6-cifs_update_inode_cache.patch
# empty final patch file to facilitate testing of kernel patches
Patch999999: linux-kernel-test.patch
@@ -931,6 +933,7 @@ cp %{SOURCE15} %{SOURCE1} %{SOURCE16} %{
# Dynamically generate kernel .config files from config-* files
make -f %{SOURCE20} VERSION=%{version} configs
+ApplyOptionalPatch linux-2.6.32-504.el6-cifs_update_inode_cache.patch
ApplyOptionalPatch linux-kernel-test.patch
# Any further pre-build tree manipulations happen here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment