diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-21 15:45:45 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-21 16:21:10 -0300 |
commit | b16d50a21274437da1d49a6a146dc602242f97c8 (patch) | |
tree | 8f1ce6d2d04d6285cbd70a16ebac54274f93e31d /~emulatorman/linux-libre/linux-libre_kernels_aur_version.sh | |
parent | 8fea3ee0368ff4feb42c07b728efd1e70cf0fea4 (diff) |
linux-libre: add some changes based on linux-armv7 to adapt for u-Boot usage
* rename vmlinuz-linux-libre to zImage
* rename uImage-linux-libre-{armada-{370-smileplug,370-mirabox,xp-openblocks-ax3-4},dove-{d3plug,cubox}} to uImage
* backup linux-libre-dtb and previous linux-libre armv7h changes to ~emulatorman for GRUB armv7h porting and avoid conflicts with another kernel installed
Diffstat (limited to '~emulatorman/linux-libre/linux-libre_kernels_aur_version.sh')
-rwxr-xr-x | ~emulatorman/linux-libre/linux-libre_kernels_aur_version.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/~emulatorman/linux-libre/linux-libre_kernels_aur_version.sh b/~emulatorman/linux-libre/linux-libre_kernels_aur_version.sh new file mode 100755 index 000000000..a4db1583e --- /dev/null +++ b/~emulatorman/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},-grsec,-pck} kernels/linux-libre-{knock,grsec-knock,rt,pae,xen,lts-{knock,grsec-knock}}; do + cd ~/packages/abslibre/$kernel + sed -i '\|conflicts=| s|"${_replacesarchkernel\[@][/%a-z-]*}" ||' $(grep -rlI 'conflicts') + cd ~/packages/abslibre +done |