0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

dockerでlinux kernel build

Last updated at Posted at 2022-11-17

DockerでLinuxカーネルのビルドをしてみよう

<この項は書きかけです。順次追記します。>

bash
$ docker run -it gcc /bin/bash

dockerで

bash
# apt update; apt -y upgrade
# grep '^deb ' /etc/apt/sources.list | sed 's/^deb/deb-src/g' > /etc/apt/sources.list.d/deb-src.list
# apt install -y git ccache fakeroot libncurses5-dev
# git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git /build-kernel/linux
# apt  build-dep -y linux


 
 <この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>

# 文書履歴(document history)
ver. 0.01 初稿  20221117
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?