カーネルパケジ作ってみる

とりあえず 3.7 なカーネルを clone します。

$ git clone git://github.com/torvalds/linux.git

make-kpkg どうやるんだったか忘却の彼方。。

とりあえず

clone 終了して 3.7 なタグをアレ。

$ git checkout v3.7
Checking out files: 100% (10525/10525), done.
Note: checking out 'v3.7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 2959440... Linux 3.7
$

で、fs の中を ls してみたら f2fs がまだ無い。仕方が無いのでエッヂ対象にして云々するか。で、とりあえず現行の config をコピィして menuconfig を。

$ cp /boot/config-3.2.31-yamanetoshi-20121118 .config
$ make menuconfig

とりあえず f2fs はカーネルに、て File system -> Miscellaneous filesystem -> F2FS を有効にして以下か。

$ sudo make-kpkg --initrd --append-to-version=-yamanetoshi-20121224 kernel-image kernel-headers

夜には何とかなるのかどうか。

できた

導入して再起動してみるか。と、言いつつ明日以降で云々かな。今日はスデにしんどい。