Sat Jan 7 20:30:44 UTC 2023

We're going to go ahead and jump to the 6.1.4 kernel, in spite of the fact
that a kernel bisect identified the patch that was preventing 32-bit from
booting here on a Thinkpad X1E:

------
From 2e479b3b82c49bfb9422274c0a9c155a41caecb7 Mon Sep 17 00:00:00 2001
From: Michael Kelley <mikelley@microsoft.com>
Date: Wed, 16 Nov 2022 10:41:24 -0800
Subject: [PATCH] x86/ioremap: Fix page aligned size calculation in
 __ioremap_caller()

commit 4dbd6a3e90e03130973688fd79e19425f720d999 upstream.

Current code re-calculates the size after aligning the starting and
ending physical addresses on a page boundary. But the re-calculation
also embeds the masking of high order bits that exceed the size of
the physical address space (via PHYSICAL_PAGE_MASK). If the masking
removes any high order bits, the size calculation results in a huge
value that is likely to immediately fail.

Fix this by re-calculating the page-aligned size first. Then mask any
high order bits using PHYSICAL_PAGE_MASK.

Fixes: ffa71f33a820 ("x86, ioremap: Fix incorrect physical address handling in
PAE mode")
------

The non-SMP non-PAE 32-bit kernel is fine even without the patch revert.
The PAE kernel also works fine with this patch reverted without any need
to revert ffa71f33a820 (the patch that this one is supposed to fix). The
machine's excessive (for 32-bit) amount of physical RAM (64GB) might also
be a factor here considering the PAE kernel works on all the other machines
around here without reverting this patch.
The patch is reverted only on 32-bit. Upstream report still pending.
Enjoy! :-)

a/kernel-generic-6.1.4-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.1.4-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.1.4-x86_64-1.txz:  Upgraded.
a/tree-2.1.0-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.1.4-x86-1.txz:  Upgraded.
k/kernel-source-6.1.4-noarch-1.txz:  Upgraded.
l/gvfs-1.50.3-x86_64-1.txz:  Upgraded.
l/hunspell-1.7.2-x86_64-1.txz:  Upgraded.
l/libnice-0.1.21-x86_64-1.txz:  Upgraded.
n/tin-2.6.2-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
This commit is contained in:
Patrick J Volkerding 2023-01-07 20:30:44 +00:00 committed by Eric Hameleers
parent 34e6259d47
commit e0eaf6e451
44 changed files with 305 additions and 64909 deletions

View file

@ -11,9 +11,61 @@
<description>Tracking Slackware development in git.</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
<pubDate>Sat, 7 Jan 2023 01:50:00 GMT</pubDate>
<lastBuildDate>Sat, 7 Jan 2023 02:33:30 GMT</lastBuildDate>
<pubDate>Sat, 7 Jan 2023 20:30:44 GMT</pubDate>
<lastBuildDate>Sat, 7 Jan 2023 21:37:27 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Sat, 7 Jan 2023 20:30:44 GMT</title>
<pubDate>Sat, 7 Jan 2023 20:30:44 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20230107203044</link>
<guid isPermaLink="false">20230107203044</guid>
<description>
<![CDATA[<pre>
We're going to go ahead and jump to the 6.1.4 kernel, in spite of the fact
that a kernel bisect identified the patch that was preventing 32-bit from
booting here on a Thinkpad X1E:
------
From 2e479b3b82c49bfb9422274c0a9c155a41caecb7 Mon Sep 17 00:00:00 2001
From: Michael Kelley <mikelley@microsoft.com>
Date: Wed, 16 Nov 2022 10:41:24 -0800
Subject: [PATCH] x86/ioremap: Fix page aligned size calculation in
__ioremap_caller()
commit 4dbd6a3e90e03130973688fd79e19425f720d999 upstream.
Current code re-calculates the size after aligning the starting and
ending physical addresses on a page boundary. But the re-calculation
also embeds the masking of high order bits that exceed the size of
the physical address space (via PHYSICAL_PAGE_MASK). If the masking
removes any high order bits, the size calculation results in a huge
value that is likely to immediately fail.
Fix this by re-calculating the page-aligned size first. Then mask any
high order bits using PHYSICAL_PAGE_MASK.
Fixes: ffa71f33a820 ("x86, ioremap: Fix incorrect physical address handling in
PAE mode")
------
The non-SMP non-PAE 32-bit kernel is fine even without the patch revert.
The PAE kernel also works fine with this patch reverted without any need
to revert ffa71f33a820 (the patch that this one is supposed to fix). The
machine's excessive (for 32-bit) amount of physical RAM (64GB) might also
be a factor here considering the PAE kernel works on all the other machines
around here without reverting this patch.
The patch is reverted only on 32-bit. Upstream report still pending.
Enjoy! :-)
a/kernel-generic-6.1.4-x86_64-1.txz: Upgraded.
a/kernel-huge-6.1.4-x86_64-1.txz: Upgraded.
a/kernel-modules-6.1.4-x86_64-1.txz: Upgraded.
a/tree-2.1.0-x86_64-1.txz: Upgraded.
d/kernel-headers-6.1.4-x86-1.txz: Upgraded.
k/kernel-source-6.1.4-noarch-1.txz: Upgraded.
l/gvfs-1.50.3-x86_64-1.txz: Upgraded.
l/hunspell-1.7.2-x86_64-1.txz: Upgraded.
l/libnice-0.1.21-x86_64-1.txz: Upgraded.
n/tin-2.6.2-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
</pre>]]>
</description>
</item>
<item>
<title>Sat, 7 Jan 2023 01:50:00 GMT</title>
<pubDate>Sat, 7 Jan 2023 01:50:00 GMT</pubDate>

View file

@ -1,3 +1,54 @@
Sat Jan 7 20:30:44 UTC 2023
We're going to go ahead and jump to the 6.1.4 kernel, in spite of the fact
that a kernel bisect identified the patch that was preventing 32-bit from
booting here on a Thinkpad X1E:
------
From 2e479b3b82c49bfb9422274c0a9c155a41caecb7 Mon Sep 17 00:00:00 2001
From: Michael Kelley <mikelley@microsoft.com>
Date: Wed, 16 Nov 2022 10:41:24 -0800
Subject: [PATCH] x86/ioremap: Fix page aligned size calculation in
__ioremap_caller()
commit 4dbd6a3e90e03130973688fd79e19425f720d999 upstream.
Current code re-calculates the size after aligning the starting and
ending physical addresses on a page boundary. But the re-calculation
also embeds the masking of high order bits that exceed the size of
the physical address space (via PHYSICAL_PAGE_MASK). If the masking
removes any high order bits, the size calculation results in a huge
value that is likely to immediately fail.
Fix this by re-calculating the page-aligned size first. Then mask any
high order bits using PHYSICAL_PAGE_MASK.
Fixes: ffa71f33a820 ("x86, ioremap: Fix incorrect physical address handling in
PAE mode")
------
The non-SMP non-PAE 32-bit kernel is fine even without the patch revert.
The PAE kernel also works fine with this patch reverted without any need
to revert ffa71f33a820 (the patch that this one is supposed to fix). The
machine's excessive (for 32-bit) amount of physical RAM (64GB) might also
be a factor here considering the PAE kernel works on all the other machines
around here without reverting this patch.
The patch is reverted only on 32-bit. Upstream report still pending.
Enjoy! :-)
a/kernel-generic-6.1.4-x86_64-1.txz: Upgraded.
a/kernel-huge-6.1.4-x86_64-1.txz: Upgraded.
a/kernel-modules-6.1.4-x86_64-1.txz: Upgraded.
a/tree-2.1.0-x86_64-1.txz: Upgraded.
d/kernel-headers-6.1.4-x86-1.txz: Upgraded.
k/kernel-source-6.1.4-noarch-1.txz: Upgraded.
l/gvfs-1.50.3-x86_64-1.txz: Upgraded.
l/hunspell-1.7.2-x86_64-1.txz: Upgraded.
l/libnice-0.1.21-x86_64-1.txz: Upgraded.
n/tin-2.6.2-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
+--------------------------+
Sat Jan 7 01:50:00 UTC 2023
a/btrfs-progs-6.1.2-x86_64-1.txz: Upgraded.
l/mozilla-nss-3.87-x86_64-1.txz: Upgraded.

View file

@ -1,35 +1,35 @@
Sat Jan 7 01:51:25 UTC 2023
Sat Jan 7 20:34:48 UTC 2023
Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh
the mirror.
drwxr-xr-x 12 root root 4096 2023-01-07 01:50 .
drwxr-xr-x 12 root root 4096 2023-01-07 20:30 .
-rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0
-rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT
-rw-r--r-- 1 root root 1111237 2023-01-07 01:43 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 01:43 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1111237 2023-01-07 01:51 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 01:51 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
-rw-r--r-- 1 root root 457645 2023-01-07 01:50 ./ChangeLog.txt
-rw-r--r-- 1 root root 459810 2023-01-07 20:30 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
drwxr-xr-x 2 root root 4096 2022-10-24 18:57 ./EFI/BOOT
-rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi
-rw-r--r-- 1 root root 78 2013-09-23 20:35 ./EFI/BOOT/grub-embedded.cfg
-rw-r--r-- 1 root root 893 2018-04-17 21:17 ./EFI/BOOT/grub.cfg
-rw-r--r-- 2 root root 11891456 2022-10-24 18:18 ./EFI/BOOT/huge.s
-rw-r--r-- 2 root root 44692716 2022-10-24 18:57 ./EFI/BOOT/initrd.img
-rw-r--r-- 1 root root 11891456 2022-10-24 18:18 ./EFI/BOOT/huge.s
-rw-r--r-- 1 root root 44692716 2022-10-24 18:57 ./EFI/BOOT/initrd.img
-rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh
-rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg
-rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
-rw-r--r-- 1 root root 1446765 2023-01-07 01:43 ./FILELIST.TXT
-rw-r--r-- 1 root root 1446765 2023-01-07 01:51 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
-rw-r--r-- 1 root root 861664 2023-01-07 01:42 ./PACKAGES.TXT
-rw-r--r-- 1 root root 861654 2023-01-07 20:34 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
-rw-r--r-- 1 root root 3635 2022-10-24 18:47 ./README.initrd
-rw-r--r-- 1 root root 3623 2023-01-07 20:00 ./README.initrd
-rw-r--r-- 1 root root 34162 2022-01-30 20:35 ./README_CRYPT.TXT
-rw-r--r-- 1 root root 8754 2022-03-30 19:05 ./README_LVM.TXT
-rw-r--r-- 1 root root 19658 2013-06-18 04:34 ./README_RAID.TXT
@ -676,16 +676,16 @@ drwxr-xr-x 2 root root 4096 2022-02-25 00:07 ./extra/xv
-rw-r--r-- 1 root root 233 2022-02-24 20:04 ./extra/xv/xv-3.10a-x86_64-10.txt
-rw-r--r-- 1 root root 942524 2022-02-24 20:04 ./extra/xv/xv-3.10a-x86_64-10.txz
-rw-r--r-- 1 root root 163 2022-02-24 20:04 ./extra/xv/xv-3.10a-x86_64-10.txz.asc
drwxr-xr-x 3 root root 4096 2022-10-24 18:57 ./isolinux
drwxr-xr-x 3 root root 4096 2023-01-07 20:14 ./isolinux
-rw-r--r-- 1 root root 6185 2022-02-03 06:53 ./isolinux/README.TXT
-rw-r--r-- 1 root root 788 2007-03-17 19:50 ./isolinux/README_SPLIT.TXT
-rw-r--r-- 1 root root 1474560 2021-06-15 19:16 ./isolinux/efiboot.img
-rw-r--r-- 1 root root 574 2013-10-24 00:19 ./isolinux/f2.txt
-rw-r--r-- 2 root root 44692716 2022-10-24 18:57 ./isolinux/initrd.img
-rw-r--r-- 1 root root 45298708 2023-01-07 20:10 ./isolinux/initrd.img
-rw-r--r-- 1 root root 50 2003-01-18 00:02 ./isolinux/iso.sort
-rw-r--r-- 1 root root 24576 2016-05-27 20:36 ./isolinux/isolinux.bin
-rw-r--r-- 1 root root 578 2013-03-27 03:29 ./isolinux/isolinux.cfg
-rw-r--r-- 1 root root 683 2022-10-24 18:47 ./isolinux/message.txt
-rw-r--r-- 1 root root 681 2023-01-07 20:00 ./isolinux/message.txt
drwxr-xr-x 2 root root 4096 2003-03-17 07:31 ./isolinux/sbootmgr
-rwxr-xr-x 1 root root 36064 1995-05-12 01:23 ./isolinux/sbootmgr/RAWRITE.EXE
-rw-r--r-- 1 root root 2138 1997-12-01 01:21 ./isolinux/sbootmgr/RAWRITE12.DOC
@ -696,12 +696,12 @@ lrwxrwxrwx 1 root root 11 2009-08-23 23:37 ./isolinux/sbootmgr/RAWRITE13
-rw-r--r-- 1 root root 1291 2003-03-17 07:31 ./isolinux/sbootmgr/README.TXT
-rw-r--r-- 1 root root 110592 2003-03-16 08:38 ./isolinux/sbootmgr/sbootmgr.dsk
-rw-r--r-- 1 root root 2879 2020-12-07 20:48 ./isolinux/setpkg
drwxr-xr-x 5 root root 4096 2022-10-24 18:47 ./kernels
-rw-r--r-- 1 root root 37 2022-10-24 18:47 ./kernels/VERSIONS.TXT
drwxr-xr-x 2 root root 4096 2022-10-24 18:18 ./kernels/huge.s
-rw-r--r-- 1 root root 1358625 2022-10-24 18:18 ./kernels/huge.s/System.map.gz
-rw-r--r-- 2 root root 11891456 2022-10-24 18:18 ./kernels/huge.s/bzImage
-rw-r--r-- 1 root root 248820 2022-10-24 16:40 ./kernels/huge.s/config
drwxr-xr-x 5 root root 4096 2023-01-07 20:00 ./kernels
-rw-r--r-- 1 root root 35 2023-01-07 20:00 ./kernels/VERSIONS.TXT
drwxr-xr-x 2 root root 4096 2023-01-07 19:29 ./kernels/huge.s
-rw-r--r-- 1 root root 1197207 2023-01-07 19:29 ./kernels/huge.s/System.map.gz
-rw-r--r-- 1 root root 11983680 2023-01-07 19:29 ./kernels/huge.s/bzImage
-rw-r--r-- 1 root root 252464 2023-01-07 17:45 ./kernels/huge.s/config
drwxr-xr-x 2 root root 4096 2011-03-25 03:15 ./kernels/memtest
-rw-r--r-- 1 root root 60 2011-03-24 00:19 ./kernels/memtest/README
-rw-r--r-- 1 root root 150024 2013-10-17 04:15 ./kernels/memtest/memtest
@ -746,13 +746,13 @@ drwxr-xr-x 2 root root 4096 2022-02-03 07:02 ./patches
-rw-r--r-- 1 root root 575 2022-02-03 07:02 ./patches/FILE_LIST
-rw-r--r-- 1 root root 14 2022-02-03 07:02 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 224 2022-02-03 07:02 ./patches/PACKAGES.TXT
drwxr-xr-x 17 root root 4096 2023-01-07 01:42 ./slackware64
-rw-r--r-- 1 root root 336289 2023-01-07 01:42 ./slackware64/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 01:42 ./slackware64/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 417064 2023-01-07 01:41 ./slackware64/FILE_LIST
-rw-r--r-- 1 root root 4297797 2023-01-07 01:42 ./slackware64/MANIFEST.bz2
drwxr-xr-x 17 root root 4096 2023-01-07 20:34 ./slackware64
-rw-r--r-- 1 root root 336259 2023-01-07 20:34 ./slackware64/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 20:34 ./slackware64/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 417036 2023-01-07 20:33 ./slackware64/FILE_LIST
-rw-r--r-- 1 root root 4320763 2023-01-07 20:33 ./slackware64/MANIFEST.bz2
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
drwxr-xr-x 2 root root 32768 2023-01-07 01:41 ./slackware64/a
drwxr-xr-x 2 root root 32768 2023-01-07 20:33 ./slackware64/a
-rw-r--r-- 1 root root 327 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txt
-rw-r--r-- 1 root root 10720 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txz.asc
@ -920,15 +920,15 @@ drwxr-xr-x 2 root root 32768 2023-01-07 01:41 ./slackware64/a
-rw-r--r-- 1 root root 422 2023-01-05 02:39 ./slackware64/a/kernel-firmware-20230104_4ee2014-noarch-1.txt
-rw-r--r-- 1 root root 267686340 2023-01-05 02:39 ./slackware64/a/kernel-firmware-20230104_4ee2014-noarch-1.txz
-rw-r--r-- 1 root root 163 2023-01-05 02:39 ./slackware64/a/kernel-firmware-20230104_4ee2014-noarch-1.txz.asc
-rw-r--r-- 1 root root 624 2022-10-24 18:20 ./slackware64/a/kernel-generic-5.19.17-x86_64-1.txt
-rw-r--r-- 1 root root 8726300 2022-10-24 18:20 ./slackware64/a/kernel-generic-5.19.17-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-10-24 18:20 ./slackware64/a/kernel-generic-5.19.17-x86_64-1.txz.asc
-rw-r--r-- 1 root root 636 2022-10-24 18:18 ./slackware64/a/kernel-huge-5.19.17-x86_64-1.txt
-rw-r--r-- 1 root root 12830096 2022-10-24 18:18 ./slackware64/a/kernel-huge-5.19.17-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-10-24 18:18 ./slackware64/a/kernel-huge-5.19.17-x86_64-1.txz.asc
-rw-r--r-- 1 root root 567 2022-10-24 18:33 ./slackware64/a/kernel-modules-5.19.17-x86_64-1.txt
-rw-r--r-- 1 root root 52364816 2022-10-24 18:33 ./slackware64/a/kernel-modules-5.19.17-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-10-24 18:33 ./slackware64/a/kernel-modules-5.19.17-x86_64-1.txz.asc
-rw-r--r-- 1 root root 624 2023-01-07 19:32 ./slackware64/a/kernel-generic-6.1.4-x86_64-1.txt
-rw-r--r-- 1 root root 8716040 2023-01-07 19:32 ./slackware64/a/kernel-generic-6.1.4-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:32 ./slackware64/a/kernel-generic-6.1.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 636 2023-01-07 19:30 ./slackware64/a/kernel-huge-6.1.4-x86_64-1.txt
-rw-r--r-- 1 root root 12834808 2023-01-07 19:30 ./slackware64/a/kernel-huge-6.1.4-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:30 ./slackware64/a/kernel-huge-6.1.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 567 2023-01-07 19:46 ./slackware64/a/kernel-modules-6.1.4-x86_64-1.txt
-rw-r--r-- 1 root root 53040784 2023-01-07 19:46 ./slackware64/a/kernel-modules-6.1.4-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:46 ./slackware64/a/kernel-modules-6.1.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 508 2022-07-04 19:46 ./slackware64/a/kmod-30-x86_64-1.txt
-rw-r--r-- 1 root root 118208 2022-07-04 19:46 ./slackware64/a/kmod-30-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-07-04 19:46 ./slackware64/a/kmod-30-x86_64-1.txz.asc
@ -974,8 +974,8 @@ drwxr-xr-x 2 root root 32768 2023-01-07 01:41 ./slackware64/a
-rw-r--r-- 1 root root 405 2022-01-27 19:11 ./slackware64/a/lzlib-1.13-x86_64-1.txt
-rw-r--r-- 1 root root 58460 2022-01-27 19:11 ./slackware64/a/lzlib-1.13-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-27 19:11 ./slackware64/a/lzlib-1.13-x86_64-1.txz.asc
-rw-r--r-- 1 root root 9872 2022-10-24 18:47 ./slackware64/a/maketag
-rw-r--r-- 1 root root 9872 2022-10-24 18:47 ./slackware64/a/maketag.ez
-rw-r--r-- 1 root root 9866 2023-01-07 20:00 ./slackware64/a/maketag
-rw-r--r-- 1 root root 9866 2023-01-07 20:00 ./slackware64/a/maketag.ez
-rw-r--r-- 1 root root 591 2022-11-03 18:29 ./slackware64/a/mcelog-190-x86_64-1.txt
-rw-r--r-- 1 root root 350256 2022-11-03 18:29 ./slackware64/a/mcelog-190-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-11-03 18:29 ./slackware64/a/mcelog-190-x86_64-1.txz.asc
@ -1081,7 +1081,7 @@ drwxr-xr-x 2 root root 32768 2023-01-07 01:41 ./slackware64/a
-rw-r--r-- 1 root root 378 2022-12-21 19:52 ./slackware64/a/sysvinit-scripts-15.1-noarch-3.txt
-rw-r--r-- 1 root root 16436 2022-12-21 19:52 ./slackware64/a/sysvinit-scripts-15.1-noarch-3.txz
-rw-r--r-- 1 root root 163 2022-12-21 19:52 ./slackware64/a/sysvinit-scripts-15.1-noarch-3.txz.asc
-rw-r--r-- 1 root root 1548 2022-10-24 18:47 ./slackware64/a/tagfile
-rw-r--r-- 1 root root 1548 2023-01-07 20:00 ./slackware64/a/tagfile
-rw-r--r-- 1 root root 395 2022-07-26 16:52 ./slackware64/a/tar-1.34-x86_64-2.txt
-rw-r--r-- 1 root root 804060 2022-07-26 16:52 ./slackware64/a/tar-1.34-x86_64-2.txz
-rw-r--r-- 1 root root 163 2022-07-26 16:52 ./slackware64/a/tar-1.34-x86_64-2.txz.asc
@ -1091,9 +1091,9 @@ drwxr-xr-x 2 root root 32768 2023-01-07 01:41 ./slackware64/a
-rw-r--r-- 1 root root 432 2021-02-13 11:19 ./slackware64/a/time-1.9-x86_64-4.txt
-rw-r--r-- 1 root root 36624 2021-02-13 11:19 ./slackware64/a/time-1.9-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:19 ./slackware64/a/time-1.9-x86_64-4.txz.asc
-rw-r--r-- 1 root root 417 2022-10-21 17:56 ./slackware64/a/tree-2.0.4-x86_64-1.txt
-rw-r--r-- 1 root root 56228 2022-10-21 17:56 ./slackware64/a/tree-2.0.4-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-10-21 17:56 ./slackware64/a/tree-2.0.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 417 2023-01-07 19:54 ./slackware64/a/tree-2.1.0-x86_64-1.txt
-rw-r--r-- 1 root root 55492 2023-01-07 19:54 ./slackware64/a/tree-2.1.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:54 ./slackware64/a/tree-2.1.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 412 2021-11-11 16:27 ./slackware64/a/udisks-1.0.5-x86_64-10.txt
-rw-r--r-- 1 root root 177708 2021-11-11 16:27 ./slackware64/a/udisks-1.0.5-x86_64-10.txz
-rw-r--r-- 1 root root 163 2021-11-11 16:27 ./slackware64/a/udisks-1.0.5-x86_64-10.txz.asc
@ -1391,7 +1391,7 @@ drwxr-xr-x 2 root root 20480 2023-01-05 03:13 ./slackware64/ap
-rw-r--r-- 1 root root 506 2022-05-15 17:09 ./slackware64/ap/zsh-5.9-x86_64-1.txt
-rw-r--r-- 1 root root 3156392 2022-05-15 17:09 ./slackware64/ap/zsh-5.9-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-05-15 17:09 ./slackware64/ap/zsh-5.9-x86_64-1.txz.asc
drwxr-xr-x 2 root root 20480 2023-01-05 03:13 ./slackware64/d
drwxr-xr-x 2 root root 20480 2023-01-07 20:33 ./slackware64/d
-rw-r--r-- 1 root root 360 2022-03-09 03:58 ./slackware64/d/Cython-0.29.28-x86_64-1.txt
-rw-r--r-- 1 root root 2393012 2022-03-09 03:58 ./slackware64/d/Cython-0.29.28-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-03-09 03:58 ./slackware64/d/Cython-0.29.28-x86_64-1.txz.asc
@ -1502,9 +1502,9 @@ drwxr-xr-x 2 root root 20480 2023-01-05 03:13 ./slackware64/d
-rw-r--r-- 1 root root 279 2021-02-13 09:57 ./slackware64/d/intltool-0.51.0-x86_64-6.txt
-rw-r--r-- 1 root root 48024 2021-02-13 09:57 ./slackware64/d/intltool-0.51.0-x86_64-6.txz
-rw-r--r-- 1 root root 163 2021-02-13 09:57 ./slackware64/d/intltool-0.51.0-x86_64-6.txz.asc
-rw-r--r-- 1 root root 332 2022-10-24 18:34 ./slackware64/d/kernel-headers-5.19.17-x86-1.txt
-rw-r--r-- 1 root root 1125768 2022-10-24 18:34 ./slackware64/d/kernel-headers-5.19.17-x86-1.txz
-rw-r--r-- 1 root root 163 2022-10-24 18:34 ./slackware64/d/kernel-headers-5.19.17-x86-1.txz.asc
-rw-r--r-- 1 root root 332 2023-01-07 19:47 ./slackware64/d/kernel-headers-6.1.4-x86-1.txt
-rw-r--r-- 1 root root 1144612 2023-01-07 19:47 ./slackware64/d/kernel-headers-6.1.4-x86-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:47 ./slackware64/d/kernel-headers-6.1.4-x86-1.txz.asc
-rw-r--r-- 1 root root 498 2022-09-06 18:30 ./slackware64/d/libtool-2.4.7-x86_64-4.txt
-rw-r--r-- 1 root root 438292 2022-09-06 18:30 ./slackware64/d/libtool-2.4.7-x86_64-4.txz
-rw-r--r-- 1 root root 163 2022-09-06 18:30 ./slackware64/d/libtool-2.4.7-x86_64-4.txz.asc
@ -1640,15 +1640,15 @@ drwxr-xr-x 2 root root 4096 2016-04-01 21:41 ./slackware64/f
-rw-r--r-- 1 root root 1075 2018-03-01 07:54 ./slackware64/f/maketag
-rw-r--r-- 1 root root 1075 2018-03-01 07:54 ./slackware64/f/maketag.ez
-rw-r--r-- 1 root root 32 2018-03-01 07:54 ./slackware64/f/tagfile
drwxr-xr-x 2 root root 4096 2022-10-24 19:00 ./slackware64/k
drwxr-xr-x 2 root root 4096 2023-01-07 20:33 ./slackware64/k
-rwxr-xr-x 1 root root 2897 2009-06-24 22:06 ./slackware64/k/install-packages
-rw-r--r-- 1 root root 446 2006-09-18 10:41 ./slackware64/k/install.end
-rw-r--r-- 1 root root 317 2022-10-24 18:14 ./slackware64/k/kernel-source-5.19.17-noarch-1.txt
-rw-r--r-- 1 root root 128101100 2022-10-24 18:14 ./slackware64/k/kernel-source-5.19.17-noarch-1.txz
-rw-r--r-- 1 root root 163 2022-10-24 18:14 ./slackware64/k/kernel-source-5.19.17-noarch-1.txz.asc
-rw-r--r-- 1 root root 1171 2022-10-24 18:47 ./slackware64/k/maketag
-rw-r--r-- 1 root root 1171 2022-10-24 18:47 ./slackware64/k/maketag.ez
-rw-r--r-- 1 root root 18 2022-10-24 18:47 ./slackware64/k/tagfile
-rw-r--r-- 1 root root 317 2023-01-07 19:26 ./slackware64/k/kernel-source-6.1.4-noarch-1.txt
-rw-r--r-- 1 root root 131265308 2023-01-07 19:26 ./slackware64/k/kernel-source-6.1.4-noarch-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:26 ./slackware64/k/kernel-source-6.1.4-noarch-1.txz.asc
-rw-r--r-- 1 root root 1169 2023-01-07 20:00 ./slackware64/k/maketag
-rw-r--r-- 1 root root 1169 2023-01-07 20:00 ./slackware64/k/maketag.ez
-rw-r--r-- 1 root root 18 2023-01-07 20:00 ./slackware64/k/tagfile
drwxr-xr-x 2 root root 86016 2023-01-06 00:59 ./slackware64/kde
-rw-r--r-- 1 root root 382 2023-01-05 21:24 ./slackware64/kde/akonadi-22.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 2569272 2023-01-05 21:24 ./slackware64/kde/akonadi-22.12.1-x86_64-1.txz
@ -2774,7 +2774,7 @@ drwxr-xr-x 2 root root 86016 2023-01-06 00:59 ./slackware64/kde
-rw-r--r-- 1 root root 517 2023-01-05 22:52 ./slackware64/kde/zanshin-22.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 683740 2023-01-05 22:52 ./slackware64/kde/zanshin-22.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-05 22:52 ./slackware64/kde/zanshin-22.12.1-x86_64-1.txz.asc
drwxr-xr-x 2 root root 86016 2023-01-07 01:41 ./slackware64/l
drwxr-xr-x 2 root root 86016 2023-01-07 20:33 ./slackware64/l
-rw-r--r-- 1 root root 329 2022-03-06 20:00 ./slackware64/l/GConf-3.2.6-x86_64-8.txt
-rw-r--r-- 1 root root 928144 2022-03-06 20:00 ./slackware64/l/GConf-3.2.6-x86_64-8.txz
-rw-r--r-- 1 root root 163 2022-03-06 20:00 ./slackware64/l/GConf-3.2.6-x86_64-8.txz.asc
@ -3114,18 +3114,18 @@ drwxr-xr-x 2 root root 86016 2023-01-07 01:41 ./slackware64/l
-rw-r--r-- 1 root root 371 2021-06-29 19:01 ./slackware64/l/gtkspell-2.0.16-x86_64-7.txt
-rw-r--r-- 1 root root 38432 2021-06-29 19:01 ./slackware64/l/gtkspell-2.0.16-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-06-29 19:01 ./slackware64/l/gtkspell-2.0.16-x86_64-7.txz.asc
-rw-r--r-- 1 root root 428 2022-07-12 03:33 ./slackware64/l/gvfs-1.50.2-x86_64-1.txt
-rw-r--r-- 1 root root 1046948 2022-07-12 03:33 ./slackware64/l/gvfs-1.50.2-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-07-12 03:33 ./slackware64/l/gvfs-1.50.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 428 2023-01-07 19:46 ./slackware64/l/gvfs-1.50.3-x86_64-1.txt
-rw-r--r-- 1 root root 1052156 2023-01-07 19:46 ./slackware64/l/gvfs-1.50.3-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:46 ./slackware64/l/gvfs-1.50.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 225 2022-12-17 19:36 ./slackware64/l/harfbuzz-6.0.0-x86_64-1.txt
-rw-r--r-- 1 root root 1077512 2022-12-17 19:36 ./slackware64/l/harfbuzz-6.0.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-12-17 19:36 ./slackware64/l/harfbuzz-6.0.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 506 2021-02-13 06:50 ./slackware64/l/hicolor-icon-theme-0.17-noarch-4.txt
-rw-r--r-- 1 root root 13876 2021-02-13 06:50 ./slackware64/l/hicolor-icon-theme-0.17-noarch-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 06:50 ./slackware64/l/hicolor-icon-theme-0.17-noarch-4.txz.asc
-rw-r--r-- 1 root root 513 2022-08-23 03:03 ./slackware64/l/hunspell-1.7.1-x86_64-1.txt
-rw-r--r-- 1 root root 312564 2022-08-23 03:03 ./slackware64/l/hunspell-1.7.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-08-23 03:03 ./slackware64/l/hunspell-1.7.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 513 2023-01-07 19:47 ./slackware64/l/hunspell-1.7.2-x86_64-1.txt
-rw-r--r-- 1 root root 351368 2023-01-07 19:47 ./slackware64/l/hunspell-1.7.2-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:47 ./slackware64/l/hunspell-1.7.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 251 2021-02-13 06:50 ./slackware64/l/hyphen-2.8.8-x86_64-3.txt
-rw-r--r-- 1 root root 79084 2021-02-13 06:50 ./slackware64/l/hyphen-2.8.8-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 06:50 ./slackware64/l/hyphen-2.8.8-x86_64-3.txz.asc
@ -3347,9 +3347,9 @@ drwxr-xr-x 2 root root 86016 2023-01-07 01:41 ./slackware64/l
-rw-r--r-- 1 root root 576 2022-07-04 19:53 ./slackware64/l/libmtp-1.1.20-x86_64-1.txt
-rw-r--r-- 1 root root 229316 2022-07-04 19:53 ./slackware64/l/libmtp-1.1.20-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-07-04 19:53 ./slackware64/l/libmtp-1.1.20-x86_64-1.txz.asc
-rw-r--r-- 1 root root 601 2022-05-04 18:13 ./slackware64/l/libnice-0.1.19-x86_64-1.txt
-rw-r--r-- 1 root root 217148 2022-05-04 18:13 ./slackware64/l/libnice-0.1.19-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-05-04 18:13 ./slackware64/l/libnice-0.1.19-x86_64-1.txz.asc
-rw-r--r-- 1 root root 601 2023-01-07 19:49 ./slackware64/l/libnice-0.1.21-x86_64-1.txt
-rw-r--r-- 1 root root 222136 2023-01-07 19:49 ./slackware64/l/libnice-0.1.21-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:49 ./slackware64/l/libnice-0.1.21-x86_64-1.txz.asc
-rw-r--r-- 1 root root 358 2021-02-13 07:07 ./slackware64/l/libnih-1.0.3-x86_64-5.txt
-rw-r--r-- 1 root root 164968 2021-02-13 07:07 ./slackware64/l/libnih-1.0.3-x86_64-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 07:07 ./slackware64/l/libnih-1.0.3-x86_64-5.txz.asc
@ -3947,7 +3947,7 @@ drwxr-xr-x 2 root root 86016 2023-01-07 01:41 ./slackware64/l
-rw-r--r-- 1 root root 463 2022-01-21 04:11 ./slackware64/l/zstd-1.5.2-x86_64-1.txt
-rw-r--r-- 1 root root 437228 2022-01-21 04:11 ./slackware64/l/zstd-1.5.2-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-21 04:11 ./slackware64/l/zstd-1.5.2-x86_64-1.txz.asc
drwxr-xr-x 2 root root 36864 2023-01-07 01:41 ./slackware64/n
drwxr-xr-x 2 root root 36864 2023-01-07 20:33 ./slackware64/n
-rw-r--r-- 1 root root 357 2022-09-10 18:15 ./slackware64/n/ModemManager-1.18.12-x86_64-1.txt
-rw-r--r-- 1 root root 2148884 2022-09-10 18:15 ./slackware64/n/ModemManager-1.18.12-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-09-10 18:15 ./slackware64/n/ModemManager-1.18.12-x86_64-1.txz.asc
@ -4370,9 +4370,9 @@ drwxr-xr-x 2 root root 36864 2023-01-07 01:41 ./slackware64/n
-rw-r--r-- 1 root root 553 2021-02-13 12:31 ./slackware64/n/tftp-hpa-5.2-x86_64-8.txt
-rw-r--r-- 1 root root 49716 2021-02-13 12:31 ./slackware64/n/tftp-hpa-5.2-x86_64-8.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:31 ./slackware64/n/tftp-hpa-5.2-x86_64-8.txz.asc
-rw-r--r-- 1 root root 488 2022-10-26 22:09 ./slackware64/n/tin-2.6.1-x86_64-4.txt
-rw-r--r-- 1 root root 849552 2022-10-26 22:09 ./slackware64/n/tin-2.6.1-x86_64-4.txz
-rw-r--r-- 1 root root 163 2022-10-26 22:09 ./slackware64/n/tin-2.6.1-x86_64-4.txz.asc
-rw-r--r-- 1 root root 488 2023-01-07 19:38 ./slackware64/n/tin-2.6.2-x86_64-1.txt
-rw-r--r-- 1 root root 865640 2023-01-07 19:38 ./slackware64/n/tin-2.6.2-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-07 19:38 ./slackware64/n/tin-2.6.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 550 2023-01-05 20:03 ./slackware64/n/traceroute-2.1.1-x86_64-1.txt
-rw-r--r-- 1 root root 53100 2023-01-05 20:03 ./slackware64/n/traceroute-2.1.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-05 20:03 ./slackware64/n/traceroute-2.1.1-x86_64-1.txz.asc
@ -5594,11 +5594,11 @@ drwxr-xr-x 2 root root 4096 2021-02-15 19:33 ./slackware64/y
-rw-r--r-- 1 root root 1486956 2021-02-13 13:56 ./slackware64/y/nethack-3.6.6-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:56 ./slackware64/y/nethack-3.6.6-x86_64-3.txz.asc
-rw-r--r-- 1 root root 26 2020-12-30 21:55 ./slackware64/y/tagfile
drwxr-xr-x 18 root root 4096 2023-01-07 01:43 ./source
-rw-r--r-- 1 root root 594813 2023-01-07 01:43 ./source/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 01:43 ./source/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 827365 2023-01-07 01:42 ./source/FILE_LIST
-rw-r--r-- 1 root root 24034508 2023-01-07 01:42 ./source/MANIFEST.bz2
drwxr-xr-x 18 root root 4096 2023-01-07 20:34 ./source
-rw-r--r-- 1 root root 594987 2023-01-07 20:34 ./source/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 20:34 ./source/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 827646 2023-01-07 20:34 ./source/FILE_LIST
-rw-r--r-- 1 root root 24035107 2023-01-07 20:34 ./source/MANIFEST.bz2
-rw-r--r-- 1 root root 828 2022-02-02 04:43 ./source/README.TXT
drwxr-xr-x 123 root root 4096 2022-10-07 02:22 ./source/a
-rw-r--r-- 1 root root 234 2022-10-16 18:39 ./source/a/FTBFSlog
@ -6590,10 +6590,10 @@ drwxr-xr-x 2 root root 4096 2022-09-06 18:27 ./source/a/time
-rw-r--r-- 1 root root 884 2018-02-27 06:13 ./source/a/time/slack-desc
-rw-r--r-- 1 root root 426163 2018-03-12 22:16 ./source/a/time/time-1.9.tar.lz
-rwxr-xr-x 1 root root 4693 2022-09-06 18:27 ./source/a/time/time.SlackBuild
drwxr-xr-x 2 root root 4096 2022-10-21 17:56 ./source/a/tree
drwxr-xr-x 2 root root 4096 2023-01-07 19:52 ./source/a/tree
-rw-r--r-- 1 root root 869 2018-02-27 06:13 ./source/a/tree/slack-desc
-rw-r--r-- 1 root root 49696 2022-09-06 16:47 ./source/a/tree/tree-2.0.4.tar.lz
-rwxr-xr-x 1 root root 3348 2022-10-21 17:56 ./source/a/tree/tree.SlackBuild
-rw-r--r-- 1 root root 49359 2022-12-26 19:30 ./source/a/tree/tree-2.1.0.tar.lz
-rwxr-xr-x 1 root root 3394 2023-01-07 19:54 ./source/a/tree/tree.SlackBuild
-rw-r--r-- 1 root root 40 2018-11-15 19:16 ./source/a/tree/tree.url
drwxr-xr-x 2 root root 4096 2021-04-18 18:17 ./source/a/udisks
-rw-r--r-- 1 root root 866 2018-02-27 06:13 ./source/a/udisks/slack-desc
@ -7814,21 +7814,24 @@ drwxr-xr-x 2 root root 4096 2022-09-26 19:10 ./source/installer/sources/i
drwxr-xr-x 2 root root 4096 2022-12-14 18:57 ./source/installer/sources/nano
-rw-r--r-- 1 root root 1605272 2022-12-14 10:35 ./source/installer/sources/nano/nano-7.1.tar.xz
-rw-r--r-- 1 root root 833 2022-12-14 10:35 ./source/installer/sources/nano/nano-7.1.tar.xz.sig
drwxr-xr-x 4 root root 4096 2022-10-24 16:31 ./source/k
drwxr-xr-x 5 root root 4096 2023-01-07 19:58 ./source/k
-rwxr-xr-x 1 root root 8310 2022-10-22 18:02 ./source/k/build-all-kernels.sh
drwxr-xr-x 2 root root 4096 2022-10-24 16:41 ./source/k/kernel-configs
-rw-r--r-- 1 root root 245166 2022-10-24 16:38 ./source/k/kernel-configs/config-generic-5.19.17
-rw-r--r-- 1 root root 248851 2022-10-24 16:40 ./source/k/kernel-configs/config-generic-5.19.17.x64
-rw-r--r-- 1 root root 246371 2022-10-24 16:38 ./source/k/kernel-configs/config-generic-smp-5.19.17-smp
-rw-r--r-- 1 root root 245135 2022-10-24 16:39 ./source/k/kernel-configs/config-huge-5.19.17
-rw-r--r-- 1 root root 248820 2022-10-24 16:40 ./source/k/kernel-configs/config-huge-5.19.17.x64
-rw-r--r-- 1 root root 246340 2022-10-24 16:38 ./source/k/kernel-configs/config-huge-smp-5.19.17-smp
drwxr-xr-x 2 root root 4096 2023-01-07 17:46 ./source/k/kernel-configs
-rw-r--r-- 1 root root 248548 2023-01-07 17:43 ./source/k/kernel-configs/config-generic-6.1.4
-rw-r--r-- 1 root root 252495 2023-01-07 17:45 ./source/k/kernel-configs/config-generic-6.1.4.x64
-rw-r--r-- 1 root root 249792 2023-01-07 17:43 ./source/k/kernel-configs/config-generic-smp-6.1.4-smp
-rw-r--r-- 1 root root 248517 2023-01-07 17:43 ./source/k/kernel-configs/config-huge-6.1.4
-rw-r--r-- 1 root root 252464 2023-01-07 17:45 ./source/k/kernel-configs/config-huge-6.1.4.x64
-rw-r--r-- 1 root root 249761 2023-01-07 17:43 ./source/k/kernel-configs/config-huge-smp-6.1.4-smp
-rwxr-xr-x 1 root root 7441 2020-06-11 19:56 ./source/k/kernel-generic.SlackBuild
-rwxr-xr-x 1 root root 3779 2019-09-29 23:48 ./source/k/kernel-headers.SlackBuild
-rwxr-xr-x 1 root root 6504 2022-10-22 18:03 ./source/k/kernel-modules.SlackBuild
-rwxr-xr-x 1 root root 8863 2021-10-29 17:19 ./source/k/kernel-source.SlackBuild
-rw-r--r-- 1 root root 991 2022-10-24 08:08 ./source/k/linux-5.19.17.tar.sign
-rw-r--r-- 1 root root 131698200 2022-10-24 08:08 ./source/k/linux-5.19.17.tar.xz
-rwxr-xr-x 1 root root 10929 2023-01-04 20:09 ./source/k/kernel-source.SlackBuild
-rw-r--r-- 1 root root 987 2023-01-07 10:18 ./source/k/linux-6.1.4.tar.sign
-rw-r--r-- 1 root root 134741224 2023-01-07 10:18 ./source/k/linux-6.1.4.tar.xz
drwxr-xr-x 2 root root 4096 2023-01-04 20:50 ./source/k/patches-revert-i686
-rw-r--r-- 1 root root 1132 2023-01-03 00:53 ./source/k/patches-revert-i686/0001-x86-ioremap-Fix-page-aligned-size-calculation-in-__i.patch.gz
-rw-r--r-- 1 root root 246 2023-01-04 20:50 ./source/k/patches-revert-i686/README
drwxr-xr-x 2 root root 4096 2018-03-05 18:29 ./source/k/slack-desc
-rw-r--r-- 1 root root 1138 2018-02-27 06:16 ./source/k/slack-desc/slack-desc.kernel-generic-smp.i686
-rw-r--r-- 1 root root 1041 2018-02-27 06:16 ./source/k/slack-desc/slack-desc.kernel-generic.i586
@ -10427,9 +10430,9 @@ drwxr-xr-x 2 root root 4096 2021-06-29 19:00 ./source/l/gtkspell
-rwxr-xr-x 1 root root 4185 2021-06-29 19:01 ./source/l/gtkspell/gtkspell.SlackBuild
-rw-r--r-- 1 root root 498 2021-06-29 19:00 ./source/l/gtkspell/gtkspell.enchant-2.diff.gz
-rw-r--r-- 1 root root 827 2021-06-29 18:53 ./source/l/gtkspell/slack-desc
drwxr-xr-x 2 root root 4096 2022-07-12 03:06 ./source/l/gvfs
drwxr-xr-x 2 root root 4096 2023-01-07 19:45 ./source/l/gvfs
-rw-r--r-- 1 root root 169 2012-07-23 17:36 ./source/l/gvfs/doinst.sh.gz
-rw-r--r-- 1 root root 1214464 2022-05-26 11:35 ./source/l/gvfs/gvfs-1.50.2.tar.xz
-rw-r--r-- 1 root root 1227548 2023-01-06 13:23 ./source/l/gvfs/gvfs-1.50.3.tar.xz
-rwxr-xr-x 1 root root 4847 2022-07-12 03:06 ./source/l/gvfs/gvfs.SlackBuild
-rw-r--r-- 1 root root 882 2018-02-27 06:12 ./source/l/gvfs/slack-desc
drwxr-xr-x 2 root root 4096 2022-12-17 19:36 ./source/l/harfbuzz
@ -10443,8 +10446,8 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/l/hicolor-icon-them
-rwxr-xr-x 1 root root 2630 2021-02-13 05:31 ./source/l/hicolor-icon-theme/hicolor-icon-theme.SlackBuild
-rw-r--r-- 1 root root 638 2012-07-18 19:51 ./source/l/hicolor-icon-theme/setup.08.gtk-update-icon-cache
-rw-r--r-- 1 root root 972 2018-02-27 06:12 ./source/l/hicolor-icon-theme/slack-desc
drwxr-xr-x 2 root root 4096 2022-08-23 03:03 ./source/l/hunspell
-rw-r--r-- 1 root root 360684 2022-08-22 13:53 ./source/l/hunspell/hunspell-1.7.1.tar.lz
drwxr-xr-x 2 root root 4096 2023-01-07 19:46 ./source/l/hunspell
-rw-r--r-- 1 root root 422643 2022-12-29 20:10 ./source/l/hunspell/hunspell-1.7.2.tar.lz
-rwxr-xr-x 1 root root 4291 2021-06-29 18:42 ./source/l/hunspell/hunspell.SlackBuild
-rw-r--r-- 1 root root 37 2022-08-23 03:02 ./source/l/hunspell/hunspell.url
-rw-r--r-- 1 root root 965 2021-06-29 18:41 ./source/l/hunspell/slack-desc
@ -10803,8 +10806,8 @@ drwxr-xr-x 2 root root 4096 2022-07-04 19:52 ./source/l/libmtp
-rw-r--r-- 1 root root 576812 2022-07-02 08:21 ./source/l/libmtp/libmtp-1.1.20.tar.lz
-rwxr-xr-x 1 root root 4270 2021-09-26 17:46 ./source/l/libmtp/libmtp.SlackBuild
-rw-r--r-- 1 root root 1030 2018-03-25 17:46 ./source/l/libmtp/slack-desc
drwxr-xr-x 2 root root 4096 2022-09-06 18:27 ./source/l/libnice
-rw-r--r-- 1 root root 325724 2022-05-03 22:44 ./source/l/libnice/libnice-0.1.19.tar.lz
drwxr-xr-x 2 root root 4096 2023-01-07 19:49 ./source/l/libnice
-rw-r--r-- 1 root root 460086 2023-01-07 15:58 ./source/l/libnice/libnice-0.1.21.tar.gz
-rwxr-xr-x 1 root root 4284 2022-09-06 18:27 ./source/l/libnice/libnice.SlackBuild
-rw-r--r-- 1 root root 42 2020-07-21 18:53 ./source/l/libnice/libnice.url
-rw-r--r-- 1 root root 1056 2020-07-21 18:55 ./source/l/libnice/slack-desc
@ -12943,11 +12946,11 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/tftp-hpa
-rw-r--r-- 1 root root 89564 2011-12-11 22:15 ./source/n/tftp-hpa/tftp-hpa-5.2.tar.xz
-rwxr-xr-x 1 root root 3220 2021-02-13 05:32 ./source/n/tftp-hpa/tftp-hpa.SlackBuild
-rw-r--r-- 1 root root 201 2021-01-16 18:55 ./source/n/tftp-hpa/tftp-hpa.fcommon.diff.gz
drwxr-xr-x 2 root root 4096 2022-10-26 19:08 ./source/n/tin
drwxr-xr-x 2 root root 4096 2023-01-07 19:36 ./source/n/tin
-rw-r--r-- 1 root root 939 2018-02-27 06:13 ./source/n/tin/slack-desc
-rw-r--r-- 1 root root 1570500 2021-12-26 14:00 ./source/n/tin/tin-2.6.1.tar.xz
-rw-r--r-- 1 root root 286 2021-12-26 14:41 ./source/n/tin/tin-2.6.1.tar.xz.sign
-rwxr-xr-x 1 root root 3653 2022-10-26 19:08 ./source/n/tin/tin.SlackBuild
-rw-r--r-- 1 root root 1598732 2022-12-24 23:00 ./source/n/tin/tin-2.6.2.tar.xz
-rw-r--r-- 1 root root 286 2022-12-24 23:03 ./source/n/tin/tin-2.6.2.tar.xz.sign
-rwxr-xr-x 1 root root 3653 2023-01-07 19:36 ./source/n/tin/tin.SlackBuild
-rw-r--r-- 1 root root 40 2019-07-22 18:02 ./source/n/tin/tin.url
drwxr-xr-x 2 root root 4096 2023-01-05 20:02 ./source/n/traceroute
-rw-r--r-- 1 root root 1008 2018-02-27 06:13 ./source/n/traceroute/slack-desc
@ -15305,72 +15308,26 @@ drwxr-xr-x 2 root root 4096 2022-09-06 18:27 ./source/y/nethack
-rwxr-xr-x 1 root root 5000 2022-09-06 18:27 ./source/y/nethack/nethack.SlackBuild
-rw-r--r-- 1 root root 59 2020-12-30 20:25 ./source/y/nethack/nethack.url
-rw-r--r-- 1 root root 1031 2020-12-30 21:50 ./source/y/nethack/slack-desc
drwxr-xr-x 4 root root 4096 2023-01-05 03:15 ./testing
-rw-r--r-- 1 root root 4845 2023-01-05 03:15 ./testing/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-05 03:15 ./testing/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 6269 2023-01-05 03:14 ./testing/FILE_LIST
-rw-r--r-- 1 root root 2771874 2023-01-05 03:14 ./testing/MANIFEST.bz2
-rw-r--r-- 1 root root 4092 2023-01-05 03:15 ./testing/PACKAGES.TXT
drwxr-xr-x 3 root root 4096 2022-12-25 23:09 ./testing/packages
drwxr-xr-x 2 root root 4096 2023-01-05 03:14 ./testing/packages/linux-6.1.x
-rw-r--r-- 1 root root 624 2023-01-04 22:33 ./testing/packages/linux-6.1.x/kernel-generic-6.1.3-x86_64-1.txt
-rw-r--r-- 1 root root 8716284 2023-01-04 22:33 ./testing/packages/linux-6.1.x/kernel-generic-6.1.3-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-04 22:33 ./testing/packages/linux-6.1.x/kernel-generic-6.1.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 332 2023-01-04 22:48 ./testing/packages/linux-6.1.x/kernel-headers-6.1.3-x86-1.txt
-rw-r--r-- 1 root root 1144576 2023-01-04 22:48 ./testing/packages/linux-6.1.x/kernel-headers-6.1.3-x86-1.txz
-rw-r--r-- 1 root root 163 2023-01-04 22:48 ./testing/packages/linux-6.1.x/kernel-headers-6.1.3-x86-1.txz.asc
-rw-r--r-- 1 root root 636 2023-01-04 22:31 ./testing/packages/linux-6.1.x/kernel-huge-6.1.3-x86_64-1.txt
-rw-r--r-- 1 root root 12837320 2023-01-04 22:31 ./testing/packages/linux-6.1.x/kernel-huge-6.1.3-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-04 22:31 ./testing/packages/linux-6.1.x/kernel-huge-6.1.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 567 2023-01-04 22:48 ./testing/packages/linux-6.1.x/kernel-modules-6.1.3-x86_64-1.txt
-rw-r--r-- 1 root root 53018068 2023-01-04 22:48 ./testing/packages/linux-6.1.x/kernel-modules-6.1.3-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-01-04 22:48 ./testing/packages/linux-6.1.x/kernel-modules-6.1.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 317 2023-01-04 22:27 ./testing/packages/linux-6.1.x/kernel-source-6.1.3-noarch-1.txt
-rw-r--r-- 1 root root 131263188 2023-01-04 22:27 ./testing/packages/linux-6.1.x/kernel-source-6.1.3-noarch-1.txz
-rw-r--r-- 1 root root 163 2023-01-04 22:27 ./testing/packages/linux-6.1.x/kernel-source-6.1.3-noarch-1.txz.asc
drwxr-xr-x 4 root root 4096 2023-01-07 20:34 ./testing
-rw-r--r-- 1 root root 1086 2023-01-07 20:34 ./testing/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 20:34 ./testing/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1451 2023-01-07 20:34 ./testing/FILE_LIST
-rw-r--r-- 1 root root 1450761 2023-01-07 20:34 ./testing/MANIFEST.bz2
-rw-r--r-- 1 root root 832 2023-01-07 20:34 ./testing/PACKAGES.TXT
drwxr-xr-x 2 root root 4096 2023-01-07 19:58 ./testing/packages
-rw-r--r-- 1 root root 426 2022-12-19 21:16 ./testing/packages/rust-1.66.0-x86_64-1.txt
-rw-r--r-- 1 root root 73060604 2022-12-19 21:16 ./testing/packages/rust-1.66.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-12-19 21:16 ./testing/packages/rust-1.66.0-x86_64-1.txz.asc
drwxr-xr-x 4 root root 4096 2022-12-25 17:46 ./testing/source
drwxr-xr-x 5 root root 4096 2023-01-04 20:47 ./testing/source/linux-6.1.x
-rwxr-xr-x 1 root root 8310 2022-10-22 18:02 ./testing/source/linux-6.1.x/build-all-kernels.sh
drwxr-xr-x 2 root root 4096 2023-01-04 18:25 ./testing/source/linux-6.1.x/kernel-configs
-rw-r--r-- 1 root root 248548 2023-01-04 18:23 ./testing/source/linux-6.1.x/kernel-configs/config-generic-6.1.3
-rw-r--r-- 1 root root 252495 2023-01-04 18:25 ./testing/source/linux-6.1.x/kernel-configs/config-generic-6.1.3.x64
-rw-r--r-- 1 root root 249792 2023-01-04 18:22 ./testing/source/linux-6.1.x/kernel-configs/config-generic-smp-6.1.3-smp
-rw-r--r-- 1 root root 248517 2023-01-04 18:23 ./testing/source/linux-6.1.x/kernel-configs/config-huge-6.1.3
-rw-r--r-- 1 root root 252464 2023-01-04 18:25 ./testing/source/linux-6.1.x/kernel-configs/config-huge-6.1.3.x64
-rw-r--r-- 1 root root 249761 2023-01-04 18:23 ./testing/source/linux-6.1.x/kernel-configs/config-huge-smp-6.1.3-smp
-rwxr-xr-x 1 root root 7441 2020-06-11 19:56 ./testing/source/linux-6.1.x/kernel-generic.SlackBuild
-rwxr-xr-x 1 root root 3779 2019-09-29 23:48 ./testing/source/linux-6.1.x/kernel-headers.SlackBuild
-rwxr-xr-x 1 root root 6504 2022-10-22 18:03 ./testing/source/linux-6.1.x/kernel-modules.SlackBuild
-rwxr-xr-x 1 root root 10929 2023-01-04 20:09 ./testing/source/linux-6.1.x/kernel-source.SlackBuild
-rw-r--r-- 1 root root 987 2023-01-04 10:37 ./testing/source/linux-6.1.x/linux-6.1.3.tar.sign
-rw-r--r-- 1 root root 134747072 2023-01-04 10:37 ./testing/source/linux-6.1.x/linux-6.1.3.tar.xz
drwxr-xr-x 2 root root 4096 2023-01-04 20:50 ./testing/source/linux-6.1.x/patches-revert-i686
-rw-r--r-- 1 root root 1132 2023-01-03 00:53 ./testing/source/linux-6.1.x/patches-revert-i686/0001-x86-ioremap-Fix-page-aligned-size-calculation-in-__i.patch.gz
-rw-r--r-- 1 root root 246 2023-01-04 20:50 ./testing/source/linux-6.1.x/patches-revert-i686/README
drwxr-xr-x 2 root root 4096 2018-03-05 18:29 ./testing/source/linux-6.1.x/slack-desc
-rw-r--r-- 1 root root 1138 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-generic-smp.i686
-rw-r--r-- 1 root root 1041 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-generic.i586
-rw-r--r-- 1 root root 1086 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-generic.x86_64
-rw-r--r-- 1 root root 794 2018-03-05 04:04 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-headers
-rw-r--r-- 1 root root 1151 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-huge-smp.i686
-rw-r--r-- 1 root root 1060 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-huge.i586
-rw-r--r-- 1 root root 1095 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-huge.x86_64
-rw-r--r-- 1 root root 1029 2018-03-05 18:29 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-modules-template
-rw-r--r-- 1 root root 778 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-source
-rw-r--r-- 1 root root 778 2018-02-27 06:16 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-source.vanilla
-rw-r--r-- 1 root root 1000 2018-03-05 08:27 ./testing/source/linux-6.1.x/slack-desc/slack-desc.kernel-template
drwxr-xr-x 3 root root 4096 2023-01-07 19:58 ./testing/source
drwxr-xr-x 2 root root 4096 2022-12-19 20:08 ./testing/source/rust
-rw-r--r-- 1 root root 261 2020-11-19 19:46 ./testing/source/rust/link_libffi.diff.gz
-rwxr-xr-x 1 root root 9879 2022-12-19 20:08 ./testing/source/rust/rust.SlackBuild
-rw-r--r-- 1 root root 1670 2022-12-19 20:08 ./testing/source/rust/rust.url
-rw-r--r-- 1 root root 129542768 2022-12-15 16:09 ./testing/source/rust/rustc-1.66.0-src.tar.lz
-rw-r--r-- 1 root root 910 2018-02-27 06:49 ./testing/source/rust/slack-desc
drwxr-xr-x 2 root root 4096 2022-10-24 18:57 ./usb-and-pxe-installers
drwxr-xr-x 2 root root 4096 2023-01-07 20:14 ./usb-and-pxe-installers
-rw-r--r-- 1 root root 31203 2011-03-21 21:21 ./usb-and-pxe-installers/README_PXE.TXT
-rw-r--r-- 1 root root 9197 2013-09-25 04:33 ./usb-and-pxe-installers/README_USB.TXT
-rw-r--r-- 1 root root 574 2013-03-27 04:59 ./usb-and-pxe-installers/pxelinux.cfg_default
-rw-r--r-- 1 root root 57648128 2022-10-24 18:57 ./usb-and-pxe-installers/usbboot.img
-rw-r--r-- 1 root root 58344448 2023-01-07 20:10 ./usb-and-pxe-installers/usbboot.img
-rw-r--r-- 1 root root 16314 2022-03-24 20:54 ./usb-and-pxe-installers/usbimg2disk.sh

View file

@ -1,7 +1,7 @@
Slackware initrd mini HOWTO
by Patrick Volkerding, volkerdi@slackware.com
Mon Oct 24 18:47:20 UTC 2022
Sat Jan 7 20:00:31 UTC 2023
This document describes how to create and install an initrd, which may be
required to use the 4.x kernel. Also see "man mkinitrd".
@ -33,15 +33,15 @@ flexible to ship a generic kernel and a set of kernel modules for it.
The easiest way to make the initrd is to use the mkinitrd script included
in Slackware's mkinitrd package. We'll walk through the process of
upgrading to the generic 5.19.17 Linux kernel using the packages
upgrading to the generic 6.1.4 Linux kernel using the packages
found in Slackware's slackware/a/ directory.
First, make sure the kernel, kernel modules, and mkinitrd package are
installed (the current version numbers might be a little different, so
this is just an example):
installpkg kernel-generic-5.19.17-x86_64-1.txz
installpkg kernel-modules-5.19.17-x86_64-1.txz
installpkg kernel-generic-6.1.4-x86_64-1.txz
installpkg kernel-modules-6.1.4-x86_64-1.txz
installpkg mkinitrd-1.4.11-x86_64-30.txz
Change into the /boot directory:
@ -52,7 +52,7 @@ Now you'll want to run "mkinitrd". I'm using ext4 for my root filesystem,
and since the disk controller requires no special support the ext4 module
will be the only one I need to load:
mkinitrd -c -k 5.19.17 -m ext4
mkinitrd -c -k 6.1.4 -m ext4
This should do two things. First, it will create a directory
/boot/initrd-tree containing the initrd's filesystem. Then it will
@ -61,10 +61,10 @@ you could make some additional changes in /boot/initrd-tree/ and
then run mkinitrd again without options to rebuild the image. That's
optional, though, and only advanced users will need to think about that.
Here's another example: Build an initrd image using Linux 5.19.17
Here's another example: Build an initrd image using Linux 6.1.4
kernel modules for a system with an ext4 root partition on /dev/sdb3:
mkinitrd -c -k 5.19.17 -m ext4 -f ext4 -r /dev/sdb3
mkinitrd -c -k 6.1.4 -m ext4 -f ext4 -r /dev/sdb3
4. Now that I've built an initrd, how do I use it?

View file

@ -1,5 +1,5 @@
Welcome to 09Slackware6407 version 15.1 (Linux kernel 5.19.17)!
Welcome to 09Slackware6407 version 15.1 (Linux kernel 6.1.4)!
If you need to pass extra parameters to the kernel, enter them at the prompt
below after the name of the kernel to boot (e.g., huge.s).

View file

@ -1,3 +1,3 @@
These kernels are version 5.19.17.
These kernels are version 6.1.4.

View file

@ -397,6 +397,7 @@ gzip ./source/y/bsd-games/patches/0015-primes-Update-to-NetBSD-CVS-2018-02-03.pa
gzip ./source/y/bsd-games/patches/0011-Fix-format-security-compiling-errors.patch
gzip ./source/y/bsd-games/patches/0012-Fix-include-stdio.h-C-incompatibility.patch
gzip ./source/y/bsd-games/patches/bsd-games.pom.diff
gzip ./source/k/patches-revert-i686/0001-x86-ioremap-Fix-page-aligned-size-calculation-in-__i.patch
gzip ./source/n/rdist/rdist-6.1.5-14.fix-msgsndnotify-loop.diff
gzip ./source/n/rdist/rdist-6.1.5-11.mkstemp.diff
gzip ./source/n/rdist/rdist-6.1.5-01.links.diff
@ -1159,7 +1160,6 @@ gzip ./source/x/ibus/emoji-test.txt
gzip ./source/x/xcm/xcm.udev.rules.diff
gzip ./source/x/libva/doinst.sh
gzip ./testing/source/rust/link_libffi.diff
gzip ./testing/source/linux-6.1.x/patches-revert-i686/0001-x86-ioremap-Fix-page-aligned-size-calculation-in-__i.patch
gzip ./pasture/source/php/php-fpm.conf.diff
gzip ./pasture/source/php/doinst.sh
gzip ./pasture/source/php/PHP-5.6.31-OpenSSL-1.1.0-compatibility-20170801.patch

View file

@ -66,9 +66,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
"kernel-generic" "Generic 5.19.17 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 5.19.17 Linux kernel" "on" \
"kernel-modules" "Linux 5.19.17 kernel modules -- REQUIRED" "on" \
"kernel-generic" "Generic 6.1.4 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 6.1.4 Linux kernel" "on" \
"kernel-modules" "Linux 6.1.4 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \

View file

@ -66,9 +66,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
"kernel-generic" "Generic 5.19.17 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 5.19.17 Linux kernel" "on" \
"kernel-modules" "Linux 5.19.17 kernel modules -- REQUIRED" "on" \
"kernel-generic" "Generic 6.1.4 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 6.1.4 Linux kernel" "on" \
"kernel-modules" "Linux 6.1.4 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \

View file

@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
"kernel-source" "Linux 5.19.17 kernel source" "on" \
"kernel-source" "Linux 6.1.4 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs

View file

@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
"kernel-source" "Linux 5.19.17 kernel source" "on" \
"kernel-source" "Linux 6.1.4 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs

View file

@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2007-2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# Copyright 2007-2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=tree
VERSION=2.0.4
VERSION=2.1.0
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@ -83,9 +83,13 @@ mkdir -p $PKG/usr/bin
cat tree > $PKG/usr/bin/tree
chmod 755 $PKG/usr/bin/tree
mkdir -p $PKG/usr/man/man1 $PKG/usr/man/fr/man1
mkdir -p $PKG/usr/man/man1
gzip -9c doc/tree.1 > $PKG/usr/man/man1/tree.1.gz
if [ -r doc/tree.fr.1 ]; then
mkdir -p $PKG/usr/man/fr/man1
gzip -9c doc/tree.fr.1 > $PKG/usr/man/fr/man1/tree.1.gz
fi
mkdir -p $PKG/usr/doc/tree-$VERSION
cp -a \
@ -102,4 +106,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/tree-$VERSION-$ARCH-$BUILD.txz

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.3 Kernel Configuration
# Linux/x86 6.1.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.3 Kernel Configuration
# Linux/x86 6.1.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.3 Kernel Configuration
# Linux/x86 6.1.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.3 Kernel Configuration
# Linux/x86 6.1.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.3 Kernel Configuration
# Linux/x86 6.1.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.3 Kernel Configuration
# Linux/x86 6.1.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

View file

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# Copyright 2018, 2020, 2021, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -46,6 +46,54 @@ if [ -z "$ARCH" ]; then
esac
fi
# This function will revert or apply patches that are present here.
# Directories that are currently supported:
# patches-revert-${VERSION} (revert patches from this directory if kernel version matches)
# patches-revert-${ARCH} (revert patches from this directory if $ARCH matches)
# patches-${VERSION} (apply patches from this directory if kernel version matches)
# patches-${ARCH} (apply patches from this directory if $ARCH matches)
# All the applied/reverted patches will be copied to the root of the kernel source tree.
apply_patches() {
# First do patches-revert:
if [ -d $CWD/patches-revert-${VERSION} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Reverting kernel patches in $CWD/patches-revert-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-revert-${VERSION}/*.gz | patch -p1 -R --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-revert-${VERSION}/*.gz | patch -p1 -R --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-revert-${VERSION}/*.gz .
fi
if [ -d $CWD/patches-revert-${ARCH} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Reverting kernel patches in $CWD/patches-revert-${ARCH} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-revert-${ARCH}/*.gz | patch -p1 -R --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-revert-${ARCH}/*.gz | patch -p1 -R --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-revert-${ARCH}/*.gz .
fi
# Then apply patches:
if [ -d $CWD/patches-${VERSION} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Applying kernel patches in $CWD/patches-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-${VERSION}/*.gz .
fi
if [ -d $CWD/patches-${ARCH} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Applying kernel patches in $CWD/patches-${ARCH} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${ARCH}/*.gz | patch -p1 --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-${ARCH}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-${ARCH}/*.gz .
fi
}
# Kernel extraversion, such as "-smp" on 32-bit. There's usually no need to set
# this unless you're using something unusual. We use it to find which .config
# file to use, but we'll then use whatever CONFIG_LOCALVERSION is set to
@ -99,9 +147,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
cd $TEMPDIR
tar xf $CWD/linux-${VERSION}.tar.?z || exit 1
cd linux*
if [ -d $CWD/patches-${VERSION} ]; then
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
apply_patches
PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev)
cd $CWD
rm -rf $TEMPDIR
@ -121,11 +167,7 @@ echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
echo "Making /usr/src/linux symlink..."
ln -sf linux-* linux
cd linux-*
if [ -d $CWD/patches-${VERSION} ]; then
echo "Applying kernel patches in $CWD/patches-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
cp -a $CWD/patches-${VERSION}/*.gz .
fi
apply_patches VERBOSE
echo "Copying $CWD/kernel-configs/${KERNEL_CONFIG} to .config..."
cp -a $CWD/kernel-configs/${KERNEL_CONFIG} .config
echo "Fixing permissions/ownership..."

View file

@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=tin
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-4}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then

View file

@ -1,175 +0,0 @@
#!/bin/sh
# Copyright 2018, 2021, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# This script uses the SlackBuild scripts present here to build a
# complete set of kernel packages for the currently running architecture.
# It needs to be run once on 64-bit (uname -m = x86_64) and once on IA32
# (uname -m = i586 or i686).
cd $(dirname $0) ; CWD=$(pwd)
BUILD=${BUILD:-1}
if [ -z "$VERSION" ]; then
# Get the filename of the newest kernel tarball:
KERNEL_SOURCE_FILE="$(/bin/ls -t linux-*.tar.?z | head -n 1 )"
if echo $KERNEL_SOURCE_FILE | grep -q rc ; then # need to get rc versions a bit differently
VERSION=$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev)
else # normal release version
VERSION=$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
fi
fi
TMP=${TMP:-/tmp}
# By default, install the packages as we build them and update the initrd.
INSTALL_PACKAGES=${INSTALL_PACKAGES:-YES}
# Clean kernels before building them. Not doing so quit working some time
# after 4.19.x.
export KERNEL_CLEAN=YES
# A list of recipes for build may be passed in the $RECIPES variable, otherwise
# we have defaults based on uname -m:
if [ -z "$RECIPES" ]; then
if uname -m | grep -wq x86_64 ; then
RECIPES="x86_64"
elif uname -m | grep -wq i.86 ; then
RECIPES="IA32_NO_SMP IA32_SMP"
else
echo "Error: no build recipes available for $(uname -m)"
exit 1
fi
fi
# Main build loop:
for recipe in $RECIPES ; do
# Build recipes are defined here. These will select the appropriate .config
# files and package naming scheme, and define the output location.
if [ "$recipe" = "x86_64" ]; then
# Recipe for x86_64:
export CONFIG_SUFFIX=".x64"
unset LOCALVERSION
OUTPUT=${OUTPUT:-${TMP}/output-x86_64-${VERSION}}
elif [ "$recipe" = "IA32_SMP" ]; then
# Recipe for IA32_SMP:
unset CONFIG_SUFFIX
LOCALVERSION="-smp"
OUTPUT=${OUTPUT:-${TMP}/output-ia32-${VERSION}}
elif [ "$recipe" = "IA32_NO_SMP" ]; then
# Recipe for IA32_NO_SMP:
unset CONFIG_SUFFIX
unset LOCALVERSION
OUTPUT=${OUTPUT:-${TMP}/output-ia32-${VERSION}}
else
echo "Error: recipe ${recipe} not implemented"
exit 1
fi
echo
echo "*************************************************"
echo "* Building kernels for recipe ${recipe}..."
echo "*************************************************"
echo
# Build kernel-source package:
KERNEL_SOURCE_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_CONFIG="config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild)
KERNEL_CONFIG="config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild
mkdir -p $OUTPUT
mv ${TMP}/${KERNEL_SOURCE_PACKAGE_NAME} $OUTPUT || exit 1
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
installpkg ${OUTPUT}/${KERNEL_SOURCE_PACKAGE_NAME} || exit 1
fi
# Build kernel-huge package:
# We will build in the just-built kernel tree. First, let's put back the
# symlinks:
( cd $TMP/package-kernel-source
sh install/doinst.sh
)
KERNEL_HUGE_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_NAME=huge KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-huge${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/huge$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild)
KERNEL_NAME=huge KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-huge${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/huge$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild
if [ -r ${TMP}/${KERNEL_HUGE_PACKAGE_NAME} ]; then
mv ${TMP}/${KERNEL_HUGE_PACKAGE_NAME} $OUTPUT
else
echo "kernel-source build failed."
exit 1
fi
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
installpkg ${OUTPUT}/${KERNEL_HUGE_PACKAGE_NAME} || exit 1
fi
# Build kernel-generic package:
KERNEL_GENERIC_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_NAME=generic KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/generic$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild)
KERNEL_NAME=generic KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/generic$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild
if [ -r ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} ]; then
mv ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} $OUTPUT
else
echo "kernel-generic build failed."
exit 1
fi
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
installpkg ${OUTPUT}/${KERNEL_GENERIC_PACKAGE_NAME} || exit 1
fi
# Build kernel-modules (for the just built generic kernel, but most of them
# will also work with the huge kernel):
KERNEL_MODULES_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=$TMP/package-kernel-source/usr/src/linux/.config BUILD=$BUILD ./kernel-modules.SlackBuild)
KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=$TMP/package-kernel-source/usr/src/linux/.config BUILD=$BUILD ./kernel-modules.SlackBuild
if [ -r ${TMP}/${KERNEL_MODULES_PACKAGE_NAME} ]; then
mv ${TMP}/${KERNEL_MODULES_PACKAGE_NAME} $OUTPUT
else
echo "kernel-modules build failed."
exit 1
fi
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
installpkg ${OUTPUT}/${KERNEL_MODULES_PACKAGE_NAME} || exit 1
fi
# Build kernel-headers:
KERNEL_HEADERS_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux BUILD=$BUILD ./kernel-headers.SlackBuild)
KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux BUILD=$BUILD ./kernel-headers.SlackBuild
if [ -r ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} ]; then
mv ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} $OUTPUT
else
echo "kernel-headers build failed."
exit 1
fi
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
upgradepkg --reinstall --install-new ${OUTPUT}/${KERNEL_HEADERS_PACKAGE_NAME} || exit 1
fi
# Update initrd:
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
INITRD_VERSION="$(grep "Kernel Configuration" $TMP/package-kernel-source/usr/src/linux/.config | cut -f 3 -d ' ')"
INITRD_LOCALVERSION="$(cat $TMP/package-kernel-source/usr/src/linux/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
if [ -r /etc/mkinitrd.conf ]; then
mkinitrd -F /etc/mkinitrd.conf -k ${INITRD_VERSION}${INITRD_LOCALVERSION}
else # try this?
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k ${INITRD_VERSION}${INITRD_LOCALVERSION} | sed "s/-c -k/-k/g" | bash
fi
fi
echo
echo "${recipe} kernel packages done!"
echo
done

View file

@ -1,158 +0,0 @@
#!/bin/sh
# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# To use this script, point it to a Linux kernel source tree and a .config
# file by setting the appropriate environment variables:
#
# KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-generic.SlackBuild
#
# It can also build the huge (or any other) kernel:
#
# KERNEL_NAME=huge KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-huge-4.14.23 ./kernel-generic.SlackBuild
#
# By default, it will call the package "kernel-generic" and use the source and
# .config already in /usr/src/linux (if possible).
cd $(dirname $0) ; CWD=$(pwd)
KERNEL_NAME=${KERNEL_NAME:-generic}
KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux}
KERNEL_CONFIG=${KERNEL_CONFIG:-/usr/src/linux/.config}
CONFIG_SUFFIX=${CONFIG_SUFFIX:-}
BUILD=${BUILD:-1}
if [ ! -r "${KERNEL_CONFIG}" ]; then
echo "Error: the KERNEL_CONFIG environment variable needs to be set to the"
echo ".config file to be used to build this kernel. Example:"
echo "KERNEL_NAME=generic KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-generic.SlackBuild"
exit 1
fi
if [ ! -d "${KERNEL_SOURCE}" ]; then
echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist."
exit 1
fi
# Get the kernel version from the kernel Makefile:
VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
# The default kernel arch is x86 for all 32-bit and 64-bit x86:
if [ -z "${KERNEL_ARCH}" ]; then
case "$(uname -m)" in
i?86) KERNEL_ARCH=x86 ;;
x86_64) KERNEL_ARCH=x86 ;;
# Use uname -m for all other archs:
*) KERNEL_ARCH=$(uname -m) ;;
esac
fi
# If this variable is set to an output directory, we will also put copies of
# System.map.gz, bzImage, and config in there:
KERNEL_OUTPUT_DIRECTORY=${KERNEL_OUTPUT_DIRECTORY:-}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
# We will need to copy the config and run make oldconfig and make
# prepare in order to generate kernel/bounds.s, where we can find
# the true $PACKAGE_ARCH.
if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then
cp -a ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config
fi
cd ${KERNEL_SOURCE}
make oldconfig 1> /dev/null 2> /dev/null
make prepare 1> /dev/null 2> /dev/null
PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _)
echo "kernel-${KERNEL_NAME}${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz"
exit 0
fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-kernel-${KERNEL_NAME}
rm -rf $PKG
mkdir -p $TMP $PKG
# Set the variable $KERNEL_CLEAN to anything to run "make clean" before the
# build. Default is to start compiling in the tree as we found it.
if [ ! -z "${KERNEL_CLEAN}" ]; then
( cd ${KERNEL_SOURCE}
echo "Cleaning kernel source (make clean)..."
make clean
# Make sure header files aren't missing...
make prepare
# Don't package the kernel in the sources:
find . -name "*Image" -exec rm "{}" \+
# No need for these:
rm -f .config.old .version
find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
)
fi
# Copy the .config into the kernel source directory (unless it's there already)
if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then
echo "Copying the .config file to the kernel source tree:"
cp -a --verbose ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config
fi
( cd ${KERNEL_SOURCE}
echo "Running make oldconfig..."
make oldconfig
echo "Building kernel..."
make $NUMJOBS bzImage || make bzImage || exit 1
# Output files to a directory, if requested:
if [ ! -z "${KERNEL_OUTPUT_DIRECTORY}" ]; then
echo "Copying files to ${KERNEL_OUTPUT_DIRECTORY}..."
mkdir -p ${KERNEL_OUTPUT_DIRECTORY}
rm -f ${KERNEL_OUTPUT_DIRECTORY}/*
cp -a --verbose System.map ${KERNEL_OUTPUT_DIRECTORY}
cp -a --verbose .config ${KERNEL_OUTPUT_DIRECTORY}/config
cp -a --verbose arch/${KERNEL_ARCH}/boot/bzImage ${KERNEL_OUTPUT_DIRECTORY}
gzip -9 ${KERNEL_OUTPUT_DIRECTORY}/System.map
fi
echo "Preparing the package in $PKG..."
mkdir -p $PKG/boot
cp -a --verbose System.map $PKG/boot/System.map-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION}
cp -a --verbose .config $PKG/boot/config-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}
cp -a --verbose arch/${KERNEL_ARCH}/boot/bzImage $PKG/boot/vmlinuz-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION}
# Make symlinks:
ln -sf System.map-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} $PKG/boot/System.map
ln -sf config-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} $PKG/boot/config
ln -sf vmlinuz-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} $PKG/boot/vmlinuz
ln -sf vmlinuz-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} $PKG/boot/vmlinuz-${KERNEL_NAME}${LOCALVERSION}
) || exit 1
# Fetch the kernel architecture from the source tree:
cd ${KERNEL_SOURCE}
PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _)
mkdir $PKG/install
if [ -r $CWD/slack-desc/slack-desc.kernel-${KERNEL_NAME}${LOCALVERSION}.${PACKAGE_ARCH} ]; then
cat $CWD/slack-desc/slack-desc.kernel-${KERNEL_NAME}${LOCALVERSION}.${PACKAGE_ARCH} > $PKG/install/slack-desc
else
cat $CWD/slack-desc/slack-desc.kernel-template | sed "s/%PACKAGE_NAME%/kernel-${KERNEL_NAME}${LOCALVERSION}/g" > $PKG/install/slack-desc
fi
# Make the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/kernel-${KERNEL_NAME}${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz

View file

@ -1,90 +0,0 @@
#!/bin/sh
# Copyright 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# To use this script, point it to a Linux kernel source tree, and it will make
# the kernel-headers package using the .config to get all needed package
# version information:
#
# KERNEL_SOURCE=/usr/src/linux ./kernel-headers.SlackBuild
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=${PKGNAM:-kernel-headers}
BUILD=${BUILD:-1}
KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux}
if [ -z "${HEADERS_ARCH}" ]; then
case "$(uname -m)" in
i?86) HEADERS_ARCH=x86 ;;
x86_64) HEADERS_ARCH=x86 ;;
# Use uname -m for all other archs:
*) HEADERS_ARCH=$(uname -m) ;;
esac
fi
if [ ! -d "${KERNEL_SOURCE}" ]; then
echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist."
exit 1
elif [ ! -r ${KERNEL_SOURCE}/.config ]; then
echo "Error: a .config was not found in ${KERNEL_SOURCE}."
exit 1
fi
# Get the kernel version from the kernel Makefile:
VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "kernel-headers-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${HEADERS_ARCH}-$BUILD.txz"
exit 0
fi
rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $PKG/usr
# Generate the kernel headers and clean them up:
( cd ${KERNEL_SOURCE}
echo "Generating headers from the Linux kernel source tree in ${KERNEL_SOURCE}:"
make headers_install ARCH=${HEADERS_ARCH} INSTALL_HDR_PATH=$PKG/usr
cd $PKG/usr/include
# You won't want these files. The ones in libdrm work better.
rm -rf drm
# This next part seems pretty much cosmetic, but since we've been doing this
# for a long time (and others also do), we'll stick with it:
mv asm asm-${HEADERS_ARCH}
ln -sf asm-${HEADERS_ARCH} asm
# Remove unneeded dotfiles:
find . -name ".??*" -exec rm -f {} \+
)
mkdir -p $PKG/install
cat $CWD/slack-desc/slack-desc.kernel-headers > $PKG/install/slack-desc
# Make the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/kernel-headers-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${HEADERS_ARCH}-$BUILD.txz

View file

@ -1,146 +0,0 @@
#!/bin/sh
# Copyright 2018, 2020, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# To use this script, point it to a Linux kernel source tree and a .config
# file by setting the appropriate environment variables:
#
# KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-modules.SlackBuild
#
# By default, it will use the source and .config already in /usr/src/linux (if possible).
# KERNEL_NAME is optional, and we don't use it. Define it to "-name" if
# you'd like an extra string after "kernel" in the package name
# (i.e. "kernel-name-modules").
cd $(dirname $0) ; CWD=$(pwd)
KERNEL_NAME=${KERNEL_NAME:-}
KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux}
KERNEL_CONFIG=${KERNEL_CONFIG:-/usr/src/linux/.config}
BUILD=${BUILD:-1}
# The CONFIG_DEBUG_INFO_BTF_MODULES option adds a huge amount of debugging
# data to the modules which we don't actually need. We'll strip debugging
# information from kernel modules by default. If you are building a debug
# kernel and wish to retain this data, export the variable below set to "NO".
STRIP_DEBUG=${STRIP_DEBUG:-YES}
if [ ! -r "${KERNEL_CONFIG}" ]; then
echo "Error: the KERNEL_CONFIG environment variable needs to be set to the"
echo ".config file to be used to build these modules. Example:"
echo "KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-modules.SlackBuild"
exit 1
fi
if [ ! -d "${KERNEL_SOURCE}" ]; then
echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist."
exit 1
fi
# Get the kernel version from the kernel Makefile:
VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
# We will need to copy the config and run make oldconfig and make
# prepare in order to generate kernel/bounds.s, where we can find
# the true $PACKAGE_ARCH.
if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then
cp -a ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config
fi
cd ${KERNEL_SOURCE}
make oldconfig 1> /dev/null 2> /dev/null
make prepare 1> /dev/null 2> /dev/null
PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _)
echo "kernel${KERNEL_NAME}-modules${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz"
exit 0
fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-kernel${KERNEL_NAME}-modules
rm -rf $PKG
mkdir -p $TMP $PKG
# Set the variable $KERNEL_CLEAN to anything to run "make clean" before the
# build. Default is to start compiling in the tree as we found it.
if [ ! -z "${KERNEL_CLEAN}" ]; then
( cd ${KERNEL_SOURCE}
echo "Cleaning kernel source (make clean)..."
make clean
# Make sure header files aren't missing...
make prepare
# Don't package the kernel in the sources:
find . -name "*Image" -exec rm "{}" \+
# No need for these:
rm -f .config.old .version
find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
)
fi
# Copy the .config into the kernel source directory (unless it's there already)
if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then
echo "Copying the .config file to the kernel source tree:"
cp -a --verbose ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config
fi
( cd ${KERNEL_SOURCE}
echo "Running make oldconfig..."
make oldconfig
echo "Running a preliminary make (needed to create modules.builtin.modinfo)..."
make $NUMJOBS || exit 1
echo "Building kernel modules..."
make $NUMJOBS modules || exit 1
echo "Installing kernel modules to $PKG..."
make INSTALL_MOD_PATH=$PKG modules_install || exit 1
if [ "$STRIP_DEBUG" = "YES" ]; then
echo "Stripping debug info from kernel modules..."
find $PKG -name "*.ko" -exec strip --strip-debug "{}" \;
fi
# Fix build and source symlinks if they are pointing into $TMP:
( cd $PKG/lib/modules/${VERSION}${LOCALVERSION}
for symlink in build source ; do
target=$(readlink $symlink)
if echo $target | grep -q "^$TMP/package-kernel-source/" ; then
rm -f $symlink
ln -sf $(echo $target | sed "s|$TMP/package-kernel-source/|/|g") $symlink
fi
done
)
depmod -b $PKG -a ${VERSION}${LOCALVERSION}
) || exit 1
mkdir $PKG/install
cat $CWD/slack-desc/slack-desc.kernel-modules-template | sed "s/%PACKAGE_NAME%/kernel${KERNEL_NAME}-modules${LOCALVERSION}/g" > $PKG/install/slack-desc
# Fetch the kernel architecture from the source tree:
cd ${KERNEL_SOURCE}
PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _)
# Make the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/kernel${KERNEL_NAME}-modules${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz

View file

@ -1,236 +0,0 @@
#!/bin/sh
# Copyright 2018, 2020, 2021, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=${PKGNAM:-kernel-source}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
# If CONFIG_PREEMPT=y and CONFIG_PREEMPT_DYNAMIC=y, then set a default preempt
# mode (none, voluntary, or full):
CONFIG_PREEMPT_DEFAULT_MODE=${CONFIG_PREEMPT_DEFAULT_MODE:-voluntary}
# If a $VERSION is not passed to this script, use the newest linux-*.tar.xz
# found in this directory:
VERSION=${VERSION:-$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
if ! /bin/ls linux-*.tar.?z 1> /dev/null 2> /dev/null ; then
echo "Error: kernel source not found. (/bin/ls linux-*.tar.?z)"
fi
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
# Use uname -m for all archs:
*) ARCH=$(uname -m) ;;
esac
fi
# This function will revert or apply patches that are present here.
# Directories that are currently supported:
# patches-revert-${VERSION} (revert patches from this directory if kernel version matches)
# patches-revert-${ARCH} (revert patches from this directory if $ARCH matches)
# patches-${VERSION} (apply patches from this directory if kernel version matches)
# patches-${ARCH} (apply patches from this directory if $ARCH matches)
# All the applied/reverted patches will be copied to the root of the kernel source tree.
apply_patches() {
# First do patches-revert:
if [ -d $CWD/patches-revert-${VERSION} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Reverting kernel patches in $CWD/patches-revert-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-revert-${VERSION}/*.gz | patch -p1 -R --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-revert-${VERSION}/*.gz | patch -p1 -R --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-revert-${VERSION}/*.gz .
fi
if [ -d $CWD/patches-revert-${ARCH} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Reverting kernel patches in $CWD/patches-revert-${ARCH} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-revert-${ARCH}/*.gz | patch -p1 -R --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-revert-${ARCH}/*.gz | patch -p1 -R --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-revert-${ARCH}/*.gz .
fi
# Then apply patches:
if [ -d $CWD/patches-${VERSION} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Applying kernel patches in $CWD/patches-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-${VERSION}/*.gz .
fi
if [ -d $CWD/patches-${ARCH} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Applying kernel patches in $CWD/patches-${ARCH} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${ARCH}/*.gz | patch -p1 --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-${ARCH}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-${ARCH}/*.gz .
fi
}
# Kernel extraversion, such as "-smp" on 32-bit. There's usually no need to set
# this unless you're using something unusual. We use it to find which .config
# file to use, but we'll then use whatever CONFIG_LOCALVERSION is set to
# inside the .config.
LOCALVERSION=${LOCALVERSION:-""}
# If KERNEL_CONFIG (name of kernel .config file in ./kernel-configs to use)
# has not been passed to this script, then we will select one. We will prefer
# to use a generic, SMP-supporting .config with a version number exactly
# matching the kernel sources. But if there's no exact version match, we will
# start with the newest .config we can find that's of the appropriate type.
if [ -z "${KERNEL_CONFIG}" ]; then # figure out the best matching .config
if [ "$ARCH" = "x86_64" ]; then
CONFIG_SUFFIX=".x64"
fi
if [ -z "${LOCALVERSION}" ]; then
if echo $ARCH | grep -q -E "i?86$" ; then
# Default to SMP extraversion on 32-bit:
LOCALVERSION="-smp"
fi
fi
if [ -r "$CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}$LOCALVERSION${CONFIG_SUFFIX}" ]; then
# Exact match!
KERNEL_CONFIG="config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
else # no exact match, so find newest with the same name:
FIND_MATCH="$(/bin/ls -t $CWD/kernel-configs/config-generic${LOCALVERSION}-*${LOCALVERSION}${CONFIG_SUFFIX} 2> /dev/null | head -n 1)"
if [ -r "${FIND_MATCH}" ]; then
KERNEL_CONFIG="$(basename ${FIND_MATCH})"
unset FIND_MATCH
else
echo "Error: no matching .config file could be found for this kernel. Tried:"
echo " $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} (not found)"
exit 1
fi
fi
else # We were given a name to use:
if [ ! -r "$CWD/kernel-configs/${KERNEL_CONFIG}" ]; then
echo "Error: specified kernel .config $CWD/kernel-configs/${KERNEL_CONFIG} was not found."
exit 1
fi
fi
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat $CWD/kernel-configs/${KERNEL_CONFIG} | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
# We will have to extract and patch the kernel sources to find out the kernel version:
TEMPDIR=$(mktemp -d)
cd $TEMPDIR
tar xf $CWD/linux-${VERSION}.tar.?z || exit 1
cd linux*
apply_patches
PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev)
cd $CWD
rm -rf $TEMPDIR
echo "kernel-source-$(echo ${PACKAGE_VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-noarch-$BUILD.txz"
exit 0
fi
echo "Using kernel config: $CWD/kernel-configs/${KERNEL_CONFIG}"
rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $PKG/usr/src
echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
( cd $PKG/usr/src
tar xf $CWD/linux-${VERSION}.tar.?z || exit 1
echo "Making /usr/src/linux symlink..."
ln -sf linux-* linux
cd linux-*
apply_patches VERBOSE
echo "Copying $CWD/kernel-configs/${KERNEL_CONFIG} to .config..."
cp -a $CWD/kernel-configs/${KERNEL_CONFIG} .config
echo "Fixing permissions/ownership..."
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
) || exit 1
# Kernel is now ready to configure. We will also build this kernel so that
# the installed kernel source package is fully configured, and building an
# out-of-tree module (such as the NVIDIA driver) won't require the user
# to build the kernel sources first.
( cd $PKG/usr/src/linux-${VERSION}
echo "Making oldconfig..."
make oldconfig
if [ ! -r $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} ]; then
echo "Saving new .config as: $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
cp -a .config $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}
fi
# If CONFIG_PREEMPT=y and CONFIG_PREEMPT_DYNAMIC=y, then set a default preempt
# mode (none, voluntary, or full):
if grep -wq CONFIG_PREEMPT=y .config ; then
if grep -wq CONFIG_PREEMPT_DYNAMIC=y .config ; then
# Sanity check:
if ! echo $CONFIG_PREEMPT_DEFAULT_MODE | grep -wq -e none -e voluntary -e full ; then
echo "ERROR: Invalid mode for CONFIG_PREEMPT_DEFAULT_MODE: $CONFIG_PREEMPT_DEFAULT_MODE"
exit 1
fi
echo "Setting default PREEMPT mode: $CONFIG_PREEMPT_DEFAULT_MODE"
sed -i "s/^int preempt_dynamic_mode = preempt_dynamic_full;$/int preempt_dynamic_mode = preempt_dynamic_$CONFIG_PREEMPT_DEFAULT_MODE;/g" kernel/sched/core.c
fi
fi
echo "Building kernel and modules (needed before clean for building NVIDIA to work)..."
make ${NUMJOBS} || exit 1
make ${NUMJOBS} modules || exit 1
echo "Cleaning up..."
make clean
# Make sure header files aren't missing...
make prepare
# Don't package the kernel in the sources:
find . -name "*Image" -exec rm "{}" \+
# No need for these:
rm -f .config.old .version
find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
# Still some dotfiles laying around... probably fine though
) || exit 1
cd $PKG/usr/src/linux-${VERSION}
# Use the version number found in the Makefile in the package name. This is not
# always the same as the version in the source tarball's filename. For example,
# linux-4.14.tar.xz will have 4.14.0 as the version in the Makefile:
PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev)
mkdir $PKG/install
cat $CWD/slack-desc/slack-desc.kernel-source > $PKG/install/slack-desc
# Make the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/kernel-source-$(echo ${PACKAGE_VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-noarch-$BUILD.txz

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-generic-smp: kernel-generic-smp (a general purpose SMP Linux kernel)
kernel-generic-smp:
kernel-generic-smp: This is a Linux kernel with built-in support for most disk
kernel-generic-smp: controllers. To use filesystems, or to load support for a SCSI or
kernel-generic-smp: other controller, then you'll need to load one or more kernel
kernel-generic-smp: modules using an initial ramdisk, or initrd. For more information
kernel-generic-smp: about creating an initrd, see the README.initrd file in the /boot
kernel-generic-smp: directory.
kernel-generic-smp:
kernel-generic-smp: SMP is "Symmetric multiprocessing", or multiple CPU/core support.
kernel-generic-smp:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-generic: kernel-generic (a general purpose single processor Linux kernel)
kernel-generic:
kernel-generic: A Linux kernel with built-in support for most disk controllers.
kernel-generic: For filesystem support, or if you need to load support for a SCSI or
kernel-generic: other controller, then you'll need to load one or more kernel modules
kernel-generic: using an initial ramdisk, or initrd. For more information about
kernel-generic: creating an initrd, see the README.initrd file in the /boot directory.
kernel-generic:
kernel-generic:
kernel-generic:
kernel-generic:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-generic: kernel-generic (a general purpose SMP Linux kernel)
kernel-generic:
kernel-generic: This is a Linux kernel with built-in support for most disk
kernel-generic: controllers. To use filesystems, or to load support for a SCSI or
kernel-generic: other controller, then you'll need to load one or more kernel
kernel-generic: modules using an initial ramdisk, or initrd. For more information
kernel-generic: about creating an initrd, see the README.initrd file in the /boot
kernel-generic: directory.
kernel-generic:
kernel-generic: SMP is "Symmetric multiprocessing", or multiple CPU/core support.
kernel-generic:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-headers: kernel-headers (Linux kernel include files)
kernel-headers:
kernel-headers: These are the include files from the Linux kernel.
kernel-headers:
kernel-headers: You'll need these to compile most system software for Linux.
kernel-headers:
kernel-headers:
kernel-headers:
kernel-headers:
kernel-headers:
kernel-headers:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-huge-smp: kernel-huge-smp (a fully-loaded SMP Linux kernel)
kernel-huge-smp:
kernel-huge-smp: This is a Linux kernel with built-in support for most disk
kernel-huge-smp: controllers. If you're looking for a more stripped down kernel
kernel-huge-smp: (this one contains everything but the kitchen sink ;-), then install
kernel-huge-smp: the kernel-generic-smp in the /boot directory along with an initrd to
kernel-huge-smp: load support for your boot device and filesystem. For instructions
kernel-huge-smp: on the initrd, see README.initrd in the /boot directory.
kernel-huge-smp:
kernel-huge-smp: SMP is "Symmetric multiprocessing", or multiple CPU/core support.
kernel-huge-smp:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-huge: kernel-huge (a fully-loaded single processor Linux kernel)
kernel-huge:
kernel-huge: This is a Linux kernel with built-in support for most disk controllers
kernel-huge: and filesystems. If you're looking for a more stripped down kernel
kernel-huge: (this one contains everything but the kitchen sink ;-), then install
kernel-huge: the kernel-generic from the /boot directory along with an initrd to
kernel-huge: load support for your boot device and filesystem. For instructions
kernel-huge: on the initrd, see README.initrd in the /boot directory.
kernel-huge:
kernel-huge:
kernel-huge:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-huge: kernel-huge (a fully-loaded SMP Linux kernel)
kernel-huge:
kernel-huge: This is a Linux kernel with built-in support for most disk
kernel-huge: controllers. If you're looking for a more stripped down kernel
kernel-huge: (this one contains everything but the kitchen sink ;-), then install
kernel-huge: the kernel-generic in the /boot directory along with an initrd to
kernel-huge: load support for your boot device and filesystem. For instructions
kernel-huge: on the initrd, see README.initrd in the /boot directory.
kernel-huge:
kernel-huge: SMP is "Symmetric multiprocessing", or multiple CPU/core support.
kernel-huge:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
%PACKAGE_NAME%: %PACKAGE_NAME% (Linux kernel modules)
%PACKAGE_NAME%:
%PACKAGE_NAME%: Kernel modules are pieces of code that can be loaded and unloaded into
%PACKAGE_NAME%: the kernel upon demand. They extend the functionality of the kernel
%PACKAGE_NAME%: without the need to reboot the system. These modules provide support
%PACKAGE_NAME%: for hardware such as USB devices, RAID controllers, network
%PACKAGE_NAME%: interfaces, and display devices, or add other additional capabilities
%PACKAGE_NAME%: to the kernel.
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-source: kernel-source (Linux kernel source)
kernel-source:
kernel-source: Source code for Linus Torvalds' Linux kernel.
kernel-source:
kernel-source: This is the complete and unmodified source code for the Linux kernel.
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kernel-source: kernel-source (Linux kernel source)
kernel-source:
kernel-source: Source code for Linus Torvalds' Linux kernel.
kernel-source:
kernel-source: This is the complete and unmodified source code for the Linux kernel.
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
%PACKAGE_NAME%: %PACKAGE_NAME% (a Linux kernel)
%PACKAGE_NAME%:
%PACKAGE_NAME%: This is a Linux kernel with built-in support for most disk
%PACKAGE_NAME%: controllers. To use filesystems, or to load support for a SCSI or
%PACKAGE_NAME%: other controller, then you'll need to load one or more kernel
%PACKAGE_NAME%: modules using an initial ramdisk, or initrd. For more information
%PACKAGE_NAME%: about creating an initrd, see the README.initrd file in the /boot
%PACKAGE_NAME%: directory.
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%: