[[FrontPage]]
FreeBSD 6.3 が出ているようなので、UPすることにした。

まずは、ソースファイルの調達。~
/root/CVSUP/6_3/cvsup-releng_6_3.sh~
/root/CVSUP/6_3/releng_6_3-supfile~
などを用意する。とは言っても、6_2を6_3へ文字列置換するだけ・・・^^
 #./cvsup-releng_6_3.sh
 CVSup for RELENG_6_3:
 ========================================================================
 -=(oooooo)=(cvsup6.jp.freebsd.org)=-
 
 Parsing supfile "/root/CVSUP/6_3/releng_6_3-supfile"
 Connecting to cvsup6.jp.freebsd.org
 Connected to cvsup6.jp.freebsd.org
 Server software version: SNAP_16_1h
 Negotiating file attribute support
 Exchanging collection information
 Establishing multiplexed-mode data connection
 Running
 Updating collection src-all/cvs
 
 ========================================================================
 UPDATING
 ------------------------------------------------------------------------
 20080118:
         FreeBSD 6.3-RELEASE
 
 20080118:               FreeBSD-SA-08:01.pty, FreeBSD-SA-08:02.libc
         Fix issues which allow snooping on ptys. [08:01]
         Fix an off-by-one error in inet_network(3). [08:02]
 
 20071129:               FreeBSD-SA-07:09.random
         Correct a random value disclosure in random(4).
 
 20071127:
         The AT keyboard emulation of sunkbd(4) has been turned on
         by default. In order to make the special symbols of the Sun
         keyboards driven by sunkbd(4) work under X these now have
         to be configured the same way as Sun USB keyboards driven

*ビルド前の準備 [#j3da1816]
実際にビルドを行う前に、
 # mergemaster -p
を行って、ビルドに必要な環境が整っているか確認。
*必要なファイルのバックアップ等 [#xc08f000]
この間に、/etcの内容などは、万が一に備えてバックアップしておいた方が安全だと思う。
 # cd /var/tmp
 # touch backup-etc.tar.gz
 # chmod 600 backup-etc.tar.gz
 # tar zcf ./backup-etc.tar.gz /etc
カーネルのコンフィギュレーション ファイルの変更点も何かと参考になる。

6.2Rと6.3R間の/sys/i386/conf/GENERICの変更点
*ビルド [#p32221c1]
同期したソースは、通常、/usr/srcのディレクトリ以下に置かれる。~
念のために
 # chflags -R noschg /usr/obj/usr
 # rm -rf /usr/obj/usr
しておく。
 # cd /usr/src
 # time make -j16 buildworld    # ベースシステムをビルド 0934-0949 15分
 # time make -j16 buildkernel KERNCONF=TFC
 # time make installkernel  KERNCONF=TFC
を実行。
 #reboot
 #uname -a 
 FreeBSD FreeBSD 6.3-RELEASE #0: Wed Feb  6 13:38:30 JST 2008
 /usr/obj/usr/src/sys/TFC  amd64

 # cd /usr/src
 # time make installworld  # ベースシステムのインストール
 # mv /etc.old /etc.old1   #
 # cp -Rp /etc /etc.old  # /etc のバックアップ
 # mergemaster -siv  # /etc の更新

# make check-old
 # make check-old
 >>> Checking for old files
 /usr/share/info/bzip2.info.gz
 /etc/namedb/PROTO.localhost-v6.rev
 /etc/namedb/PROTO.localhost.rev
 /etc/namedb/make-localhost
 /usr/share/examples/netgraph/bluetooth/rc.bluetooth
 /usr/share/man/man4/kame.4.gz
 /usr/share/man/man3/archive_write_prepare.3.gz
 >>> Checking for old libraries
 >>> Checking for old directories
 To remove old files and directories run '/usr/obj/usr/src/make.amd64/make delete-old'.
 To remove old libraries run '/usr/obj/usr/src/make.amd64/make delete-old-libs'.

*/etc/crontab を変更しておく [#g4bd5561]
 #30	3	*	*	*	root	/root/CVSUP/6_2/cvsup-releng_6_2.sh
 30	3	*	*	*	root	/root/CVSUP/6_3/cvsup-releng_6_3.sh

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS