summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-06 21:34:29 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-06 21:34:29 -0300
commit60842f0c6647e3a51d1a8e4c8dac455c905e253f (patch)
treed3e91589112f6304c49a524908c04c8f7f41d7fd /libre-testing/linux-libre/linux-libre_kernels_aur_version.sh
parentf4fc9221c6b3bd9eb192e2a0a12f2cf39ae6107a (diff)
linux-libre-4.1.4_gnu-1.1: add patch to make the radeon driver load without the firmwares
Diffstat (limited to 'libre-testing/linux-libre/linux-libre_kernels_aur_version.sh')
-rwxr-xr-xlibre-testing/linux-libre/linux-libre_kernels_aur_version.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh b/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh
new file mode 100755
index 000000000..27d4f54ea
--- /dev/null
+++ b/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh
@@ -0,0 +1,27 @@
+#!/usr/bin/bash
+
+# Copyright (C) 2015 André Silva <emulatorman@parabola.nu>
+# Copyright (C) 2015 Márcio Silva <coadde@parabola.nu>
+#
+# License: GNU GPLv3+
+#
+# This file is part of Parabola.
+#
+# Parabola is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Parabola is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Parabola. If not, see <http://www.gnu.org/licenses/>.
+
+for kernel in libre/linux-libre{,-lts,-grsec} kernels/linux-libre-{knock,grsec-knock,rt,pae,xen,lts-{grsec,knock,grsec-knock}}; do
+ cd ~/packages/abslibre/$kernel
+ sed -i '\|conflicts=| s|"${_replacesarchkernel\[@][/%a-z-]*}" ||' $(grep -rlI 'conflicts')
+ cd ~/packages/abslibre
+done