summaryrefslogtreecommitdiff
path: root/sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-06-12 23:48:00 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-06-12 23:48:00 +0100
commit44100938da8282c32f29c0d97722ae68d653ce91 (patch)
tree1eff68752f0015dce304cdaf40ef1954118b7c63 /sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch
parentf238d249830369de1c8a8bf981fd6fe9b6b1be61 (diff)
prevent genkernel to install firmware files...please read the patch comment @StefanCristian
Diffstat (limited to 'sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch')
-rw-r--r--sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch b/sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch
new file mode 100644
index 00000000..5ff0eb34
--- /dev/null
+++ b/sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch
@@ -0,0 +1,15 @@
+diff -Nur a/gen_compile.sh b/gen_compile.sh
+--- a/gen_compile.sh 2015-02-16 10:03:04.000000000 +0000
++++ b/gen_compile.sh 2015-06-12 23:34:12.536580015 +0100
+@@ -293,10 +293,7 @@
+ local firmware_in_kernel_line=`fgrep CONFIG_FIRMWARE_IN_KERNEL "${KERNEL_OUTPUTDIR}"/.config`
+ if [ -n "${firmware_in_kernel_line}" -a "${firmware_in_kernel_line}" != CONFIG_FIRMWARE_IN_KERNEL=y ]
+ then
+- print_info 1 " >> Installing firmware ('make firmware_install') due to CONFIG_FIRMWARE_IN_KERNEL != y..."
+- MAKEOPTS="${MAKEOPTS} -j1" compile_generic "firmware_install" kernel
+- else
+- print_info 1 " >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)..."
++ print_info 1 " >> Not installing firmware due to CONFIG_FIRMWARE_IN_KERNEL != y...Make sure you linux-firmware package installed"
+ fi
+
+ local tmp_kernel_binary=$(find_kernel_binary ${KERNEL_BINARY_OVERRIDE:-${KERNEL_BINARY}})