Last active
December 28, 2015 20:39
-
-
Save enakai00/7558519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- kernel.spec.orig 2013-11-21 11:33:16.194683545 +0900 | |
+++ kernel.spec 2013-11-21 11:32:40.377181703 +0900 | |
@@ -16,6 +16,7 @@ | |
# by setting the define to ".local" or ".bz123456" | |
# | |
# % define buildid .local | |
+%define buildid .tmpfshacked | |
%define rhel 1 | |
%if %{rhel} | |
@@ -946,6 +947,17 @@ | |
# Any further pre-build tree manipulations happen here. | |
+echo "####### Applying ad-hoc patches ########" | |
+pushd /tmp | |
+rm -f shmem.c.patch | |
+rm -f shmem_fs.h.patch | |
+wget https://gist.github.com/enakai00/7558460/raw/4b905b113b58373bd86d974be75ba415dde5b7a5/shmem.c.patch | |
+wget https://gist.github.com/enakai00/7558482/raw/a107b3da74defc8086f0937e1f5a9a5c667eee4e/shmem_fs.h.patch | |
+popd | |
+patch -p1 mm/shmem.c </tmp/shmem.c.patch | |
+patch -p1 include/linux/shmem_fs.h </tmp/shmem_fs.h.patch | |
+echo "####### Done ########" | |
+ | |
chmod +x scripts/checkpatch.pl | |
# only deal with configs if we are going to build for the arch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment