Building Debian Kernel from Vanilla sources

If none of the more specific forums is the right place to ask

Building Debian Kernel from Vanilla sources

Postby modo72 » 2020-12-03 17:56

Hello everybody. I try to build a Kernel from the latest Vanilla Kernel sources. There are several solutions out there, but did not match in my case. After untar the archive and copy the config from /boot directory and invoking make oldconfig (and some minor changes in order to get more debugging facilities) I did this:
sudo make -j3 deb-pkg LOCALVERSION=-debian0 KDEB_PKGVERSION=$(make kernelversion)-1


But after some build time I got this:
make[4]: *** No rule to make target 'n', needed by 'certs/x509_certificate_list'. Stop.
Makefile:1784: recipe for target 'certs' failed

make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2

These are the fields in the config files which are matter:
    # Certificates for signature checking
    #
    CONFIG_MODULE_SIG_KEY="n"
    CONFIG_SYSTEM_TRUSTED_KEYRING=y
    CONFIG_SYSTEM_TRUSTED_KEYS="n"
    # CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
    CONFIG_SECONDARY_TRUSTED_KEYRING=y
    CONFIG_SYSTEM_BLACKLIST_KEYRING=y
    CONFIG_SYSTEM_BLACKLIST_HASH_LIST=""
    # end of Certificates for signature checking
I commented the upper three fields out, but there were reissued again during the build process. How can I stop this?
Is there anything what I missed?

Thank you

/Christian
User avatar
modo72
 
Posts: 15
Joined: 2012-02-18 13:28

Re: Building Debian Kernel from Vanilla sources

Postby MagicPoulp » 2020-12-09 08:04

This doc can help you.
https://www.debian.org/doc/manuals/debi ... rg-package

They use the word pristine. But they mean like vanilla.

https://www.dictionary.com/browse/pristine?s=t
pristine
[ pris-teen, pri-steen; especially British pris-tahyn ]
SEE SYNONYMS FOR pristine ON THESAURUS.COM
adjective
1 having its original purity; uncorrupted or unsullied.
2 of or relating to the earliest period or state; primitive.
MagicPoulp
 
Posts: 423
Joined: 2018-11-05 21:30


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable