diff options
-rw-r--r-- | Makefile.deblob | 40 | ||||
-rw-r--r-- | deblob/.gitignore | 3 | ||||
-rw-r--r-- | deblob/647F28654894E3BD457199BE38DBBDC86092693E.gpg | bin | 0 -> 3527 bytes | |||
-rw-r--r-- | deblob/COPYING.deblob (renamed from COPYING) | 0 | ||||
-rwxr-xr-x | deblob/deblob-5.10 (renamed from deblob-5.10) | 0 | ||||
-rwxr-xr-x | deblob/deblob-check (renamed from deblob-check) | 0 |
6 files changed, 43 insertions, 0 deletions
diff --git a/Makefile.deblob b/Makefile.deblob new file mode 100644 index 000000000000..e95b120bd724 --- /dev/null +++ b/Makefile.deblob @@ -0,0 +1,40 @@ +# Copyright (C) 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> +# +# This program 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 2 of the License, or +# (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +CURL ?= curl +CURLOPTS ?= -L +MIRROR ?= https://cdn.kernel.org/pub/linux/kernel/v5.x + +.PHONY: all +all: deblob-5.10 + ./deblob-5.10 + +deblob-check: + ln -sf deblob/$@ $@ + +deblob-5.10: deblob/linux-5.10.71.tar deblob/linux-5.10.71.tar.sign deblob-check + # Greg Kroah-Hartman + gpg --list-keys 647F28654894E3BD457199BE38DBBDC86092693E || \ + gpg --import deblob/647F28654894E3BD457199BE38DBBDC86092693E.gpg + gpg --verify $<.sign $< + tar x -f $< --strip=1 -C ../ + ln -sf deblob/deblob-5.10 ./ + +deblob/%.tar.sign: + $(CURL) $(CURLOPTS) $(MIRROR)/$@ -o $@ +deblob/%.tar.xz: + $(CURL) $(CURLOPTS) $(MIRROR)/$@ -o $@ +deblob/%.tar: deblob/deblob/%.tar.xz + unxz --verbose $< diff --git a/deblob/.gitignore b/deblob/.gitignore new file mode 100644 index 000000000000..0897b62b4702 --- /dev/null +++ b/deblob/.gitignore @@ -0,0 +1,3 @@ +linux-5.10.71.tar +linux-5.10.71.tar.xz +linux-5.10.71.tar.sign diff --git a/deblob/647F28654894E3BD457199BE38DBBDC86092693E.gpg b/deblob/647F28654894E3BD457199BE38DBBDC86092693E.gpg Binary files differnew file mode 100644 index 000000000000..e79dbc9b767a --- /dev/null +++ b/deblob/647F28654894E3BD457199BE38DBBDC86092693E.gpg diff --git a/COPYING b/deblob/COPYING.deblob index 623b6258a134..623b6258a134 100644 --- a/COPYING +++ b/deblob/COPYING.deblob diff --git a/deblob-5.10 b/deblob/deblob-5.10 index 48dc99acf62b..48dc99acf62b 100755 --- a/deblob-5.10 +++ b/deblob/deblob-5.10 diff --git a/deblob-check b/deblob/deblob-check index 96549b3901d9..96549b3901d9 100755 --- a/deblob-check +++ b/deblob/deblob-check |