[Solve]How to package a kernel and its dependencies/modules?
Posted: 9. Jul 2015, 21:40
Good day!
I'm trying to create a package for the kernel 4.1.1 (huge) following the steps indicated in the wiki (http://docs.salixos.org/wiki/How_to_compile_kernel), taking the Pat's configuration file for this version (ftp://ftp.slackware.com/pub/slackware/s ... -4.1.1.x64) as well as his SlackBuild (ftp://ftp.slackware.com/pub/slackware/s ... .18.11.x64) modifying only the version that appears into the SlackBuild file.
For now I've done is this:
I downloaded the kernel source code (tar.xz file) and I unzipped the file in my home dir.
In the working directory (linux-4.1.1), I've done is this:
I downloaded the config-huge-4.1.1.x64 file and I renamed as .config.
Then:
This process was undertaken properly. Next, I downloaded the following files in the working folder: slack-desc, kernel-huge.SlackBuild and I ran the following:
the package is created as expected but when reviewing its content, in the directory boot (into the created package) only appear the following: config-huge-4.1.1, System.map-huge-4.1.1, is to say, vmlinux is missing. I must say that I also tested following:
with the same results.
Am I missing something? Is there something (tutorial, SlackBuild/slkbuild) that I can base to build the firmware packages and modules as well?
Thanks in advance!
I'm trying to create a package for the kernel 4.1.1 (huge) following the steps indicated in the wiki (http://docs.salixos.org/wiki/How_to_compile_kernel), taking the Pat's configuration file for this version (ftp://ftp.slackware.com/pub/slackware/s ... -4.1.1.x64) as well as his SlackBuild (ftp://ftp.slackware.com/pub/slackware/s ... .18.11.x64) modifying only the version that appears into the SlackBuild file.
For now I've done is this:
I downloaded the kernel source code (tar.xz file) and I unzipped the file in my home dir.
In the working directory (linux-4.1.1), I've done is this:
Code: Select all
make mrproper
Then:
Code: Select all
make oldconfig
make
Code: Select all
fakeroot ./kernel-huge.SlackBuild
Code: Select all
sudo ./kernel-huge.SlackBuild
Am I missing something? Is there something (tutorial, SlackBuild/slkbuild) that I can base to build the firmware packages and modules as well?
Thanks in advance!