FreeBSD 5.5カーネル再構築
参考リンク
http://www.freebsd.org/doc/ja_JP.eucJP/books/handbook/makeworld.html
http://www.alib.jp/FreeBSD/memo_install
http://suken.jp/~tet/FreeBSD/cvsup.rhtml
作業経過メモ
# cd /usr/src
# make installkernel
まで終了。
# cd /usr/src
# mergemaster -siva
# mergemaster -sivr
古い方:left
新しい方:right
Use 'd' to delete the temporary ./etc/mail/freebsd.cf
Use 'i' to install the temporary ./etc/mail/freebsd.cf
Use 'm' to merge the temporary and installed versions
Use 'v' to view the diff results againDefault is to leave the temporary file to deal with by hand
How should I deal with this? [Leave it for later] _
* [d]elete ... 新しいファイルを削除する
* [i]nstall... 新しいファイルをそのままインストールする
* [m]erge ... 新/旧のファイルをsdiffを使って適切に融合する
* [v]iew ... もう一回比較結果を表示する
make installworldの前に
参考リンク
http://starsugar.com/blog/2004/10/16/
http://x68000.q-e-d.net/~68user/unix/pickup?%2Fetc%2Fmaster.passwd
# cd /etc
# pwd_mkdb master.passwd
これをしないままmake installworldをするとproxy userが無いと怒られる。
指定するmaster.passwdを間違えるとユーザ情報が吹っ飛ぶ。
make installworld
途中でエラー発生。
install: rename: /lib/INS@6YIs to /lib/libcrypt.so.2: Operation not permitted
Error code 71
Stop in /usr/src/lib/libcrypt.
Error code 1
/lib以下のlibcrypto.so.2が変更できない。
http://www.jp.freebsd.org/QandA/HTML/596.html
ここを参考に ls -lo でschgフラグの有無を確認。
ファイルフラグschgが付いておりrootユーザでも簡単には変更できない。
(参考)裏でbuild
# nohup make -j4 buildworld && nohup -j4 buildkernel &