from-****@i-lov*****
from-****@i-lov*****
2007年 10月 2日 (火) 18:02:28 JST
熊猫です。 Ubuntu 7.04 で /lib/firmware/ 込みのカーネルパッケージの作成に成功しました。 うまくいかないな〜と思ったら、 debian/post-install に実行許可ビットが立っていなかったのが原因のようです。 2.6.20-16-generic を 2.6.20.3-ubuntu1-tomoyo1.5.0-i586 にしてしまうより 2.6.20-16-generic-tomoyo1.5.0-i586 みたいにするほうがいいかなぁ? cd apt-get build-dep linux-image-2.6.20-16-generic apt-get source linux-image-2.6.20-16-generic cd linux-source-2.6.20-2.6.20/ : apply patch and copy config here sed -i -e 's/^EXTRAVERSION =.*/EXTRAVERSION = .3-ubuntu1-tomoyo1.5.0/' -- Makefile sed -i -e 's/^Package: linux-image-2\.6\.20-16-generic/Package: linux-image-2.6.20.3-ubuntu1-tomoyo1.5.0-i586/' \ -e 's/^Package: linux-headers-2\.6\.20-16-generic/Package: linux-headers-2.6.20.3-ubuntu1-tomoyo1.5.0/' \ -e 's/^Package: linux-image-debug-2\.6\.20-16-generic/Package: linux-image-debug-2.6.20.3-ubuntu1-tomoyo1.5.0/' \ -- debian/control chmod +x debian/post-install make -s oldconfig export CONCURRENCY_LEVEL=`grep -c '^processor' /proc/cpuinfo` UBUNTUBUILD=1 DEBIAN_SRCTOP=~/linux-source-2.6.20-2.6.20/ make-kpkg --subarch i586 --arch-in-name --initrd kernel-image