[LINUX] A memorandum of kernel compilation

This is a memorandum when compiling the kernel. (Information at 05:00 on 2020) I typed in the following order and compiled it on debian 10.2.0 (x64). Since the restart failed, I am reusing the .config of the current environment.

kernel_compile_memo


sudo apt update
sudo apt install libncurses-dev bison flex libssl-dev
uname -r
cd /usr/src
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.92.tar.xz"
sudo tar -xavf linux-4.19.92.tar.xz
cd linux-4.19.92/
sudo cp -p /boot/config-4.19.0-6-amd64 .config
sudo sed -i .config -e 's/\(CONFIG_SYSTEM_TRUSTED_KEYS\).*$/\1=""/'
sudo make oldconfig
sudo make -j`nproc` bindeb-pkg
cd ..
ls -l *.deb
sudo dpkg -i linux-headers-4.19.92_4.19.92-1_amd64.deb
sudo dpkg -i linux-libc-dev_4.19.92-1_amd64.deb
sudo dpkg -i linux-image-4.19.92_4.19.92-1_amd64.deb
sudo reboot

kernel_download_memo


sudo curl -L -# -O -R -S "https://git.kernel.org/torvalds/t/linux-5.5-rc4.tar.gz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.7.tar.xz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.18.tar.xz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.92.tar.xz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.161.tar.xz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.207.tar.xz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.207.tar.xz"
sudo curl -L -# -O -R -S "https://cdn.kernel.org/pub/linux/kernel/v3.x/linux-3.16.80.tar.xz"

Recommended Posts

A memorandum of kernel compilation
A small memorandum of openpyxl
A memorandum of using eigen3
[Python] A memorandum of beautiful soup4
A memorandum of files under conf.d
A memorandum of closure survey contents
Memorandum of sed
Try to make a kernel of Jupyter
A memorandum of using Python's input function
A memorandum of speed of arbitrary degree diagonalization
A quick overview of the Linux kernel
A memorandum of understanding about django's QueryDict
A memorandum of python string deletion process
A memorandum of trouble when formatting data
A memorandum of calling Python from Common Lisp
A memorandum of studying and implementing deep learning
A memorandum of extraction by python bs4 request
[Linux command] A memorandum of frequently used commands
Memorandum of fastText (editing)
A memorandum about matplotlib
A memorandum about Nan.
elasticsearch_dsl Memorandum of Understanding
A memorandum about the warning of the pylint output result
A memorandum of stumbling on my personal HEROKU & Python (Flask)
A simple sample of pivot_table.
Write a kernel density function
A memorandum about correlation [Python]
[Introduction to AWS] A memorandum of building a web server on AWS
A memorandum about Python mock
A memorandum regarding γ conversion
A brief summary of Linux
A memorandum of understanding for the Python package management tool ez_setup
A memorandum of scraping & machine learning [development technique] by Python (Chapter 4)
A memorandum of scraping & machine learning [development technique] by Python (Chapter 5)
A memorandum regarding the acquisition of the Python3 engineer certification basic exam
A record of patching a python package
A memorandum when using beautiful soup
A good description of Python decorators
Memorandum on Memoization of recursive series
Memorandum of saving and loading model
A memorandum to change to Manjaro Linux
Implementation of a simple particle filter
Implementation of a two-layer neural network 2
[Django] Memorandum of environment construction procedure
A brief summary of Python collections
Memorandum on Memoization of recursive functions
A collection of one-liner web servers
What kind of Kernel is this Kernel?
A small sample note of list_head
Make C compilation a little easier
A rough summary of OS history
A brief summary of qubits (beginners)
A Tour of Go Learning Summary
Memorandum of beginners Python "isdigit" movement
Generate a list of consecutive characters
Semi-definite matrix check of convolution kernel
The story of writing a program
Use a custom kernel with WSL2
A memorandum of JSON Schema notation for dictionaries that take arbitrary keys
A memo for utilizing the unit test mechanism KUnit of the Linux kernel
Memorandum of introduction of EXODUS, a data model of the finite element method (FEM)