LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2022, 08:57 AM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,688

Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
No kernel sources in the 15.0 patch directory?


This is a tiny detail and I am not trying to nit pick, but does anyone know why Pat is not including the kernel sources for kernel patches in the patches/source directory? This is a non-issue for me or any other seasoned Slacker, but it is just something I noticed and was curious if Pat had commented about it?
 
Old 08-26-2022, 09:09 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,381

Rep: Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098Reputation: 4098
Probably because of the size

Since the slackbuild will probably never change, and is in source/k
You just need to download the tar.gz from kernel.org

Last edited by marav; 08-26-2022 at 09:12 AM.
 
Old 08-26-2022, 09:14 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,663

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
probably because the kernel-source package is indeed the source itself
Quote:
This is the complete and unmodified source code for the Linux kernel.
 
Old 08-26-2022, 09:20 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,688

Original Poster
Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
I just found it unusual since Pat had included sources for 5.18 and 5.19 in the testing directory when those came out. And yes Marav and willysr are correct that it is unnecessary because the K directory exists, but config files change some times between incremental releases. Again non of this is important but merely a curiosity on my part.
 
Old 08-26-2022, 10:44 AM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,511

Rep: Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334
Quote:
Originally Posted by Daedra View Post
I just found it unusual since Pat had included sources for 5.18 and 5.19 in the testing directory when those came out. And yes Marav and willysr are correct that it is unnecessary because the K directory exists, but config files change some times between incremental releases. Again non of this is important but merely a curiosity on my part.
The exact .config used for building and the kernel source itself is on kernel-source package which is shipped along.

https://mirror.yandex.ru/slackware/s...8-noarch-1.txz
 
Old 08-26-2022, 10:54 AM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,688

Original Poster
Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
Quote:
Originally Posted by LuckyCyborg View Post
The exact .config used for building and the kernel source itself is on kernel-source package which is shipped along.

https://mirror.yandex.ru/slackware/s...8-noarch-1.txz
Yeah I am aware of that, but downloading the kernel-source package and extracting the config files or installing it to get the config files is a bit more tedious then just providing them in the patch/source directory. But again, for any experienced Slacker this is a cake walk and not a problem in the least. Your point is well taken.
 
Old 08-26-2022, 12:12 PM   #7
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Hmmm ...

I believe the kernel source was always among the other kernel packages in patches/packages/ ?

Maybe because I need kernel source to compile 3rd-party modules ( NVidia and VMWare ) ?

HTH

-- kjh

This is my local mirror for the latest up-to-date Slackware64 15.0

Code:
[root@kjhlt7 slackware-15.0-64]# pwd ; ls -lad  patches/packages/linux-5.15.63/*

/dld/15.0/slackware/slackware-15.0-64
-rw-r--r-- 1 4015 4015       624 Aug 25 20:49 patches/packages/linux-5.15.63/kernel-generic-5.15.63-x86_64-1.txt
-rw-r--r-- 1 4015 4015   8467508 Aug 25 20:49 patches/packages/linux-5.15.63/kernel-generic-5.15.63-x86_64-1.txz
-rw-r--r-- 1 4015 4015       163 Aug 25 20:49 patches/packages/linux-5.15.63/kernel-generic-5.15.63-x86_64-1.txz.asc
-rw-r--r-- 1 4015 4015       332 Aug 25 21:10 patches/packages/linux-5.15.63/kernel-headers-5.15.63-x86-1.txt
-rw-r--r-- 1 4015 4015   1079428 Aug 25 21:10 patches/packages/linux-5.15.63/kernel-headers-5.15.63-x86-1.txz
-rw-r--r-- 1 4015 4015       163 Aug 25 21:10 patches/packages/linux-5.15.63/kernel-headers-5.15.63-x86-1.txz.asc
-rw-r--r-- 1 4015 4015       636 Aug 25 20:46 patches/packages/linux-5.15.63/kernel-huge-5.15.63-x86_64-1.txt
-rw-r--r-- 1 4015 4015  12504496 Aug 25 20:46 patches/packages/linux-5.15.63/kernel-huge-5.15.63-x86_64-1.txz
-rw-r--r-- 1 4015 4015       163 Aug 25 20:46 patches/packages/linux-5.15.63/kernel-huge-5.15.63-x86_64-1.txz.asc
-rw-r--r-- 1 4015 4015       567 Aug 25 21:10 patches/packages/linux-5.15.63/kernel-modules-5.15.63-x86_64-1.txt
-rw-r--r-- 1 4015 4015  51351084 Aug 25 21:10 patches/packages/linux-5.15.63/kernel-modules-5.15.63-x86_64-1.txz
-rw-r--r-- 1 4015 4015       163 Aug 25 21:10 patches/packages/linux-5.15.63/kernel-modules-5.15.63-x86_64-1.txz.asc
-rw-r--r-- 1 4015 4015       317 Aug 25 20:41 patches/packages/linux-5.15.63/kernel-source-5.15.63-noarch-1.txt
-rw-r--r-- 1 4015 4015 123142872 Aug 25 20:41 patches/packages/linux-5.15.63/kernel-source-5.15.63-noarch-1.txz
-rw-r--r-- 1 4015 4015       163 Aug 25 20:41 patches/packages/linux-5.15.63/kernel-source-5.15.63-noarch-1.txz.asc
This is a slackware64 15.0 VMWare Machine I use for SBo development and testing ( not yet up-to-date )

Code:
[root@slack15 slackware-15.0-64]# pwd ; ls -lad patches/packages/linux-5.15.38/*
/dld/15.0/slackware/slackware-15.0-64
-rw-r--r-- 1 4015 4015       624 May  9 16:06 patches/packages/linux-5.15.38/kernel-generic-5.15.38-x86_64-1.txt
-rw-r--r-- 1 4015 4015   8218112 May  9 16:06 patches/packages/linux-5.15.38/kernel-generic-5.15.38-x86_64-1.txz
-rw-r--r-- 1 4015 4015       163 May  9 16:06 patches/packages/linux-5.15.38/kernel-generic-5.15.38-x86_64-1.txz.asc
-rw-r--r-- 1 4015 4015       332 May  9 16:27 patches/packages/linux-5.15.38/kernel-headers-5.15.38-x86-1.txt
-rw-r--r-- 1 4015 4015   1078936 May  9 16:27 patches/packages/linux-5.15.38/kernel-headers-5.15.38-x86-1.txz
-rw-r--r-- 1 4015 4015       163 May  9 16:27 patches/packages/linux-5.15.38/kernel-headers-5.15.38-x86-1.txz.asc
-rw-r--r-- 1 4015 4015       636 May  9 16:03 patches/packages/linux-5.15.38/kernel-huge-5.15.38-x86_64-1.txt
-rw-r--r-- 1 4015 4015  12157884 May  9 16:03 patches/packages/linux-5.15.38/kernel-huge-5.15.38-x86_64-1.txz
-rw-r--r-- 1 4015 4015       163 May  9 16:03 patches/packages/linux-5.15.38/kernel-huge-5.15.38-x86_64-1.txz.asc
-rw-r--r-- 1 4015 4015       567 May  9 16:27 patches/packages/linux-5.15.38/kernel-modules-5.15.38-x86_64-1.txt
-rw-r--r-- 1 4015 4015  50239932 May  9 16:27 patches/packages/linux-5.15.38/kernel-modules-5.15.38-x86_64-1.txz
-rw-r--r-- 1 4015 4015       163 May  9 16:27 patches/packages/linux-5.15.38/kernel-modules-5.15.38-x86_64-1.txz.asc
-rw-r--r-- 1 4015 4015       317 May  9 15:58 patches/packages/linux-5.15.38/kernel-source-5.15.38-noarch-1.txt
-rw-r--r-- 1 4015 4015 123035916 May  9 15:58 patches/packages/linux-5.15.38/kernel-source-5.15.38-noarch-1.txz
-rw-r--r-- 1 4015 4015       163 May  9 15:58 patches/packages/linux-5.15.38/kernel-source-5.15.38-noarch-1.txz.asc
This is my old Slackware64 14.2 BackUp Server:

Code:
[root@bupbox slackware-14.2-64]# pwd ; ls -la patches/packages/linux-4.4.301/*
/home/dld/slackware/slackware-14.2-64
-rw-r--r-- 1 500 500      624 Jan 31  2022 patches/packages/linux-4.4.301/kernel-generic-4.4.301-x86_64-1.txt
-rw-r--r-- 1 500 500  4901608 Jan 31  2022 patches/packages/linux-4.4.301/kernel-generic-4.4.301-x86_64-1.txz
-rw-r--r-- 1 500 500      163 Jan 31  2022 patches/packages/linux-4.4.301/kernel-generic-4.4.301-x86_64-1.txz.asc
-rw-r--r-- 1 500 500      332 Jan 31  2022 patches/packages/linux-4.4.301/kernel-headers-4.4.301-x86-1.txt
-rw-r--r-- 1 500 500   740496 Jan 31  2022 patches/packages/linux-4.4.301/kernel-headers-4.4.301-x86-1.txz
-rw-r--r-- 1 500 500      163 Jan 31  2022 patches/packages/linux-4.4.301/kernel-headers-4.4.301-x86-1.txz.asc
-rw-r--r-- 1 500 500      636 Jan 31  2022 patches/packages/linux-4.4.301/kernel-huge-4.4.301-x86_64-1.txt
-rw-r--r-- 1 500 500  8358164 Jan 31  2022 patches/packages/linux-4.4.301/kernel-huge-4.4.301-x86_64-1.txz
-rw-r--r-- 1 500 500      163 Jan 31  2022 patches/packages/linux-4.4.301/kernel-huge-4.4.301-x86_64-1.txz.asc
-rw-r--r-- 1 500 500      567 Jan 31  2022 patches/packages/linux-4.4.301/kernel-modules-4.4.301-x86_64-1.txt
-rw-r--r-- 1 500 500 30291960 Jan 31  2022 patches/packages/linux-4.4.301/kernel-modules-4.4.301-x86_64-1.txz
-rw-r--r-- 1 500 500      163 Jan 31  2022 patches/packages/linux-4.4.301/kernel-modules-4.4.301-x86_64-1.txz.asc
-rw-r--r-- 1 500 500      317 Jan 31  2022 patches/packages/linux-4.4.301/kernel-source-4.4.301-noarch-1.txt
-rw-r--r-- 1 500 500 91228512 Jan 31  2022 patches/packages/linux-4.4.301/kernel-source-4.4.301-noarch-1.txz
-rw-r--r-- 1 500 500      163 Jan 31  2022 patches/packages/linux-4.4.301/kernel-source-4.4.301-noarch-1.txz.asc
 
Old 08-26-2022, 12:26 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,061

Rep: Reputation: Disabled
I don't really have a horse in this race as I build kernel packages with customized config files and generally not at the same version as Slackware (of which I use the SlackBuilds with very few modifications, though) , however... I assume that any user needing to build a package should know how to get a source archive @ kernel.org. Fortunately Patrick usually doesn't patch the kernel source, thus I can't remember of an issue doing that.
 
Old 08-26-2022, 09:31 PM   #9
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by kjhambrick View Post
Hmmm ...

I believe the kernel source was always among the other kernel packages in patches/packages/ ?
It is, or more precisely "patches/packages/linux-5.15.63/"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:22 Commomore Linux - Newbie 12 02-05-2019 12:24 AM
After patch a patch to kernel? Do I need to compile whole kernel again? Anders Lind Linux - Kernel 2 02-29-2012 03:40 PM
patching debian stock kernel sources with -mm patch kushalkoolwal Debian 4 08-15-2006 08:52 PM
How to patch kernel sources to 2.6.0? sb73542 Linux - General 4 12-18-2003 05:10 PM
Software Sources Manager, how to add installation cd sources after deletion Lakota Mandriva 1 10-23-2003 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration