mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
Sat Feb 20 21:04:15 UTC 2021
a/sysvinit-scripts-2.1-noarch-40.txz: Rebuilt. Drop old /sbin/rescan-scsi-bus as the most recent version is already present in the sg3_utils package as /usr/bin/rescan-scsi-bus.sh. d/meson-0.57.1-x86_64-1.txz: Upgraded. l/mozilla-nss-3.62-x86_64-1.txz: Upgraded. l/sg3_utils-1.45-x86_64-4.txz: Rebuilt. Make a symlink /sbin/rescan-scsi-bus -> /usr/bin/rescan-scsi-bus.sh in case anyone depends on the old path / name from the sysvinit-scripts package. n/ipset-7.11-x86_64-1.txz: Upgraded. n/krb5-1.19.1-x86_64-1.txz: Upgraded. n/s-nail-14.9.21-x86_64-4.txz: Rebuilt. If there's no mail, exit. Thanks to ardya. testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txz: Added. testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txz: Added. testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txz: Added. testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txz: Added. testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txz: Added.
This commit is contained in:
parent
782ab7566e
commit
7e53cd0c36
44 changed files with 61877 additions and 1176 deletions
|
@ -11,9 +11,36 @@
|
|||
<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>Fri, 19 Feb 2021 20:53:50 GMT</pubDate>
|
||||
<lastBuildDate>Sat, 20 Feb 2021 07:59:42 GMT</lastBuildDate>
|
||||
<pubDate>Sat, 20 Feb 2021 21:04:15 GMT</pubDate>
|
||||
<lastBuildDate>Sun, 21 Feb 2021 07:59:42 GMT</lastBuildDate>
|
||||
<generator>maintain_current_git.sh v 1.12</generator>
|
||||
<item>
|
||||
<title>Sat, 20 Feb 2021 21:04:15 GMT</title>
|
||||
<pubDate>Sat, 20 Feb 2021 21:04:15 GMT</pubDate>
|
||||
<link>https://git.slackware.nl/current/tag/?h=20210220210415</link>
|
||||
<guid isPermaLink="false">20210220210415</guid>
|
||||
<description>
|
||||
<![CDATA[<pre>
|
||||
a/sysvinit-scripts-2.1-noarch-40.txz: Rebuilt.
|
||||
Drop old /sbin/rescan-scsi-bus as the most recent version is already present
|
||||
in the sg3_utils package as /usr/bin/rescan-scsi-bus.sh.
|
||||
d/meson-0.57.1-x86_64-1.txz: Upgraded.
|
||||
l/mozilla-nss-3.62-x86_64-1.txz: Upgraded.
|
||||
l/sg3_utils-1.45-x86_64-4.txz: Rebuilt.
|
||||
Make a symlink /sbin/rescan-scsi-bus -> /usr/bin/rescan-scsi-bus.sh in case
|
||||
anyone depends on the old path / name from the sysvinit-scripts package.
|
||||
n/ipset-7.11-x86_64-1.txz: Upgraded.
|
||||
n/krb5-1.19.1-x86_64-1.txz: Upgraded.
|
||||
n/s-nail-14.9.21-x86_64-4.txz: Rebuilt.
|
||||
If there's no mail, exit. Thanks to ardya.
|
||||
testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txz: Added.
|
||||
</pre>]]>
|
||||
</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Fri, 19 Feb 2021 20:53:50 GMT</title>
|
||||
<pubDate>Fri, 19 Feb 2021 20:53:50 GMT</pubDate>
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
Sat Feb 20 21:04:15 UTC 2021
|
||||
a/sysvinit-scripts-2.1-noarch-40.txz: Rebuilt.
|
||||
Drop old /sbin/rescan-scsi-bus as the most recent version is already present
|
||||
in the sg3_utils package as /usr/bin/rescan-scsi-bus.sh.
|
||||
d/meson-0.57.1-x86_64-1.txz: Upgraded.
|
||||
l/mozilla-nss-3.62-x86_64-1.txz: Upgraded.
|
||||
l/sg3_utils-1.45-x86_64-4.txz: Rebuilt.
|
||||
Make a symlink /sbin/rescan-scsi-bus -> /usr/bin/rescan-scsi-bus.sh in case
|
||||
anyone depends on the old path / name from the sysvinit-scripts package.
|
||||
n/ipset-7.11-x86_64-1.txz: Upgraded.
|
||||
n/krb5-1.19.1-x86_64-1.txz: Upgraded.
|
||||
n/s-nail-14.9.21-x86_64-4.txz: Rebuilt.
|
||||
If there's no mail, exit. Thanks to ardya.
|
||||
testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txz: Added.
|
||||
testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txz: Added.
|
||||
+--------------------------+
|
||||
Fri Feb 19 20:53:50 UTC 2021
|
||||
d/autoconf-archive-2021.02.19-noarch-1.txz: Upgraded.
|
||||
d/python3-3.9.2-x86_64-1.txz: Upgraded.
|
||||
|
|
201
FILELIST.TXT
201
FILELIST.TXT
|
@ -1,20 +1,20 @@
|
|||
Fri Feb 19 20:54:27 UTC 2021
|
||||
Sat Feb 20 21:08:08 UTC 2021
|
||||
|
||||
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 2021-02-19 20:53 .
|
||||
drwxr-xr-x 12 root root 4096 2021-02-20 21:04 .
|
||||
-rw-r--r-- 1 root root 10064 2016-06-30 18:39 ./ANNOUNCE.14_2
|
||||
-rw-r--r-- 1 root root 15004 2021-02-09 12:00 ./CHANGES_AND_HINTS.TXT
|
||||
-rw-r--r-- 1 root root 1064886 2021-02-19 20:38 ./CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-19 20:38 ./CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 1064886 2021-02-19 20:54 ./CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-19 20:54 ./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 1374918 2021-02-19 20:53 ./ChangeLog.txt
|
||||
-rw-r--r-- 1 root root 1375956 2021-02-20 21:04 ./ChangeLog.txt
|
||||
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
|
||||
drwxr-xr-x 2 root root 4096 2021-02-18 19:25 ./EFI/BOOT
|
||||
-rw-r--r-- 1 root root 1417216 2019-07-05 18:54 ./EFI/BOOT/bootx64.efi
|
||||
|
@ -25,9 +25,9 @@ drwxr-xr-x 2 root root 4096 2021-02-18 19:25 ./EFI/BOOT
|
|||
-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 1387996 2021-02-19 20:38 ./FILELIST.TXT
|
||||
-rw-r--r-- 1 root root 1387996 2021-02-19 20:54 ./FILELIST.TXT
|
||||
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
|
||||
-rw-r--r-- 1 root root 842305 2021-02-19 20:37 ./PACKAGES.TXT
|
||||
-rw-r--r-- 1 root root 842307 2021-02-20 21:07 ./PACKAGES.TXT
|
||||
-rw-r--r-- 1 root root 8564 2016-06-28 21:33 ./README.TXT
|
||||
-rw-r--r-- 1 root root 3635 2021-02-18 19:11 ./README.initrd
|
||||
-rw-r--r-- 1 root root 34412 2017-12-01 17:44 ./README_CRYPT.TXT
|
||||
|
@ -714,13 +714,13 @@ drwxr-xr-x 2 root root 4096 2012-09-20 18:06 ./patches
|
|||
-rw-r--r-- 1 root root 575 2012-09-20 18:06 ./patches/FILE_LIST
|
||||
-rw-r--r-- 1 root root 14 2012-09-20 18:06 ./patches/MANIFEST.bz2
|
||||
-rw-r--r-- 1 root root 224 2012-09-20 18:06 ./patches/PACKAGES.TXT
|
||||
drwxr-xr-x 17 root root 4096 2021-02-19 20:37 ./slackware64
|
||||
-rw-r--r-- 1 root root 329666 2021-02-19 20:37 ./slackware64/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-19 20:37 ./slackware64/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 409142 2021-02-19 20:37 ./slackware64/FILE_LIST
|
||||
-rw-r--r-- 1 root root 3991513 2021-02-19 20:37 ./slackware64/MANIFEST.bz2
|
||||
drwxr-xr-x 17 root root 4096 2021-02-20 21:07 ./slackware64
|
||||
-rw-r--r-- 1 root root 329672 2021-02-20 21:07 ./slackware64/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 21:07 ./slackware64/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 409148 2021-02-20 21:06 ./slackware64/FILE_LIST
|
||||
-rw-r--r-- 1 root root 3999912 2021-02-20 21:06 ./slackware64/MANIFEST.bz2
|
||||
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
|
||||
drwxr-xr-x 2 root root 28672 2021-02-18 19:32 ./slackware64/a
|
||||
drwxr-xr-x 2 root root 28672 2021-02-20 21:06 ./slackware64/a
|
||||
-rw-r--r-- 1 root root 327 2021-02-13 10:54 ./slackware64/a/aaa_base-14.2-x86_64-7.txt
|
||||
-rw-r--r-- 1 root root 10804 2021-02-13 10:54 ./slackware64/a/aaa_base-14.2-x86_64-7.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 10:54 ./slackware64/a/aaa_base-14.2-x86_64-7.txz.asc
|
||||
|
@ -1043,9 +1043,9 @@ drwxr-xr-x 2 root root 28672 2021-02-18 19:32 ./slackware64/a
|
|||
-rw-r--r-- 1 root root 694 2021-02-13 11:17 ./slackware64/a/sysvinit-functions-8.53-x86_64-5.txt
|
||||
-rw-r--r-- 1 root root 36392 2021-02-13 11:17 ./slackware64/a/sysvinit-functions-8.53-x86_64-5.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 11:17 ./slackware64/a/sysvinit-functions-8.53-x86_64-5.txz.asc
|
||||
-rw-r--r-- 1 root root 378 2021-02-13 11:17 ./slackware64/a/sysvinit-scripts-2.1-noarch-39.txt
|
||||
-rw-r--r-- 1 root root 22492 2021-02-13 11:17 ./slackware64/a/sysvinit-scripts-2.1-noarch-39.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 11:17 ./slackware64/a/sysvinit-scripts-2.1-noarch-39.txz.asc
|
||||
-rw-r--r-- 1 root root 378 2021-02-20 20:44 ./slackware64/a/sysvinit-scripts-2.1-noarch-40.txt
|
||||
-rw-r--r-- 1 root root 16052 2021-02-20 20:44 ./slackware64/a/sysvinit-scripts-2.1-noarch-40.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 20:44 ./slackware64/a/sysvinit-scripts-2.1-noarch-40.txz.asc
|
||||
-rw-r--r-- 1 root root 1534 2021-02-18 19:11 ./slackware64/a/tagfile
|
||||
-rw-r--r-- 1 root root 395 2021-02-15 20:32 ./slackware64/a/tar-1.34-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 850976 2021-02-15 20:32 ./slackware64/a/tar-1.34-x86_64-1.txz
|
||||
|
@ -1356,7 +1356,7 @@ drwxr-xr-x 2 root root 20480 2021-02-18 19:32 ./slackware64/ap
|
|||
-rw-r--r-- 1 root root 506 2021-02-13 11:48 ./slackware64/ap/zsh-5.8-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 3056824 2021-02-13 11:48 ./slackware64/ap/zsh-5.8-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 11:48 ./slackware64/ap/zsh-5.8-x86_64-3.txz.asc
|
||||
drwxr-xr-x 2 root root 16384 2021-02-19 20:37 ./slackware64/d
|
||||
drwxr-xr-x 2 root root 16384 2021-02-20 21:06 ./slackware64/d
|
||||
-rw-r--r-- 1 root root 360 2021-02-13 09:08 ./slackware64/d/Cython-0.29.21-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 2382948 2021-02-13 09:08 ./slackware64/d/Cython-0.29.21-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 09:08 ./slackware64/d/Cython-0.29.21-x86_64-4.txz.asc
|
||||
|
@ -1484,9 +1484,9 @@ drwxr-xr-x 2 root root 16384 2021-02-19 20:37 ./slackware64/d
|
|||
-rw-r--r-- 1 root root 659 2021-02-13 10:38 ./slackware64/d/mercurial-5.7-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 4454320 2021-02-13 10:38 ./slackware64/d/mercurial-5.7-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 10:38 ./slackware64/d/mercurial-5.7-x86_64-2.txz.asc
|
||||
-rw-r--r-- 1 root root 410 2021-02-15 20:20 ./slackware64/d/meson-0.57.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1012588 2021-02-15 20:20 ./slackware64/d/meson-0.57.0-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-15 20:20 ./slackware64/d/meson-0.57.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 410 2021-02-20 19:24 ./slackware64/d/meson-0.57.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1020744 2021-02-20 19:24 ./slackware64/d/meson-0.57.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 19:24 ./slackware64/d/meson-0.57.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 339 2021-02-13 10:39 ./slackware64/d/nasm-2.15.05-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 411484 2021-02-13 10:39 ./slackware64/d/nasm-2.15.05-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 10:39 ./slackware64/d/nasm-2.15.05-x86_64-3.txz.asc
|
||||
|
@ -2700,7 +2700,7 @@ drwxr-xr-x 2 root root 77824 2021-02-19 20:37 ./slackware64/kde
|
|||
-rw-r--r-- 1 root root 296 2021-02-13 15:05 ./slackware64/kde/zeroconf-ioslave-20.12.2-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 52608 2021-02-13 15:05 ./slackware64/kde/zeroconf-ioslave-20.12.2-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 15:05 ./slackware64/kde/zeroconf-ioslave-20.12.2-x86_64-2.txz.asc
|
||||
drwxr-xr-x 2 root root 73728 2021-02-19 20:37 ./slackware64/l
|
||||
drwxr-xr-x 2 root root 73728 2021-02-20 21:06 ./slackware64/l
|
||||
-rw-r--r-- 1 root root 329 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txt
|
||||
-rw-r--r-- 1 root root 928148 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txz.asc
|
||||
|
@ -3464,9 +3464,9 @@ drwxr-xr-x 2 root root 73728 2021-02-19 20:37 ./slackware64/l
|
|||
-rw-r--r-- 1 root root 548 2021-02-13 07:21 ./slackware64/l/mm-1.4.2-x86_64-5.txt
|
||||
-rw-r--r-- 1 root root 32820 2021-02-13 07:21 ./slackware64/l/mm-1.4.2-x86_64-5.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 07:21 ./slackware64/l/mm-1.4.2-x86_64-5.txz.asc
|
||||
-rw-r--r-- 1 root root 564 2021-02-13 07:21 ./slackware64/l/mozilla-nss-3.61-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 1804668 2021-02-13 07:21 ./slackware64/l/mozilla-nss-3.61-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 07:21 ./slackware64/l/mozilla-nss-3.61-x86_64-2.txz.asc
|
||||
-rw-r--r-- 1 root root 564 2021-02-20 01:54 ./slackware64/l/mozilla-nss-3.62-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1807504 2021-02-20 01:54 ./slackware64/l/mozilla-nss-3.62-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 01:54 ./slackware64/l/mozilla-nss-3.62-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 397 2021-02-13 07:24 ./slackware64/l/mozjs78-78.7.1esr-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 9311232 2021-02-13 07:24 ./slackware64/l/mozjs78-78.7.1esr-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 07:24 ./slackware64/l/mozjs78-78.7.1esr-x86_64-2.txz.asc
|
||||
|
@ -3677,9 +3677,9 @@ drwxr-xr-x 2 root root 73728 2021-02-19 20:37 ./slackware64/l
|
|||
-rw-r--r-- 1 root root 484 2021-02-13 08:58 ./slackware64/l/serf-1.3.9-x86_64-6.txt
|
||||
-rw-r--r-- 1 root root 64384 2021-02-13 08:58 ./slackware64/l/serf-1.3.9-x86_64-6.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 08:58 ./slackware64/l/serf-1.3.9-x86_64-6.txz.asc
|
||||
-rw-r--r-- 1 root root 583 2021-02-13 08:58 ./slackware64/l/sg3_utils-1.45-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 878072 2021-02-13 08:58 ./slackware64/l/sg3_utils-1.45-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 08:58 ./slackware64/l/sg3_utils-1.45-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 583 2021-02-20 20:49 ./slackware64/l/sg3_utils-1.45-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 878036 2021-02-20 20:49 ./slackware64/l/sg3_utils-1.45-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 20:49 ./slackware64/l/sg3_utils-1.45-x86_64-4.txz.asc
|
||||
-rw-r--r-- 1 root root 642 2021-02-13 08:58 ./slackware64/l/shared-desktop-ontologies-0.11.0-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 97196 2021-02-13 08:58 ./slackware64/l/shared-desktop-ontologies-0.11.0-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 08:58 ./slackware64/l/shared-desktop-ontologies-0.11.0-x86_64-4.txz.asc
|
||||
|
@ -3774,7 +3774,7 @@ drwxr-xr-x 2 root root 73728 2021-02-19 20:37 ./slackware64/l
|
|||
-rw-r--r-- 1 root root 463 2021-02-16 19:06 ./slackware64/l/zstd-1.4.8-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 416040 2021-02-16 19:06 ./slackware64/l/zstd-1.4.8-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-16 19:06 ./slackware64/l/zstd-1.4.8-x86_64-4.txz.asc
|
||||
drwxr-xr-x 2 root root 32768 2021-02-19 19:26 ./slackware64/n
|
||||
drwxr-xr-x 2 root root 32768 2021-02-20 21:06 ./slackware64/n
|
||||
-rw-r--r-- 1 root root 357 2021-02-13 11:52 ./slackware64/n/ModemManager-1.14.10-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 1877092 2021-02-13 11:52 ./slackware64/n/ModemManager-1.14.10-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 11:52 ./slackware64/n/ModemManager-1.14.10-x86_64-3.txz.asc
|
||||
|
@ -3894,9 +3894,9 @@ drwxr-xr-x 2 root root 32768 2021-02-19 19:26 ./slackware64/n
|
|||
-rw-r--r-- 1 root root 476 2021-02-13 12:07 ./slackware64/n/iproute2-5.10.0-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 906328 2021-02-13 12:07 ./slackware64/n/iproute2-5.10.0-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:07 ./slackware64/n/iproute2-5.10.0-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 442 2021-02-13 12:07 ./slackware64/n/ipset-7.10-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 86548 2021-02-13 12:07 ./slackware64/n/ipset-7.10-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:07 ./slackware64/n/ipset-7.10-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 442 2021-02-20 19:19 ./slackware64/n/ipset-7.11-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 86768 2021-02-20 19:19 ./slackware64/n/ipset-7.11-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 19:19 ./slackware64/n/ipset-7.11-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 642 2021-02-13 12:07 ./slackware64/n/iptables-1.8.7-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 457252 2021-02-13 12:07 ./slackware64/n/iptables-1.8.7-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:07 ./slackware64/n/iptables-1.8.7-x86_64-3.txz.asc
|
||||
|
@ -3918,9 +3918,9 @@ drwxr-xr-x 2 root root 32768 2021-02-19 19:26 ./slackware64/n
|
|||
-rw-r--r-- 1 root root 422 2021-02-13 12:08 ./slackware64/n/iw-5.9-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 86812 2021-02-13 12:08 ./slackware64/n/iw-5.9-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:08 ./slackware64/n/iw-5.9-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 304 2021-02-13 12:09 ./slackware64/n/krb5-1.19-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 1211420 2021-02-13 12:09 ./slackware64/n/krb5-1.19-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:09 ./slackware64/n/krb5-1.19-x86_64-2.txz.asc
|
||||
-rw-r--r-- 1 root root 304 2021-02-20 19:23 ./slackware64/n/krb5-1.19.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1214620 2021-02-20 19:23 ./slackware64/n/krb5-1.19.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 19:23 ./slackware64/n/krb5-1.19.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 546 2021-02-13 12:09 ./slackware64/n/lftp-4.9.2-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 906912 2021-02-13 12:09 ./slackware64/n/lftp-4.9.2-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:09 ./slackware64/n/lftp-4.9.2-x86_64-3.txz.asc
|
||||
|
@ -4154,9 +4154,9 @@ drwxr-xr-x 2 root root 32768 2021-02-19 19:26 ./slackware64/n
|
|||
-rw-r--r-- 1 root root 525 2021-02-13 12:26 ./slackware64/n/rsync-3.2.3-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 359624 2021-02-13 12:26 ./slackware64/n/rsync-3.2.3-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:26 ./slackware64/n/rsync-3.2.3-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 443 2021-02-16 22:09 ./slackware64/n/s-nail-14.9.21-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 539544 2021-02-16 22:09 ./slackware64/n/s-nail-14.9.21-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-16 22:09 ./slackware64/n/s-nail-14.9.21-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 443 2021-02-20 02:11 ./slackware64/n/s-nail-14.9.21-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 539568 2021-02-20 02:11 ./slackware64/n/s-nail-14.9.21-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 02:11 ./slackware64/n/s-nail-14.9.21-x86_64-4.txz.asc
|
||||
-rw-r--r-- 1 root root 507 2021-02-13 12:30 ./slackware64/n/samba-4.13.4-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 12609680 2021-02-13 12:30 ./slackware64/n/samba-4.13.4-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 12:30 ./slackware64/n/samba-4.13.4-x86_64-3.txz.asc
|
||||
|
@ -5475,11 +5475,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 2021-02-19 20:38 ./source
|
||||
-rw-r--r-- 1 root root 565916 2021-02-19 20:38 ./source/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-19 20:38 ./source/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 787591 2021-02-19 20:37 ./source/FILE_LIST
|
||||
-rw-r--r-- 1 root root 22264425 2021-02-19 20:37 ./source/MANIFEST.bz2
|
||||
drwxr-xr-x 18 root root 4096 2021-02-20 21:07 ./source
|
||||
-rw-r--r-- 1 root root 565735 2021-02-20 21:07 ./source/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 21:07 ./source/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 787376 2021-02-20 21:07 ./source/FILE_LIST
|
||||
-rw-r--r-- 1 root root 22262798 2021-02-20 21:07 ./source/MANIFEST.bz2
|
||||
-rw-r--r-- 1 root root 1314 2006-10-02 04:40 ./source/README.TXT
|
||||
drwxr-xr-x 122 root root 4096 2021-02-10 20:41 ./source/a
|
||||
-rw-r--r-- 1 root root 1470 2021-01-17 20:11 ./source/a/FTBFSlog
|
||||
|
@ -6373,8 +6373,7 @@ drwxr-xr-x 4 root root 4096 2021-02-13 05:31 ./source/a/sysvinit-scripts
|
|||
drwxr-xr-x 2 root root 4096 2018-09-04 22:24 ./source/a/sysvinit-scripts/default
|
||||
-rw-r--r-- 1 root root 160 2018-09-04 22:24 ./source/a/sysvinit-scripts/default/cpufreq
|
||||
-rw-r--r-- 1 root root 367 2018-09-04 22:25 ./source/a/sysvinit-scripts/doinst.sh.gz
|
||||
drwxr-xr-x 2 root root 4096 2020-06-18 20:59 ./source/a/sysvinit-scripts/scripts
|
||||
-rw-r--r-- 1 root root 60 2006-08-01 03:00 ./source/a/sysvinit-scripts/scripts/fetch-rescan-scsi-bus.sh
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 20:44 ./source/a/sysvinit-scripts/scripts
|
||||
-rw-r--r-- 1 root root 2354 2017-11-22 00:21 ./source/a/sysvinit-scripts/scripts/inittab
|
||||
-rw-r--r-- 1 root root 1642 2017-05-23 23:57 ./source/a/sysvinit-scripts/scripts/rc.4
|
||||
-rw-r--r-- 1 root root 9344 2020-12-20 01:52 ./source/a/sysvinit-scripts/scripts/rc.6
|
||||
|
@ -6387,10 +6386,8 @@ drwxr-xr-x 2 root root 4096 2020-06-18 20:59 ./source/a/sysvinit-scripts/s
|
|||
-rw-r--r-- 1 root root 778 2015-12-16 04:10 ./source/a/sysvinit-scripts/scripts/rc.modules
|
||||
-rw-r--r-- 1 root root 689 2015-12-16 01:12 ./source/a/sysvinit-scripts/scripts/rc.modules.local
|
||||
-rw-r--r-- 1 root root 1654 2015-11-23 22:22 ./source/a/sysvinit-scripts/scripts/rc.sysvinit
|
||||
-rw-r--r-- 1 root root 22473 2012-09-07 17:51 ./source/a/sysvinit-scripts/scripts/rescan-scsi-bus.sh
|
||||
-rw-r--r-- 1 root root 645 2012-09-07 17:52 ./source/a/sysvinit-scripts/scripts/rescan-scsi-bus.sh.diff
|
||||
-rw-r--r-- 1 root root 842 2018-02-27 06:13 ./source/a/sysvinit-scripts/slack-desc
|
||||
-rwxr-xr-x 1 root root 2677 2021-02-13 05:31 ./source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild
|
||||
-rwxr-xr-x 1 root root 2373 2021-02-20 20:44 ./source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild
|
||||
-rw-r--r-- 1 root root 668 2015-08-06 22:54 ./source/a/sysvinit/doinst.sh.gz
|
||||
-rw-r--r-- 1 root root 1009 2018-06-21 18:24 ./source/a/sysvinit/slack-desc
|
||||
-rw-r--r-- 1 root root 127028 2020-11-17 02:07 ./source/a/sysvinit/sysvinit-2.98.tar.xz
|
||||
|
@ -7380,8 +7377,8 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/mercurial
|
|||
-rwxr-xr-x 1 root root 4114 2021-02-13 05:31 ./source/d/mercurial/mercurial.SlackBuild
|
||||
-rw-r--r-- 1 root root 38 2017-12-02 19:13 ./source/d/mercurial/mercurial.url
|
||||
-rw-r--r-- 1 root root 1245 2018-02-27 06:13 ./source/d/mercurial/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-15 20:20 ./source/d/meson
|
||||
-rw-r--r-- 1 root root 3188188 2021-02-14 19:28 ./source/d/meson/meson-0.57.0.tar.lz
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 19:24 ./source/d/meson
|
||||
-rw-r--r-- 1 root root 1337529 2021-02-20 13:52 ./source/d/meson/meson-0.57.1.tar.lz
|
||||
-rwxr-xr-x 1 root root 2771 2021-02-15 20:20 ./source/d/meson/meson.SlackBuild
|
||||
-rw-r--r-- 1 root root 36 2018-11-09 03:24 ./source/d/meson/meson.url
|
||||
-rw-r--r-- 1 root root 895 2018-02-27 06:13 ./source/d/meson/slack-desc
|
||||
|
@ -7578,7 +7575,7 @@ drwxr-xr-x 2 root root 4096 2018-02-27 06:13 ./source/f
|
|||
-rw-r--r-- 1 root root 960 2018-02-27 06:13 ./source/f/slack-desc.linux-faqs
|
||||
-rw-r--r-- 1 root root 801 2018-02-27 06:13 ./source/f/slack-desc.linux-howtos
|
||||
drwxr-xr-x 3 root root 4096 2020-08-20 05:22 ./source/installer
|
||||
-rw-r--r-- 1 root root 36240 2021-02-14 19:39 ./source/installer/ChangeLog.txt
|
||||
-rw-r--r-- 1 root root 36378 2021-02-20 20:41 ./source/installer/ChangeLog.txt
|
||||
-rw-r--r-- 1 root root 6849 2018-03-11 00:53 ./source/installer/README
|
||||
-rwxr-xr-x 1 root root 75480 2021-02-14 19:39 ./source/installer/build_installer.sh
|
||||
-rwxr-xr-x 1 root root 2244 2018-03-18 19:14 ./source/installer/installer.SlackBuild
|
||||
|
@ -7609,14 +7606,14 @@ drwxr-xr-x 2 root root 4096 2018-03-11 02:36 ./source/installer/sources/ef
|
|||
-rwxr-xr-x 1 root root 238531 2018-06-12 19:01 ./source/installer/sources/efi.x86_64/EFI/BOOT/BOOTX64.EFI
|
||||
-rwxr-xr-x 1 root root 422 2013-03-27 03:35 ./source/installer/sources/efi.x86_64/EFI/BOOT/elilo.conf
|
||||
-rwxr-xr-x 1 root root 561 2021-01-29 20:43 ./source/installer/sources/efi.x86_64/EFI/BOOT/message.txt
|
||||
drwxr-xr-x 2 root root 4096 2020-12-08 19:22 ./source/installer/sources/initrd
|
||||
-rw-r--r-- 1 root root 140121 2020-12-08 19:22 ./source/installer/sources/initrd/skeleton_initrd.tar.gz
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 20:40 ./source/installer/sources/initrd
|
||||
-rw-r--r-- 1 root root 144292 2021-02-20 20:40 ./source/installer/sources/initrd/skeleton_initrd.tar.gz
|
||||
drwxr-xr-x 2 root root 4096 2021-01-14 19:53 ./source/installer/sources/nano
|
||||
-rw-r--r-- 1 root root 1427592 2021-01-14 10:21 ./source/installer/sources/nano/nano-5.5.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2021-01-14 10:21 ./source/installer/sources/nano/nano-5.5.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 16894 2012-09-03 20:53 ./source/installer/usbimg2disk.sh
|
||||
drwxr-xr-x 4 root root 4096 2021-02-17 17:48 ./source/k
|
||||
-rwxr-xr-x 1 root root 7861 2019-12-27 22:39 ./source/k/build-all-kernels.sh
|
||||
-rwxr-xr-x 1 root root 8307 2021-02-20 05:45 ./source/k/build-all-kernels.sh
|
||||
drwxr-xr-x 2 root root 4096 2021-02-17 17:53 ./source/k/kernel-configs
|
||||
-rw-r--r-- 1 root root 228235 2021-02-17 17:51 ./source/k/kernel-configs/config-generic-5.10.17
|
||||
-rw-r--r-- 1 root root 230264 2021-02-17 17:53 ./source/k/kernel-configs/config-generic-5.10.17.x64
|
||||
|
@ -8891,9 +8888,9 @@ drwxr-xr-x 2 root root 4096 2021-02-02 18:38 ./source/kde/kde/src/applicat
|
|||
-rw-r--r-- 1 root root 898960 2021-02-02 01:00 ./source/kde/kde/src/applications/kcron-20.12.2.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2021-02-02 01:56 ./source/kde/kde/src/applications/kcron-20.12.2.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 366460 2021-02-02 01:00 ./source/kde/kde/src/applications/kde-dev-scripts-20.12.2.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2021-02-02 01:56 ./source/kde/kde/src/applications/kde-dev-scripts-20.12.2.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 65816 2021-02-02 01:00 ./source/kde/kde/src/applications/kde-dev-utils-20.12.2.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2021-02-02 01:56 ./source/kde/kde/src/applications/kde-dev-utils-20.12.2.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 833 2021-02-02 01:56 ./source/kde/kde/src/applications/kde-dev-scripts-20.12.2.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 65816 2021-02-02 01:00 ./source/kde/kde/src/applications/kde-dev-utils-20.12.2.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2021-02-02 01:56 ./source/kde/kde/src/applications/kde-dev-utils-20.12.2.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 68344 2021-02-02 01:00 ./source/kde/kde/src/applications/kdebugsettings-20.12.2.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2021-02-02 01:56 ./source/kde/kde/src/applications/kdebugsettings-20.12.2.tar.xz.sig
|
||||
-rw-r--r-- 1 root root 550016 2021-02-02 01:00 ./source/kde/kde/src/applications/kdeconnect-kde-20.12.2.tar.xz
|
||||
|
@ -10816,14 +10813,14 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/mm
|
|||
-rw-r--r-- 1 root root 248658 2006-08-15 07:05 ./source/l/mm/mm-1.4.2.tar.bz2
|
||||
-rwxr-xr-x 1 root root 4602 2021-02-13 05:32 ./source/l/mm/mm.SlackBuild
|
||||
-rw-r--r-- 1 root root 998 2018-02-27 06:12 ./source/l/mm/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/mozilla-nss
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 01:53 ./source/l/mozilla-nss
|
||||
-rw-r--r-- 1 root root 25755 2008-02-27 08:35 ./source/l/mozilla-nss/MPL-1.1.txt
|
||||
-rw-r--r-- 1 root root 18152 2009-01-01 08:10 ./source/l/mozilla-nss/faq.html
|
||||
-rw-r--r-- 1 root root 17987 2007-06-28 20:04 ./source/l/mozilla-nss/gpl-2.0.txt
|
||||
-rw-r--r-- 1 root root 26434 2009-04-08 16:39 ./source/l/mozilla-nss/lgpl-2.1.txt
|
||||
-rwxr-xr-- 1 root root 6041 2021-02-13 05:32 ./source/l/mozilla-nss/mozilla-nss.SlackBuild
|
||||
-rwxr-xr-- 1 root root 6041 2021-02-20 01:53 ./source/l/mozilla-nss/mozilla-nss.SlackBuild
|
||||
-rw-r--r-- 1 root root 714243 2020-09-17 15:16 ./source/l/mozilla-nss/nspr-4.29.tar.lz
|
||||
-rw-r--r-- 1 root root 48485890 2021-01-22 17:23 ./source/l/mozilla-nss/nss-3.61.tar.lz
|
||||
-rw-r--r-- 1 root root 50045309 2021-02-19 11:05 ./source/l/mozilla-nss/nss-3.62.tar.lz
|
||||
-rw-r--r-- 1 root root 2488 2012-04-29 21:05 ./source/l/mozilla-nss/nss-config.in
|
||||
-rw-r--r-- 1 root root 1023 2018-02-27 06:12 ./source/l/mozilla-nss/slack-desc
|
||||
drwxr-xr-x 4 root root 4096 2021-02-13 05:32 ./source/l/mozjs78
|
||||
|
@ -11279,7 +11276,7 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/serf
|
|||
-rw-r--r-- 1 root root 968 2018-02-27 06:12 ./source/l/serf/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/sg3_utils
|
||||
-rw-r--r-- 1 root root 989864 2020-03-02 19:08 ./source/l/sg3_utils/sg3_utils-1.45.tar.xz
|
||||
-rwxr-xr-x 1 root root 3932 2021-02-13 05:32 ./source/l/sg3_utils/sg3_utils.SlackBuild
|
||||
-rwxr-xr-x 1 root root 4133 2021-02-20 20:48 ./source/l/sg3_utils/sg3_utils.SlackBuild
|
||||
-rw-r--r-- 1 root root 25 2010-11-10 05:18 ./source/l/sg3_utils/sg3_utils.url
|
||||
-rw-r--r-- 1 root root 1040 2018-02-27 06:12 ./source/l/sg3_utils/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/shared-desktop-ontologies
|
||||
|
@ -11743,9 +11740,9 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/iproute2
|
|||
-rwxr-xr-x 1 root root 4945 2021-02-13 05:32 ./source/n/iproute2/iproute2.SlackBuild
|
||||
-rw-r--r-- 1 root root 53 2017-11-12 22:05 ./source/n/iproute2/iproute2.url
|
||||
-rw-r--r-- 1 root root 932 2018-02-27 06:13 ./source/n/iproute2/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/ipset
|
||||
-rw-r--r-- 1 root root 498042 2020-12-20 14:43 ./source/n/ipset/ipset-7.10.tar.lz
|
||||
-rwxr-xr-x 1 root root 3918 2021-02-13 05:32 ./source/n/ipset/ipset.SlackBuild
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 19:19 ./source/n/ipset
|
||||
-rw-r--r-- 1 root root 492760 2021-02-19 20:29 ./source/n/ipset/ipset-7.11.tar.lz
|
||||
-rwxr-xr-x 1 root root 3918 2021-02-20 19:19 ./source/n/ipset/ipset.SlackBuild
|
||||
-rw-r--r-- 1 root root 927 2018-02-27 06:13 ./source/n/ipset/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/iptables
|
||||
-rw-r--r-- 1 root root 619019 2021-01-15 22:12 ./source/n/iptables/iptables-1.8.7.tar.lz
|
||||
|
@ -11783,7 +11780,7 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/iw
|
|||
-rwxr-xr-x 1 root root 3643 2021-02-13 05:32 ./source/n/iw/iw.SlackBuild
|
||||
-rw-r--r-- 1 root root 47 2019-02-02 03:29 ./source/n/iw/iw.url
|
||||
-rw-r--r-- 1 root root 876 2018-02-27 06:13 ./source/n/iw/slack-desc
|
||||
drwxr-xr-x 3 root root 4096 2021-02-13 05:32 ./source/n/krb5
|
||||
drwxr-xr-x 3 root root 4096 2021-02-20 19:22 ./source/n/krb5
|
||||
drwxr-xr-x 2 root root 4096 2020-01-21 18:39 ./source/n/krb5/conf
|
||||
-rw-r--r-- 1 root root 92 2019-12-10 20:45 ./source/n/krb5/conf/kadmind
|
||||
-rw-r--r-- 1 root root 1164 2019-12-10 21:03 ./source/n/krb5/conf/kdc.conf.example
|
||||
|
@ -11794,8 +11791,8 @@ drwxr-xr-x 2 root root 4096 2020-01-21 18:39 ./source/n/krb5/conf
|
|||
-rw-r--r-- 1 root root 857 2019-12-12 21:25 ./source/n/krb5/conf/rc.kpropd
|
||||
-rw-r--r-- 1 root root 842 2019-12-12 21:24 ./source/n/krb5/conf/rc.krb5kdc
|
||||
-rw-r--r-- 1 root root 357 2019-12-10 20:54 ./source/n/krb5/doinst.sh.gz
|
||||
-rw-r--r-- 1 root root 6031074 2021-02-01 20:37 ./source/n/krb5/krb5-1.19.tar.lz
|
||||
-rwxr-xr-x 1 root root 6084 2021-02-13 05:32 ./source/n/krb5/krb5.SlackBuild
|
||||
-rw-r--r-- 1 root root 6033983 2021-02-18 17:13 ./source/n/krb5/krb5-1.19.1.tar.lz
|
||||
-rwxr-xr-x 1 root root 6084 2021-02-20 19:23 ./source/n/krb5/krb5.SlackBuild
|
||||
-rw-r--r-- 1 root root 39 2017-09-30 20:08 ./source/n/krb5/krb5.url
|
||||
-rw-r--r-- 1 root root 756 2020-01-21 18:49 ./source/n/krb5/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/lftp
|
||||
|
@ -12045,10 +12042,10 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/netkit-rwall
|
|||
-rwxr-xr-x 1 root root 2933 2021-02-13 05:32 ./source/n/netkit-rwall/netkit-rwall.SlackBuild
|
||||
-rw-r--r-- 1 root root 920 2018-02-27 06:13 ./source/n/netkit-rwall/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/netkit-rwho
|
||||
-rw-r--r-- 1 root root 159 2001-02-26 02:19 ./source/n/netkit-rwho/netkit-rwho-0.17.diff.gz
|
||||
-rw-r--r-- 1 root root 20610 2000-07-31 03:03 ./source/n/netkit-rwho/netkit-rwho-0.17.tar.gz
|
||||
-rwxr-xr-x 1 root root 3114 2021-02-13 05:32 ./source/n/netkit-rwho/netkit-rwho.SlackBuild
|
||||
-rw-r--r-- 1 root root 225 2008-12-14 22:21 ./source/n/netkit-rwho/rwhod_getloadavg.diff.gz
|
||||
-rw-r--r-- 1 root root 159 2001-02-26 02:19 ./source/n/netkit-rwho/netkit-rwho-0.17.diff.gz
|
||||
-rw-r--r-- 1 root root 20610 2000-07-31 03:03 ./source/n/netkit-rwho/netkit-rwho-0.17.tar.gz
|
||||
-rwxr-xr-x 1 root root 3114 2021-02-13 05:32 ./source/n/netkit-rwho/netkit-rwho.SlackBuild
|
||||
-rw-r--r-- 1 root root 225 2008-12-14 22:21 ./source/n/netkit-rwho/rwhod_getloadavg.diff.gz
|
||||
-rw-r--r-- 1 root root 1147 2018-02-27 06:13 ./source/n/netkit-rwho/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/netkit-timed
|
||||
-rw-r--r-- 1 root root 243 2001-01-07 21:30 ./source/n/netkit-timed/netkit-timed-0.17.diff.gz
|
||||
|
@ -12355,11 +12352,12 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/rsync
|
|||
-rw-r--r-- 1 root root 1069784 2020-08-07 03:58 ./source/n/rsync/rsync-3.2.3.tar.gz
|
||||
-rwxr-xr-x 1 root root 3670 2021-02-13 05:32 ./source/n/rsync/rsync.SlackBuild
|
||||
-rw-r--r-- 1 root root 978 2018-02-27 06:13 ./source/n/rsync/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/s-nail
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 02:10 ./source/n/s-nail
|
||||
-rw-r--r-- 1 root root 262 2018-11-17 11:48 ./source/n/s-nail/doinst.sh.gz
|
||||
-rw-r--r-- 1 root root 799492 2021-01-21 22:43 ./source/n/s-nail/s-nail-14.9.21.tar.xz
|
||||
-rw-r--r-- 1 root root 801 2021-01-21 22:43 ./source/n/s-nail/s-nail-14.9.21.tar.xz.asc
|
||||
-rwxr-xr-x 1 root root 4223 2021-02-16 22:09 ./source/n/s-nail/s-nail.SlackBuild
|
||||
-rwxr-xr-x 1 root root 4323 2021-02-20 02:11 ./source/n/s-nail/s-nail.SlackBuild
|
||||
-rw-r--r-- 1 root root 267 2021-02-20 02:10 ./source/n/s-nail/s-nail.no.emptystart.diff.gz
|
||||
-rw-r--r-- 1 root root 92 2021-01-23 04:02 ./source/n/s-nail/s-nail.url
|
||||
-rw-r--r-- 1 root root 930 2018-11-24 18:35 ./source/n/s-nail/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/samba
|
||||
|
@ -14733,14 +14731,57 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/y/nethack
|
|||
-rwxr-xr-x 1 root root 4998 2021-02-13 05:32 ./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 2021-02-15 19:40 ./testing
|
||||
-rw-r--r-- 1 root root 552 2021-02-15 19:40 ./testing/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-15 19:40 ./testing/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 701 2021-02-15 19:40 ./testing/FILE_LIST
|
||||
-rw-r--r-- 1 root root 14 2021-02-15 19:40 ./testing/MANIFEST.bz2
|
||||
-rw-r--r-- 1 root root 224 2021-02-15 19:40 ./testing/PACKAGES.TXT
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:37 ./testing/packages
|
||||
drwxr-xr-x 2 root root 4096 2021-02-13 05:36 ./testing/source
|
||||
drwxr-xr-x 4 root root 4096 2021-02-20 21:08 ./testing
|
||||
-rw-r--r-- 1 root root 4055 2021-02-20 21:08 ./testing/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 21:08 ./testing/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 5160 2021-02-20 21:07 ./testing/FILE_LIST
|
||||
-rw-r--r-- 1 root root 1205292 2021-02-20 21:07 ./testing/MANIFEST.bz2
|
||||
-rw-r--r-- 1 root root 3497 2021-02-20 21:08 ./testing/PACKAGES.TXT
|
||||
drwxr-xr-x 3 root root 4096 2021-02-20 21:01 ./testing/packages
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 21:07 ./testing/packages/linux-5.11
|
||||
-rw-r--r-- 1 root root 624 2021-02-20 04:14 ./testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 7825336 2021-02-20 04:14 ./testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 04:14 ./testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 332 2021-02-20 04:18 ./testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txt
|
||||
-rw-r--r-- 1 root root 1040856 2021-02-20 04:18 ./testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 04:18 ./testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txz.asc
|
||||
-rw-r--r-- 1 root root 636 2021-02-20 04:13 ./testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 11540888 2021-02-20 04:13 ./testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 04:13 ./testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 567 2021-02-20 04:18 ./testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 47640304 2021-02-20 04:18 ./testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 04:18 ./testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 317 2021-02-20 04:12 ./testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txt
|
||||
-rw-r--r-- 1 root root 118603132 2021-02-20 04:12 ./testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-20 04:12 ./testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txz.asc
|
||||
drwxr-xr-x 3 root root 4096 2021-02-20 21:01 ./testing/source
|
||||
drwxr-xr-x 4 root root 4096 2021-02-20 02:18 ./testing/source/linux-5.11
|
||||
-rwxr-xr-x 1 root root 8307 2021-02-20 05:45 ./testing/source/linux-5.11/build-all-kernels.sh
|
||||
drwxr-xr-x 2 root root 4096 2021-02-20 02:35 ./testing/source/linux-5.11/kernel-configs
|
||||
-rw-r--r-- 1 root root 230286 2021-02-20 02:30 ./testing/source/linux-5.11/kernel-configs/config-generic-5.11
|
||||
-rw-r--r-- 1 root root 232431 2021-02-20 02:35 ./testing/source/linux-5.11/kernel-configs/config-generic-5.11.x64
|
||||
-rw-r--r-- 1 root root 231715 2021-02-20 02:29 ./testing/source/linux-5.11/kernel-configs/config-generic-smp-5.11-smp
|
||||
-rw-r--r-- 1 root root 230286 2021-02-20 02:30 ./testing/source/linux-5.11/kernel-configs/config-huge-5.11
|
||||
-rw-r--r-- 1 root root 232431 2021-02-20 02:35 ./testing/source/linux-5.11/kernel-configs/config-huge-5.11.x64
|
||||
-rw-r--r-- 1 root root 231715 2021-02-20 02:30 ./testing/source/linux-5.11/kernel-configs/config-huge-smp-5.11-smp
|
||||
-rwxr-xr-x 1 root root 7441 2020-06-11 19:56 ./testing/source/linux-5.11/kernel-generic.SlackBuild
|
||||
-rwxr-xr-x 1 root root 3779 2019-09-29 23:48 ./testing/source/linux-5.11/kernel-headers.SlackBuild
|
||||
-rwxr-xr-x 1 root root 6004 2020-06-11 19:57 ./testing/source/linux-5.11/kernel-modules.SlackBuild
|
||||
-rwxr-xr-x 1 root root 7977 2020-06-11 19:56 ./testing/source/linux-5.11/kernel-source.SlackBuild
|
||||
-rw-r--r-- 1 root root 985 2021-02-15 09:18 ./testing/source/linux-5.11/linux-5.11.tar.sign
|
||||
-rw-r--r-- 1 root root 117619104 2021-02-15 09:18 ./testing/source/linux-5.11/linux-5.11.tar.xz
|
||||
drwxr-xr-x 2 root root 4096 2018-03-05 18:29 ./testing/source/linux-5.11/slack-desc
|
||||
-rw-r--r-- 1 root root 1138 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-generic-smp.i686
|
||||
-rw-r--r-- 1 root root 1041 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-generic.i586
|
||||
-rw-r--r-- 1 root root 1086 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-generic.x86_64
|
||||
-rw-r--r-- 1 root root 794 2018-03-05 04:04 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-headers
|
||||
-rw-r--r-- 1 root root 1151 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-huge-smp.i686
|
||||
-rw-r--r-- 1 root root 1060 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-huge.i586
|
||||
-rw-r--r-- 1 root root 1095 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-huge.x86_64
|
||||
-rw-r--r-- 1 root root 1029 2018-03-05 18:29 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-modules-template
|
||||
-rw-r--r-- 1 root root 778 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-source
|
||||
-rw-r--r-- 1 root root 778 2018-02-27 06:16 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-source.vanilla
|
||||
-rw-r--r-- 1 root root 1000 2018-03-05 08:27 ./testing/source/linux-5.11/slack-desc/slack-desc.kernel-template
|
||||
drwxr-xr-x 2 root root 4096 2021-02-18 19:25 ./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
|
||||
|
|
|
@ -566,6 +566,7 @@ gzip ./source/n/openssh/openssh-glibc-2.33.patch
|
|||
gzip ./source/n/openssh/sshd_config-pam.diff
|
||||
gzip ./source/n/openssh/doinst.sh
|
||||
gzip ./source/n/s-nail/doinst.sh
|
||||
gzip ./source/n/s-nail/s-nail.no.emptystart.diff
|
||||
gzip ./source/n/iputils/iputils.docbook.revert.diff
|
||||
gzip ./source/n/dhcpcd/doinst.sh
|
||||
gzip ./source/n/bind/doinst.sh
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
lftpget http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
|
|
@ -1,755 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Skript to rescan SCSI bus, using the
|
||||
# scsi add-single-device mechanism
|
||||
# (c) 1998--2010 Kurt Garloff <kurt@garloff.de>, GNU GPL v2 or v3
|
||||
# (c) 2006--2008 Hannes Reinecke, GNU GPL v2 or later
|
||||
# $Id: rescan-scsi-bus.sh,v 1.56 2012/01/14 22:23:53 garloff Exp $
|
||||
|
||||
SCAN_WILD_CARD=4294967295
|
||||
|
||||
setcolor ()
|
||||
{
|
||||
red="\e[0;31m"
|
||||
green="\e[0;32m"
|
||||
yellow="\e[0;33m"
|
||||
bold="\e[0;1m"
|
||||
norm="\e[0;0m"
|
||||
}
|
||||
|
||||
unsetcolor ()
|
||||
{
|
||||
red=""; green=""
|
||||
yellow=""; norm=""
|
||||
}
|
||||
|
||||
# Output some text and return cursor to previous position
|
||||
# (only works for simple strings)
|
||||
# Stores length of string in LN and returns it
|
||||
print_and_scroll_back ()
|
||||
{
|
||||
STRG="$1"
|
||||
LN=${#STRG}
|
||||
BK=""
|
||||
declare -i cntr=0
|
||||
while test $cntr -lt $LN; do BK="$BK\e[D"; let cntr+=1; done
|
||||
echo -en "$STRG$BK"
|
||||
return $LN
|
||||
}
|
||||
|
||||
# Overwrite a text of length $1 (fallback to $LN) with whitespace
|
||||
white_out ()
|
||||
{
|
||||
BK=""; WH=""
|
||||
if test -n "$1"; then LN=$1; fi
|
||||
declare -i cntr=0
|
||||
while test $cntr -lt $LN; do BK="$BK\e[D"; WH="$WH "; let cntr+=1; done
|
||||
echo -en "$WH$BK"
|
||||
}
|
||||
|
||||
# Return hosts. sysfs must be mounted
|
||||
findhosts_26 ()
|
||||
{
|
||||
hosts=`find /sys/class/scsi_host/host* -maxdepth 4 -type d -o -type l 2> /dev/null | awk -F'/' '{print $5}' | sed -e 's~host~~' | sort -nu`
|
||||
scsi_host_data=`echo "$hosts" | sed -e 's~^~/sys/class/scsi_host/host~'`
|
||||
for hostdir in $scsi_host_data; do
|
||||
hostno=${hostdir#/sys/class/scsi_host/host}
|
||||
if [ -f $hostdir/isp_name ] ; then
|
||||
hostname="qla2xxx"
|
||||
elif [ -f $hostdir/lpfc_drvr_version ] ; then
|
||||
hostname="lpfc"
|
||||
else
|
||||
hostname=`cat $hostdir/proc_name`
|
||||
fi
|
||||
#hosts="$hosts $hostno"
|
||||
echo "Host adapter $hostno ($hostname) found."
|
||||
done
|
||||
if [ -z "$hosts" ] ; then
|
||||
echo "No SCSI host adapters found in sysfs"
|
||||
exit 1;
|
||||
fi
|
||||
# Not necessary just use double quotes around variable to preserve new lines
|
||||
#hosts=`echo $hosts | tr ' ' '\n'`
|
||||
}
|
||||
|
||||
# Return hosts. /proc/scsi/HOSTADAPTER/? must exist
|
||||
findhosts ()
|
||||
{
|
||||
hosts=
|
||||
for driverdir in /proc/scsi/*; do
|
||||
driver=${driverdir#/proc/scsi/}
|
||||
if test $driver = scsi -o $driver = sg -o $driver = dummy -o $driver = device_info; then continue; fi
|
||||
for hostdir in $driverdir/*; do
|
||||
name=${hostdir#/proc/scsi/*/}
|
||||
if test $name = add_map -o $name = map -o $name = mod_parm; then continue; fi
|
||||
num=$name
|
||||
driverinfo=$driver
|
||||
if test -r $hostdir/status; then
|
||||
num=$(printf '%d\n' `sed -n 's/SCSI host number://p' $hostdir/status`)
|
||||
driverinfo="$driver:$name"
|
||||
fi
|
||||
hosts="$hosts $num"
|
||||
echo "Host adapter $num ($driverinfo) found."
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
printtype ()
|
||||
{
|
||||
local type=$1
|
||||
|
||||
case "$type" in
|
||||
0) echo "Direct-Access " ;;
|
||||
1) echo "Sequential-Access" ;;
|
||||
2) echo "Printer " ;;
|
||||
3) echo "Processor " ;;
|
||||
4) echo "WORM " ;;
|
||||
5) echo "CD-ROM " ;;
|
||||
6) echo "Scanner " ;;
|
||||
7) echo "Optical Device " ;;
|
||||
8) echo "Medium Changer " ;;
|
||||
9) echo "Communications " ;;
|
||||
10) echo "Unknown " ;;
|
||||
11) echo "Unknown " ;;
|
||||
12) echo "RAID " ;;
|
||||
13) echo "Enclosure " ;;
|
||||
14) echo "Direct-Access-RBC" ;;
|
||||
*) echo "Unknown " ;;
|
||||
esac
|
||||
}
|
||||
|
||||
print02i()
|
||||
{
|
||||
if [ "$1" = "*" ] ; then
|
||||
echo "00"
|
||||
else
|
||||
printf "%02i" "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
# Get /proc/scsi/scsi info for device $host:$channel:$id:$lun
|
||||
# Optional parameter: Number of lines after first (default = 2),
|
||||
# result in SCSISTR, return code 1 means empty.
|
||||
procscsiscsi ()
|
||||
{
|
||||
if test -z "$1"; then LN=2; else LN=$1; fi
|
||||
CHANNEL=`print02i "$channel"`
|
||||
ID=`print02i "$id"`
|
||||
LUN=`print02i "$lun"`
|
||||
if [ -d /sys/class/scsi_device ]; then
|
||||
SCSIPATH="/sys/class/scsi_device/${host}:${channel}:${id}:${lun}"
|
||||
if [ -d "$SCSIPATH" ] ; then
|
||||
SCSISTR="Host: scsi${host} Channel: $CHANNEL Id: $ID Lun: $LUN"
|
||||
if [ "$LN" -gt 0 ] ; then
|
||||
IVEND=$(cat ${SCSIPATH}/device/vendor)
|
||||
IPROD=$(cat ${SCSIPATH}/device/model)
|
||||
IPREV=$(cat ${SCSIPATH}/device/rev)
|
||||
SCSIDEV=$(printf ' Vendor: %-08s Model: %-16s Rev: %-4s' "$IVEND" "$IPROD" "$IPREV")
|
||||
SCSISTR="$SCSISTR
|
||||
$SCSIDEV"
|
||||
fi
|
||||
if [ "$LN" -gt 1 ] ; then
|
||||
ILVL=$(cat ${SCSIPATH}/device/scsi_level)
|
||||
type=$(cat ${SCSIPATH}/device/type)
|
||||
ITYPE=$(printtype $type)
|
||||
SCSITMP=$(printf ' Type: %-16s ANSI SCSI revision: %02d' "$ITYPE" "$((ILVL - 1))")
|
||||
SCSISTR="$SCSISTR
|
||||
$SCSITMP"
|
||||
fi
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
grepstr="scsi$host Channel: $CHANNEL Id: $ID Lun: $LUN"
|
||||
SCSISTR=`cat /proc/scsi/scsi | grep -A$LN -e"$grepstr"`
|
||||
fi
|
||||
if test -z "$SCSISTR"; then return 1; else return 0; fi
|
||||
}
|
||||
|
||||
# Find sg device with 2.6 sysfs support
|
||||
sgdevice26 ()
|
||||
{
|
||||
if test -e /sys/class/scsi_device/$host\:$channel\:$id\:$lun/device/generic; then
|
||||
SGDEV=`readlink /sys/class/scsi_device/$host\:$channel\:$id\:$lun/device/generic`
|
||||
SGDEV=`basename $SGDEV`
|
||||
else
|
||||
for SGDEV in /sys/class/scsi_generic/sg*; do
|
||||
DEV=`readlink $SGDEV/device`
|
||||
if test "${DEV##*/}" = "$host:$channel:$id:$lun"; then
|
||||
SGDEV=`basename $SGDEV`; return
|
||||
fi
|
||||
done
|
||||
SGDEV=""
|
||||
fi
|
||||
}
|
||||
|
||||
# Find sg device with 2.4 report-devs extensions
|
||||
sgdevice24 ()
|
||||
{
|
||||
if procscsiscsi 3; then
|
||||
SGDEV=`echo "$SCSISTR" | grep 'Attached drivers:' | sed 's/^ *Attached drivers: \(sg[0-9]*\).*/\1/'`
|
||||
fi
|
||||
}
|
||||
|
||||
# Find sg device that belongs to SCSI device $host $channel $id $lun
|
||||
# and return in SGDEV
|
||||
sgdevice ()
|
||||
{
|
||||
SGDEV=
|
||||
if test -d /sys/class/scsi_device; then
|
||||
sgdevice26
|
||||
else
|
||||
DRV=`grep 'Attached drivers:' /proc/scsi/scsi 2>/dev/null`
|
||||
repdevstat=$((1-$?))
|
||||
if [ $repdevstat = 0 ]; then
|
||||
echo "scsi report-devs 1" >/proc/scsi/scsi
|
||||
DRV=`grep 'Attached drivers:' /proc/scsi/scsi 2>/dev/null`
|
||||
if [ $? = 1 ]; then return; fi
|
||||
fi
|
||||
if ! `echo $DRV | grep 'drivers: sg' >/dev/null`; then
|
||||
modprobe sg
|
||||
fi
|
||||
sgdevice24
|
||||
if [ $repdevstat = 0 ]; then
|
||||
echo "scsi report-devs 0" >/proc/scsi/scsi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Test if SCSI device is still responding to commands
|
||||
testonline ()
|
||||
{
|
||||
: testonline
|
||||
RC=0
|
||||
if test ! -x /usr/bin/sg_turs; then return 0; fi
|
||||
sgdevice
|
||||
if test -z "$SGDEV"; then return 0; fi
|
||||
sg_turs /dev/$SGDEV >/dev/null 2>&1
|
||||
RC=$?
|
||||
# Handle in progress of becoming ready and unit attention -- wait at max 11s
|
||||
declare -i ctr=0
|
||||
if test $RC = 2 -o $RC = 6; then
|
||||
RMB=`sg_inq /dev/$SGDEV | grep 'RMB=' | sed 's/^.*RMB=\(.\).*$/\1/'`
|
||||
print_and_scroll_back "$host:$channel:$id:$lun $SGDEV ($RMB) "
|
||||
fi
|
||||
while test $RC = 2 -o $RC = 6 && test $ctr -le 8; do
|
||||
if test $RC = 2 -a "$RMB" != "1"; then echo -n "."; let $LN+=1; sleep 1
|
||||
else usleep 20000; fi
|
||||
let ctr+=1
|
||||
sg_turs /dev/$SGDEV >/dev/null 2>&1
|
||||
RC=$?
|
||||
done
|
||||
if test $ctr != 0; then white_out; fi
|
||||
# echo -e "\e[A\e[A\e[A${yellow}Test existence of $SGDEV = $RC ${norm} \n\n\n"
|
||||
if test $RC = 1; then return $RC; fi
|
||||
# Reset RC (might be !=0 for passive paths)
|
||||
RC=0
|
||||
# OK, device online, compare INQUIRY string
|
||||
INQ=`sg_inq $sg_len_arg /dev/$SGDEV 2>/dev/null`
|
||||
IVEND=`echo "$INQ" | grep 'Vendor identification:' | sed 's/^[^:]*: \(.*\)$/\1/'`
|
||||
IPROD=`echo "$INQ" | grep 'Product identification:' | sed 's/^[^:]*: \(.*\)$/\1/'`
|
||||
IPREV=`echo "$INQ" | grep 'Product revision level:' | sed 's/^[^:]*: \(.*\)$/\1/'`
|
||||
STR=`printf " Vendor: %-08s Model: %-16s Rev: %-4s" "$IVEND" "$IPROD" "$IPREV"`
|
||||
IPTYPE=`echo "$INQ" | sed -n 's/.* Device_type=\([0-9]*\) .*/\1/p'`
|
||||
IPQUAL=`echo "$INQ" | sed -n 's/ *PQual=\([0-9]*\) Device.*/\1/p'`
|
||||
if [ "$IPQUAL" != 0 ] ; then
|
||||
echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}LU not available (PQual $IPQUAL)${norm} \n\n\n"
|
||||
return 2
|
||||
fi
|
||||
|
||||
TYPE=$(printtype $IPTYPE)
|
||||
procscsiscsi
|
||||
TMPSTR=`echo "$SCSISTR" | grep 'Vendor:'`
|
||||
if [ "$TMPSTR" != "$STR" ]; then
|
||||
echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nfrom:${SCSISTR#* } \nto: $STR ${norm} \n\n\n"
|
||||
return 1
|
||||
fi
|
||||
TMPSTR=`echo "$SCSISTR" | sed -n 's/.*Type: *\(.*\) *ANSI.*/\1/p'`
|
||||
if [ $TMPSTR != $TYPE ] ; then
|
||||
echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nfrom:${TMPSTR} \nto: $TYPE ${norm} \n\n\n"
|
||||
return 1
|
||||
fi
|
||||
return $RC
|
||||
}
|
||||
|
||||
# Test if SCSI device $host $channen $id $lun exists
|
||||
# Outputs description from /proc/scsi/scsi (unless arg passed)
|
||||
# Returns SCSISTR (empty if no dev)
|
||||
testexist ()
|
||||
{
|
||||
: testexist
|
||||
SCSISTR=
|
||||
if procscsiscsi && test -z "$1"; then
|
||||
echo "$SCSISTR" | head -n1
|
||||
echo "$SCSISTR" | tail -n2 | pr -o4 -l1
|
||||
fi
|
||||
}
|
||||
|
||||
# Returns the list of existing channels per host
|
||||
chanlist ()
|
||||
{
|
||||
local hcil
|
||||
local cil
|
||||
local chan
|
||||
local tmpchan
|
||||
|
||||
for dev in /sys/class/scsi_device/${host}:* ; do
|
||||
[ -d $dev ] || continue;
|
||||
hcil=${dev##*/}
|
||||
cil=${hcil#*:}
|
||||
chan=${cil%%:*}
|
||||
for tmpchan in $channelsearch ; do
|
||||
if test "$chan" -eq $tmpchan ; then
|
||||
chan=
|
||||
fi
|
||||
done
|
||||
if test -n "$chan" ; then
|
||||
channelsearch="$channelsearch $chan"
|
||||
fi
|
||||
done
|
||||
if test -z "$channelsearch"; then channelsearch="0"; fi
|
||||
}
|
||||
|
||||
# Returns the list of existing targets per host
|
||||
idlist ()
|
||||
{
|
||||
local hcil
|
||||
local cil
|
||||
local il
|
||||
local target
|
||||
local tmpid
|
||||
|
||||
for dev in /sys/class/scsi_device/${host}:${channel}:* ; do
|
||||
[ -d $dev ] || continue;
|
||||
hcil=${dev##*/}
|
||||
cil=${hcil#*:}
|
||||
il=${cil#*:}
|
||||
target=${il%%:*}
|
||||
for tmpid in $idsearch ; do
|
||||
if test "$target" -eq $tmpid ; then
|
||||
target=
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -n "$target" ; then
|
||||
idsearch="$idsearch $target"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Returns the list of existing LUNs from device $host $channel $id $lun
|
||||
# and returns list to stdout
|
||||
getluns()
|
||||
{
|
||||
sgdevice
|
||||
if test -z "$SGDEV"; then return 1; fi
|
||||
if test ! -x /usr/bin/sg_luns; then echo 0; return 1; fi
|
||||
LLUN=`sg_luns /dev/$SGDEV 2>/dev/null | sed -n 's/ \(.*\)/\1/p'`
|
||||
if test $? != 0; then echo 0; return 1; fi
|
||||
#echo "$LLUN" | sed -n 's/.*lun=\(.*\)/\1/p'
|
||||
for lun in $LLUN ; do
|
||||
# Swap LUN number
|
||||
l0=$(printf '%u' 0x$lun)
|
||||
l1=$(( ($l0 >> 48) & 0xffff ))
|
||||
l2=$(( ($l0 >> 32) & 0xffff ))
|
||||
l3=$(( ($l0 >> 16) & 0xffff ))
|
||||
l4=$(( $l0 & 0xffff ))
|
||||
l0=$(( ( ( ($l4 * 0xffff) + $l3 ) * 0xffff + $l2 ) * 0xffff + $l1 ))
|
||||
printf "%u\n" $l0
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
# Wait for udev to settle (create device nodes etc.)
|
||||
udevadm_settle()
|
||||
{
|
||||
if test -x /sbin/udevadm; then
|
||||
print_and_scroll_back " Calling udevadm settle (can take a while) "
|
||||
/sbin/udevadm settle
|
||||
white_out
|
||||
elif test -x /sbin/udevsettle; then
|
||||
print_and_scroll_back " Calling udevsettle (can take a while) "
|
||||
/sbin/udevsettle
|
||||
white_out
|
||||
else
|
||||
usleep 20000
|
||||
fi
|
||||
}
|
||||
|
||||
# Perform scan on a single lun $host $channel $id $lun
|
||||
dolunscan()
|
||||
{
|
||||
SCSISTR=
|
||||
devnr="$host $channel $id $lun"
|
||||
echo -e " Scanning for device $devnr ... "
|
||||
printf "${yellow}OLD: $norm"
|
||||
testexist
|
||||
# Special case: lun 0 just got added (for reportlunscan),
|
||||
# so make sure we correctly treat it as new
|
||||
if test "$lun" = "0" -a "$1"; then
|
||||
SCSISTR=""
|
||||
printf "\r\e[A\e[A\e[A"
|
||||
fi
|
||||
: f $remove s $SCSISTR
|
||||
if test "$remove" -a "$SCSISTR"; then
|
||||
# Device exists: Test whether it's still online
|
||||
# (testonline returns 1 if it's gone or has changed)
|
||||
testonline
|
||||
RC=$?
|
||||
if test $RC != 0 -o ! -z "$forceremove"; then
|
||||
echo -en "\r\e[A\e[A\e[A${red}REM: "
|
||||
echo "$SCSISTR" | head -n1
|
||||
echo -e "${norm}\e[B\e[B"
|
||||
if test -e /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device; then
|
||||
echo 1 > /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device/delete
|
||||
# FIXME: Can we skip udevadm settle for removal?
|
||||
#udevadm_settle
|
||||
usleep 20000
|
||||
else
|
||||
echo "scsi remove-single-device $devnr" > /proc/scsi/scsi
|
||||
if test $RC -eq 1 -o $lun -eq 0 ; then
|
||||
# Try readding, should fail if device is gone
|
||||
echo "scsi add-single-device $devnr" > /proc/scsi/scsi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test $RC = 0 -o "$forcerescan" ; then
|
||||
if test -e /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device; then
|
||||
echo 1 > /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device/rescan
|
||||
udevadm_settle
|
||||
fi
|
||||
fi
|
||||
printf "\r\e[A\e[A\e[A${yellow}OLD: $norm"
|
||||
testexist
|
||||
if test -z "$SCSISTR"; then
|
||||
printf "\r${red}DEL: $norm\r\n\n"
|
||||
let rmvd+=1;
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
if test -z "$SCSISTR"; then
|
||||
# Device does not exist, try to add
|
||||
printf "\r${green}NEW: $norm"
|
||||
if test -e /sys/class/scsi_host/host${host}/scan; then
|
||||
echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
|
||||
udevadm_settle
|
||||
else
|
||||
echo "scsi add-single-device $devnr" > /proc/scsi/scsi
|
||||
fi
|
||||
testexist
|
||||
if test -z "$SCSISTR"; then
|
||||
# Device not present
|
||||
printf "\r\e[A";
|
||||
# Optimization: if lun==0, stop here (only if in non-remove mode)
|
||||
if test $lun = 0 -a -z "$remove" -a $optscan = 1; then
|
||||
break;
|
||||
fi
|
||||
else
|
||||
let found+=1;
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Perform report lun scan on $host $channel $id using REPORT_LUNS
|
||||
doreportlun()
|
||||
{
|
||||
lun=0
|
||||
SCSISTR=
|
||||
devnr="$host $channel $id $lun"
|
||||
echo -en " Scanning for device $devnr ...\r"
|
||||
lun0added=
|
||||
#printf "${yellow}OLD: $norm"
|
||||
# Phase one: If LUN0 does not exist, try to add
|
||||
testexist -q
|
||||
if test -z "$SCSISTR"; then
|
||||
# Device does not exist, try to add
|
||||
#printf "\r${green}NEW: $norm"
|
||||
if test -e /sys/class/scsi_host/host${host}/scan; then
|
||||
echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
|
||||
udevadm_settle
|
||||
else
|
||||
echo "scsi add-single-device $devnr" > /proc/scsi/scsi
|
||||
fi
|
||||
testexist -q
|
||||
if test -n "$SCSISTR"; then
|
||||
lun0added=1
|
||||
#testonline
|
||||
else
|
||||
# Device not present
|
||||
# return
|
||||
# Find alternative LUN to send getluns to
|
||||
for dev in /sys/class/scsi_device/${host}:${channel}:${id}:*; do
|
||||
[ -d "$dev" ] || continue
|
||||
lun=${dev##*:}
|
||||
break
|
||||
done
|
||||
fi
|
||||
fi
|
||||
targetluns=`getluns`
|
||||
REPLUNSTAT=$?
|
||||
lunremove=
|
||||
#echo "getluns reports " $targetluns
|
||||
olddev=`find /sys/class/scsi_device/ -name $host:$channel:$id:* 2>/dev/null`
|
||||
oldluns=`echo "$olddev" | awk -F'/' '{print $5}' | awk -F':' '{print $4}'`
|
||||
oldtargets="$targetluns"
|
||||
# OK -- if we don't have a LUN to send a REPORT_LUNS to, we could
|
||||
# fall back to wildcard scanning. Same thing if the device does not
|
||||
# support REPORT_LUNS
|
||||
# TODO: We might be better off to ALWAYS use wildcard scanning if
|
||||
# it works
|
||||
if test "$REPLUNSTAT" = "1"; then
|
||||
if test -e /sys/class/scsi_host/host${host}/scan; then
|
||||
echo "$channel $id -" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
|
||||
udevadm_settle
|
||||
else
|
||||
echo "scsi add-single-device $host $channel $id $SCAN_WILD_CARD" > /proc/scsi/scsi
|
||||
fi
|
||||
targetluns=`find /sys/class/scsi_device/ -name $host:$channel:$id:* 2>/dev/null | awk -F'/' '{print $5}' | awk -F':' '{print $4}' | sort -n`
|
||||
let found+=`echo "$targetluns" | wc -l`
|
||||
let found-=`echo "$olddev" | wc -l`
|
||||
fi
|
||||
if test -z "$targetluns"; then targetluns="$oldtargets"; fi
|
||||
# Check existing luns
|
||||
for dev in $olddev; do
|
||||
[ -d "$dev" ] || continue
|
||||
lun=${dev##*:}
|
||||
newsearch=
|
||||
inlist=
|
||||
# OK, is existing $lun (still) in reported list
|
||||
for tmplun in $targetluns; do
|
||||
if test $tmplun -eq $lun ; then
|
||||
inlist=1
|
||||
dolunscan $lun0added
|
||||
else
|
||||
newsearch="$newsearch $tmplun"
|
||||
fi
|
||||
done
|
||||
# OK, we have now done a lunscan on $lun and
|
||||
# $newsearch is the old $targetluns without $lun
|
||||
if [ -z "$inlist" ]; then
|
||||
# Stale lun
|
||||
lunremove="$lunremove $lun"
|
||||
fi
|
||||
# $lun removed from $lunsearch (echo for whitespace cleanup)
|
||||
targetluns=`echo $newsearch`
|
||||
done
|
||||
# Add new ones and check stale ones
|
||||
for lun in $targetluns $lunremove; do
|
||||
dolunscan $lun0added
|
||||
done
|
||||
}
|
||||
|
||||
# Perform search (scan $host)
|
||||
dosearch ()
|
||||
{
|
||||
if test -z "$channelsearch" ; then
|
||||
chanlist
|
||||
fi
|
||||
for channel in $channelsearch; do
|
||||
if test -z "$idsearch" ; then
|
||||
idlist
|
||||
fi
|
||||
for id in $idsearch; do
|
||||
if test -z "$lunsearch" ; then
|
||||
doreportlun
|
||||
else
|
||||
for lun in $lunsearch; do
|
||||
dolunscan
|
||||
done
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
expandlist ()
|
||||
{
|
||||
list=$1
|
||||
result=""
|
||||
first=${list%%,*}
|
||||
rest=${list#*,}
|
||||
while test ! -z "$first"; do
|
||||
beg=${first%%-*};
|
||||
if test "$beg" = "$first"; then
|
||||
result="$result $beg";
|
||||
else
|
||||
end=${first#*-}
|
||||
result="$result `seq $beg $end`"
|
||||
fi
|
||||
test "$rest" = "$first" && rest=""
|
||||
first=${rest%%,*}
|
||||
rest=${rest#*,}
|
||||
done
|
||||
echo $result
|
||||
}
|
||||
|
||||
# main
|
||||
if test @$1 = @--help -o @$1 = @-h -o @$1 = @-?; then
|
||||
echo "Usage: rescan-scsi-bus.sh [options] [host [host ...]]"
|
||||
echo "Options:"
|
||||
echo " -l activates scanning for LUNs 0--7 [default: 0]"
|
||||
echo " -L NUM activates scanning for LUNs 0--NUM [default: 0]"
|
||||
echo " -w scan for target device IDs 0--15 [default: 0--7]"
|
||||
echo " -c enables scanning of channels 0 1 [default: 0 / all detected ones]"
|
||||
echo " -r enables removing of devices [default: disabled]"
|
||||
echo " -i issue a FibreChannel LIP reset [default: disabled]"
|
||||
echo "--remove: same as -r"
|
||||
echo "--issue-lip: same as -i"
|
||||
echo "--forcerescan: Rescan existing devices"
|
||||
echo "--forceremove: Remove and readd every device (DANGEROUS)"
|
||||
echo "--nooptscan: don't stop looking for LUNs is 0 is not found"
|
||||
echo "--color: use coloured prefixes OLD/NEW/DEL"
|
||||
echo "--hosts=LIST: Scan only host(s) in LIST"
|
||||
echo "--channels=LIST: Scan only channel(s) in LIST"
|
||||
echo "--ids=LIST: Scan only target ID(s) in LIST"
|
||||
echo "--luns=LIST: Scan only lun(s) in LIST"
|
||||
echo "--sync/nosync: Issue a sync / no sync [default: sync if remove]"
|
||||
echo "--attachpq3: Tell kernel to attach sg to LUN 0 that reports PQ=3"
|
||||
echo "--reportlun2: Tell kernel to try REPORT_LUN even on SCSI2 devices"
|
||||
echo "--largelun: Tell kernel to support LUNs > 7 even on SCSI2 devs"
|
||||
echo "--sparselun: Tell kernel to support sparse LUN numbering"
|
||||
echo " Host numbers may thus be specified either directly on cmd line (deprecated) or"
|
||||
echo " or with the --hosts=LIST parameter (recommended)."
|
||||
echo "LIST: A[-B][,C[-D]]... is a comma separated list of single values and ranges"
|
||||
echo " (No spaces allowed.)"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test ! -d /sys/class/scsi_host/ -a ! -d /proc/scsi/; then
|
||||
echo "Error: SCSI subsystem not active"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Make sure sg is there
|
||||
modprobe sg >/dev/null 2>&1
|
||||
|
||||
if test -x /usr/bin/sg_inq; then
|
||||
sg_version=$(sg_inq -V 2>&1 | cut -d " " -f 3)
|
||||
sg_version=${sg_version##0.}
|
||||
#echo "\"$sg_version\""
|
||||
#if [ -z "$sg_version" -o "$sg_version" -lt 70 ] ; then
|
||||
#sg_len_arg="-36"
|
||||
#else
|
||||
sg_len_arg="--len=36"
|
||||
#fi
|
||||
else
|
||||
echo "WARN: /usr/bin/sg_inq not present -- please install sg3_utils"
|
||||
echo " or rescan-scsi-bus.sh might not fully work."
|
||||
fi
|
||||
|
||||
# defaults
|
||||
unsetcolor
|
||||
lunsearch=
|
||||
opt_idsearch=`seq 0 7`
|
||||
opt_channelsearch=
|
||||
remove=
|
||||
forceremove=
|
||||
optscan=1
|
||||
sync=1
|
||||
declare -i scan_flags=0
|
||||
if test -d /sys/class/scsi_host; then
|
||||
findhosts_26
|
||||
else
|
||||
findhosts
|
||||
fi
|
||||
|
||||
# Scan options
|
||||
opt="$1"
|
||||
while test ! -z "$opt" -a -z "${opt##-*}"; do
|
||||
opt=${opt#-}
|
||||
case "$opt" in
|
||||
l) lunsearch=`seq 0 7` ;;
|
||||
L) lunsearch=`seq 0 $2`; shift ;;
|
||||
w) opt_idsearch=`seq 0 15` ;;
|
||||
c) opt_channelsearch="0 1" ;;
|
||||
r) remove=1 ;;
|
||||
i) lipreset=1 ;;
|
||||
-remove) remove=1 ;;
|
||||
-forcerescan) remove=1; forcerescan=1 ;;
|
||||
-forceremove) remove=1; forceremove=1 ;;
|
||||
-hosts=*) arg=${opt#-hosts=}; hosts=`expandlist $arg` ;;
|
||||
-channels=*) arg=${opt#-channels=};opt_channelsearch=`expandlist $arg` ;;
|
||||
-ids=*) arg=${opt#-ids=}; opt_idsearch=`expandlist $arg` ;;
|
||||
-luns=*) arg=${opt#-luns=}; lunsearch=`expandlist $arg` ;;
|
||||
-color) setcolor ;;
|
||||
-nooptscan) optscan=0 ;;
|
||||
-issue-lip) lipreset=1 ;;
|
||||
-sync) sync=2 ;;
|
||||
-nosync) sync=0 ;;
|
||||
-attachpq3) scan_flags=$(($scan_flags|0x1000000)) ;;
|
||||
-reportlun2) scan_flags=$(($scan_flags|0x20000)) ;;
|
||||
-largelun) scan_flags=$(($scan_flags|0x200)) ;;
|
||||
-sparselun) scan_flags=$((scan_flags|0x40)) ;;
|
||||
*) echo "Unknown option -$opt !" ;;
|
||||
esac
|
||||
shift
|
||||
opt="$1"
|
||||
done
|
||||
|
||||
# Hosts given ?
|
||||
if test "@$1" != "@"; then
|
||||
hosts=$*
|
||||
fi
|
||||
|
||||
if [ -d /sys/class/scsi_host -a ! -w /sys/class/scsi_host ]; then
|
||||
echo "You need to run scsi-rescan-bus.sh as root"
|
||||
exit 2
|
||||
fi
|
||||
if test "$sync" = 1 -a "$remove" = 1; then sync=2; fi
|
||||
if test "$sync" = 2; then echo "Syncing file systems"; sync; fi
|
||||
if test -w /sys/module/scsi_mod/parameters/default_dev_flags -a $scan_flags != 0; then
|
||||
OLD_SCANFLAGS=`cat /sys/module/scsi_mod/parameters/default_dev_flags`
|
||||
NEW_SCANFLAGS=$(($OLD_SCANFLAGS|$scan_flags))
|
||||
if test "$OLD_SCANFLAGS" != "$NEW_SCANFLAGS"; then
|
||||
echo -n "Temporarily setting kernel scanning flags from "
|
||||
printf "0x%08x to 0x%08x\n" $OLD_SCANFLAGS $NEW_SCANFLAGS
|
||||
echo $NEW_SCANFLAGS > /sys/module/scsi_mod/parameters/default_dev_flags
|
||||
else
|
||||
unset OLD_SCANFLAGS
|
||||
fi
|
||||
fi
|
||||
echo "Scanning SCSI subsystem for new devices"
|
||||
test -z "$remove" || echo " and remove devices that have disappeared"
|
||||
declare -i found=0
|
||||
declare -i rmvd=0
|
||||
for host in $hosts; do
|
||||
echo -n "Scanning host $host "
|
||||
if test -e /sys/class/fc_host/host$host ; then
|
||||
# It's pointless to do a target scan on FC
|
||||
if test -n "$lipreset" ; then
|
||||
echo 1 > /sys/class/fc_host/host$host/issue_lip 2> /dev/null;
|
||||
udevadm_settle
|
||||
fi
|
||||
# We used to always trigger a rescan for FC to update channels and targets
|
||||
# Commented out -- as discussed with Hannes we should rely
|
||||
# on the main loop doing the scan, no need to do it here.
|
||||
#echo "- - -" > /sys/class/scsi_host/host$host/scan 2> /dev/null;
|
||||
#udevadm_settle
|
||||
channelsearch=
|
||||
idsearch=
|
||||
else
|
||||
channelsearch=$opt_channelsearch
|
||||
idsearch=$opt_idsearch
|
||||
fi
|
||||
[ -n "$channelsearch" ] && echo -n "channels $channelsearch "
|
||||
echo -n "for "
|
||||
if [ -n "$idsearch" ] ; then
|
||||
echo -n " SCSI target IDs " $idsearch
|
||||
else
|
||||
echo -n " all SCSI target IDs"
|
||||
fi
|
||||
if [ -n "$lunsearch" ] ; then
|
||||
echo ", LUNs " $lunsearch
|
||||
else
|
||||
echo ", all LUNs"
|
||||
fi
|
||||
dosearch
|
||||
done
|
||||
if test -n "$OLD_SCANFLAGS"; then
|
||||
echo $OLD_SCANFLAGS > /sys/module/scsi_mod/parameters/default_dev_flags
|
||||
fi
|
||||
echo "$found new device(s) found. "
|
||||
echo "$rmvd device(s) removed. "
|
||||
|
||||
# Local Variables:
|
||||
# sh-basic-offset: 2
|
||||
# End:
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
--- rescan-scsi-bus.sh.orig 2012-01-14 16:43:33.000000000 -0600
|
||||
+++ rescan-scsi-bus.sh 2012-09-07 12:51:52.003994404 -0500
|
||||
@@ -625,11 +625,11 @@
|
||||
sg_version=$(sg_inq -V 2>&1 | cut -d " " -f 3)
|
||||
sg_version=${sg_version##0.}
|
||||
#echo "\"$sg_version\""
|
||||
- if [ -z "$sg_version" -o "$sg_version" -lt 70 ] ; then
|
||||
- sg_len_arg="-36"
|
||||
- else
|
||||
+ #if [ -z "$sg_version" -o "$sg_version" -lt 70 ] ; then
|
||||
+ #sg_len_arg="-36"
|
||||
+ #else
|
||||
sg_len_arg="--len=36"
|
||||
- fi
|
||||
+ #fi
|
||||
else
|
||||
echo "WARN: /usr/bin/sg_inq not present -- please install sg3_utils"
|
||||
echo " or rescan-scsi-bus.sh might not fully work."
|
|
@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
PKGNAM=sysvinit-scripts
|
||||
VERSION=${VERSION:-2.1}
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-39}
|
||||
BUILD=${BUILD:-40}
|
||||
|
||||
# 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
|
||||
|
@ -56,13 +56,6 @@ chown root:root $PKG/etc/inittab.new
|
|||
mkdir -p $PKG/etc/default
|
||||
cat $CWD/default/cpufreq > $PKG/etc/default/cpufreq.new
|
||||
|
||||
# Add a very handy tool for scanning new SCSI devices. Most useful for
|
||||
# finding new USB and Firewire storage devices which show up as SCSI.
|
||||
mkdir -p $PKG/sbin
|
||||
cat $CWD/scripts/rescan-scsi-bus.sh > $PKG/sbin/rescan-scsi-bus
|
||||
chmod 755 $PKG/sbin/rescan-scsi-bus
|
||||
chown root:root $PKG/sbin/rescan-scsi-bus
|
||||
|
||||
mkdir -p $PKG/install
|
||||
zcat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
Sat Feb 20 20:40:32 UTC 2021
|
||||
Updated /sbin/rescan-scsi-bus to fix a misplaced "break". Thanks to andygoth.
|
||||
+--------------------------+
|
||||
Sun Feb 14 19:39:31 UTC 2021
|
||||
Might as well add libINIReader since we have libinih already.
|
||||
+--------------------------+
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
|
||||
# Copyright 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -108,7 +108,12 @@ for recipe in $RECIPES ; do
|
|||
)
|
||||
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
|
||||
mv ${TMP}/${KERNEL_HUGE_PACKAGE_NAME} $OUTPUT || exit 1
|
||||
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
|
||||
|
@ -116,7 +121,12 @@ for recipe in $RECIPES ; do
|
|||
# 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
|
||||
mv ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} $OUTPUT || exit 1
|
||||
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
|
||||
|
@ -125,7 +135,12 @@ for recipe in $RECIPES ; do
|
|||
# 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
|
||||
mv ${TMP}/${KERNEL_MODULES_PACKAGE_NAME} $OUTPUT || exit 1
|
||||
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
|
||||
|
@ -133,7 +148,12 @@ for recipe in $RECIPES ; do
|
|||
# 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
|
||||
mv ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} $OUTPUT || exit 1
|
||||
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
|
||||
|
|
|
@ -26,9 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PKGNAM=mozilla-nss
|
||||
SRCNAM=nss
|
||||
VERSION=${VERSION:-3.61}
|
||||
VERSION=${VERSION:-3.62}
|
||||
NSPR=${NSPR:-4.29}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
MARCH=$( uname -m )
|
||||
|
|
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PKGNAM=sg3_utils
|
||||
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-4}
|
||||
|
||||
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
||||
|
||||
|
@ -106,6 +106,11 @@ make install DESTDIR=$PKG || exit 1
|
|||
# Don't ship .la files:
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
# We used to ship "/sbin/rescan-scsi-bus", so make a symlink in case anyone
|
||||
# is depending on that existing:
|
||||
mkdir -p $PKG/sbin
|
||||
( cd $PKG/sbin ; ln -sf ../usr/bin/rescan-scsi-bus.sh rescan-scsi-bus )
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PKGNAM=ipset
|
||||
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PKGNAM=krb5
|
||||
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
|
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PKGNAM=s-nail
|
||||
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-4}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -77,6 +77,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
|
||||
|
||||
# If there's no mail, exit:
|
||||
zcat $CWD/s-nail.no.emptystart.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
make $NUMJOBS \
|
||||
VAL_PREFIX=/usr \
|
||||
|
|
11
source/n/s-nail/s-nail.no.emptystart.diff
Normal file
11
source/n/s-nail/s-nail.no.emptystart.diff
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./nail.rc.orig 2021-01-21 16:31:08.000000000 -0600
|
||||
+++ ./nail.rc 2021-02-19 20:10:01.859425406 -0600
|
||||
@@ -75,7 +75,7 @@
|
||||
set editheaders
|
||||
|
||||
# Startup into interactive mode even if the (given) mailbox is empty.
|
||||
-set emptystart
|
||||
+#set emptystart
|
||||
|
||||
# When `reply'ing etc. name parts and comments are stripped from receiver
|
||||
# addresses unless this variable is set.
|
11
testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txt
vendored
Normal file
11
testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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:
|
11
testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txt
vendored
Normal file
11
testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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:
|
11
testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txt
vendored
Normal file
11
testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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:
|
11
testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txt
vendored
Normal file
11
testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
kernel-modules: kernel-modules (Linux kernel modules)
|
||||
kernel-modules:
|
||||
kernel-modules: Kernel modules are pieces of code that can be loaded and unloaded into
|
||||
kernel-modules: the kernel upon demand. They extend the functionality of the kernel
|
||||
kernel-modules: without the need to reboot the system. These modules provide support
|
||||
kernel-modules: for hardware such as USB devices, RAID controllers, network
|
||||
kernel-modules: interfaces, and display devices, or add other additional capabilities
|
||||
kernel-modules: to the kernel.
|
||||
kernel-modules:
|
||||
kernel-modules:
|
||||
kernel-modules:
|
11
testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txt
vendored
Normal file
11
testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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:
|
176
testing/source/linux-5.11/build-all-kernels.sh
Executable file
176
testing/source/linux-5.11/build-all-kernels.sh
Executable file
|
@ -0,0 +1,176 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright 2018, 2021 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:
|
||||
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
|
||||
sleep 3
|
||||
|
||||
# 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
|
9916
testing/source/linux-5.11/kernel-configs/config-generic-5.11
Normal file
9916
testing/source/linux-5.11/kernel-configs/config-generic-5.11
Normal file
File diff suppressed because it is too large
Load diff
9961
testing/source/linux-5.11/kernel-configs/config-generic-5.11.x64
Normal file
9961
testing/source/linux-5.11/kernel-configs/config-generic-5.11.x64
Normal file
File diff suppressed because it is too large
Load diff
9979
testing/source/linux-5.11/kernel-configs/config-generic-smp-5.11-smp
Normal file
9979
testing/source/linux-5.11/kernel-configs/config-generic-smp-5.11-smp
Normal file
File diff suppressed because it is too large
Load diff
9916
testing/source/linux-5.11/kernel-configs/config-huge-5.11
Normal file
9916
testing/source/linux-5.11/kernel-configs/config-huge-5.11
Normal file
File diff suppressed because it is too large
Load diff
9961
testing/source/linux-5.11/kernel-configs/config-huge-5.11.x64
Normal file
9961
testing/source/linux-5.11/kernel-configs/config-huge-5.11.x64
Normal file
File diff suppressed because it is too large
Load diff
9979
testing/source/linux-5.11/kernel-configs/config-huge-smp-5.11-smp
Normal file
9979
testing/source/linux-5.11/kernel-configs/config-huge-smp-5.11-smp
Normal file
File diff suppressed because it is too large
Load diff
158
testing/source/linux-5.11/kernel-generic.SlackBuild
Executable file
158
testing/source/linux-5.11/kernel-generic.SlackBuild
Executable file
|
@ -0,0 +1,158 @@
|
|||
#!/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
|
||||
|
90
testing/source/linux-5.11/kernel-headers.SlackBuild
Executable file
90
testing/source/linux-5.11/kernel-headers.SlackBuild
Executable file
|
@ -0,0 +1,90 @@
|
|||
#!/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
|
||||
|
135
testing/source/linux-5.11/kernel-modules.SlackBuild
Executable file
135
testing/source/linux-5.11/kernel-modules.SlackBuild
Executable file
|
@ -0,0 +1,135 @@
|
|||
#!/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-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}
|
||||
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
|
||||
# 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
|
||||
|
177
testing/source/linux-5.11/kernel-source.SlackBuild
Executable file
177
testing/source/linux-5.11/kernel-source.SlackBuild
Executable file
|
@ -0,0 +1,177 @@
|
|||
#!/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.
|
||||
|
||||
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 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
|
||||
|
||||
# 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*
|
||||
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
|
||||
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}"
|
||||
sleep 1
|
||||
|
||||
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-*
|
||||
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
|
||||
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
|
||||
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
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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%:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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:
|
|
@ -0,0 +1,19 @@
|
|||
# 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%:
|
Loading…
Reference in a new issue