diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf index 84fcc0c..ad273a4 100644 --- a/etc/mkinitcpio.conf +++ b/etc/mkinitcpio.conf @@ -52,8 +52,9 @@ FILES=() HOOKS=(base udev block keyboard autodetect modconf filesystems fsck) # COMPRESSION -# Use this to compress the initramfs image. By default, gzip compression +# Use this to compress the initramfs image. By default, zstd compression # is used. Use 'cat' to create an uncompressed image. +#COMPRESSION="zstd" #COMPRESSION="gzip" #COMPRESSION="bzip2" #COMPRESSION="lzma" diff --git a/home/lucifer/RPi/make-virtio-kernel b/home/lucifer/RPi/make-virtio-kernel index 15a024d..4618835 100755 --- a/home/lucifer/RPi/make-virtio-kernel +++ b/home/lucifer/RPi/make-virtio-kernel @@ -14,17 +14,27 @@ # Warranty: This program is distributed WITHOUT ANY WARRANTY # mapping archive to linux kernel version: -# - 1.20200902-1 = 5.4.51 -# - 1.20200601+amd64-1 = 5.4.42 -# - 1.20200212-1 = 4.19.97 -# - 1.20200114-1 = 4.19.93 -# - 1.20190925-1 = 4.19.75 -# - 1.20190819-1 = 4.19.66 -# - 1.20190718-1 = 4.19.58 -# - 1.20190709-1 = 4.19.57 -# - 1.20190620-1 = 4.19.50 (32-Bit only!?) -# - 1.20190517-1 = 4.19.42 (32-Bit only!?) -# - 1.20190401-1 = 4.14.98 (32-Bit only!?) +# - 1.20211029 = 5.10.63 (https://github.com/raspberrypi/linux/archive/refs/tags/1.20211029.tar.gz) +# - 1.20210831 = 5.10.60 +# - 1.20210805 = 5.10.52 +# - 1.20210527 = 5.10.17 (https://github.com/raspberrypi/linux/archive/refs/tags/raspberrypi-kernel_1.20210527-1.tar.gz) +# - 1.20210201 = 5.10.11 +# - 1.20210111.master = 5.10.5 (https://github.com/raspberrypi/linux/archive/refs/tags/raspberrypi-kernel_1.20210111.master-1.tar.gz) +# - 1.20210107.master = 5.10.4 +# - 1.20210108 = 5.4.83 (https://github.com/raspberrypi/linux/archive/refs/tags/raspberrypi-kernel_1.20210108-1.tar.gz) +# - 1.20201201 = 5.4.79 +# - 1.20201022 = 5.4.72 +# - 1.20200902-1 = 5.4.51 (https://github.com/raspberrypi/linux/archive/refs/tags/raspberrypi-kernel_1.20200902-1.tar.gz) +# - 1.20200601+amd64-1 = 5.4.42 (https://github.com/raspberrypi/linux/archive/refs/tags/raspberrypi-kernel_1.20200601+arm64-1.tar.gz) +# - 1.20200212-1 = 4.19.97 (https://github.com/raspberrypi/linux/archive/refs/tags/raspberrypi-kernel_1.20200212-1.tar.gz) +# - 1.20200114-1 = 4.19.93 +# - 1.20190925-1 = 4.19.75 +# - 1.20190819-1 = 4.19.66 +# - 1.20190718-1 = 4.19.58 +# - 1.20190709-1 = 4.19.57 +# - 1.20190620-1 = 4.19.50 (32-Bit only!?) +# - 1.20190517-1 = 4.19.42 (32-Bit only!?) +# - 1.20190401-1 = 4.14.98 (32-Bit only!?) # check os: readonly OS="Debian GNU/Linux 10" @@ -75,26 +85,38 @@ fi readonly CPUS="$( lscpu | awk '/^CPU\(s\):/ { print $NF; }' )" readonly JOBS="$( echo "12 * 1.5 / 1" | bc )" -readonly RELEASES="1.20200114-1 -1.20200212-1 -1.20200601+amd64-1 -1.20200902-1 -1.20190925-1 -1.20190819-1 -1.20190718-1 -1.20190709-1 -1.20190620-1 -1.20190517-1 -1.20190401-1 -1.20190709-1 -1.20190620-1 -1.20190517-1 -1.20190401-1" +readonly RELEASES="1.20211029 +1.20210831 +1.20210805 +raspberrypi-kernel_1.20210527-1 +raspberrypi-kernel_1.20210201-1 +raspberrypi-kernel_1.20210111.master-1 +raspberrypi-kernel_1.20210107.master-1 +raspberrypi-kernel_1.20210108-1 +raspberrypi-kernel_1.20211201-1 +raspberrypi-kernel_1.20211022-1" +#raspberrypi-kernel_1.20200902-1 +#1.20200601+amd64-1 +#raspberrypi-kernel_1.20200212-1 +#raspberrypi-kernel_1.20200114-1 +#raspberrypi-kernel_1.20190925-1 +#raspberrypi-kernel_1.20190819-1 +#raspberrypi-kernel_1.20190718-1 +#raspberrypi-kernel_1.20190709-1 +#raspberrypi-kernel_1.20190620-1 +#raspberrypi-kernel_1.20190517-1 +#raspberrypi-kernel_1.20190401-1 +#raspberrypi-kernel_1.20190709-1 +#raspberrypi-kernel_1.20190620-1 +#raspberrypi-kernel_1.20190517-1 +#raspberrypi-kernel_1.20190401-1" for release in ${RELEASES} ; do # download, extract, version,... - archive="raspberrypi-kernel_${release}.tar.gz" - wget --timestamping "https://github.com/raspberrypi/linux/archive/${archive}" +# archive="raspberrypi-kernel_${release}.tar.gz" +# wget --timestamping "https://github.com/raspberrypi/linux/archive/${archive}" + archive="${release}.tar.gz" + wget --timestamping "https://github.com/raspberrypi/linux/archive/refs/tags/${archive}" [ -r "${archive}" ] || continue tar xzf "${archive}" rm "${archive}"