システムの更新が終了したところで、例によって、etc-update コマンドにより /etc ディレクトリ内のいくつかの設定ファイルを自動書き換えした。
# etc-update
Scanning Configuration files...
Automerging trivial changes in: /etc/fonts/conf.avail/25-unhint-nonlatin.conf
Automerging trivial changes in: /etc/fonts/conf.avail/30-metric-aliases.conf
Automerging trivial changes in: /etc/fonts/conf.avail/30-urw-aliases.conf
Automerging trivial changes in: /etc/fonts/conf.avail/90-synthetic.conf
Automerging trivial changes in: /etc/pam.d/system-auth
Automerging trivial changes in: /etc/portage/savedconfig/sys-apps/busybox-1.15.3
Automerging trivial changes in: /etc/ssh/ssh_config
Automerging trivial changes in: /etc/ssh/sshd_config
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/DIR_COLORS (1)
2) /etc/X11/xorg.conf.example (1)
3) /etc/dbus-1/session.conf (1)
4) /etc/dbus-1/system.conf (1)
5) /etc/fonts/conf.avail/45-latin.conf (1)
6) /etc/fonts/conf.avail/50-user.conf (1)
7) /etc/fonts/conf.avail/60-latin.conf (1)
8) /etc/fonts/conf.avail/65-fonts-persian.conf (1)
9) /etc/fonts/conf.avail/65-nonlatin.conf (1)
10) /etc/pam.d/system-services (1)
11) /etc/ssl/misc/CA.sh (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): -5
Replacing /etc/DIR_COLORS with /etc/._cfg0000_DIR_COLORS
Replacing /etc/X11/xorg.conf.example with /etc/X11/._cfg0000_xorg.conf.example
Replacing /etc/dbus-1/session.conf with /etc/dbus-1/._cfg0000_session.conf
Replacing /etc/dbus-1/system.conf with /etc/dbus-1/._cfg0000_system.conf
Replacing /etc/fonts/conf.avail/45-latin.conf with /etc/fonts/conf.avail/._cfg0000_45-latin.conf
Replacing /etc/fonts/conf.avail/50-user.conf with /etc/fonts/conf.avail/._cfg0000_50-user.conf
Replacing /etc/fonts/conf.avail/60-latin.conf with /etc/fonts/conf.avail/._cfg0000_60-latin.conf
Replacing /etc/fonts/conf.avail/65-fonts-persian.conf with /etc/fonts/conf.avail/._cfg0000_65-fonts-persian.conf
Replacing /etc/fonts/conf.avail/65-nonlatin.conf with /etc/fonts/conf.avail/._cfg0000_65-nonlatin.conf
Replacing /etc/pam.d/system-services with /etc/pam.d/._cfg0000_system-services
Replacing /etc/ssl/misc/CA.sh with /etc/ssl/misc/._cfg0000_CA.sh
Exiting: Nothing left to do; exiting. :)
次に、revdep-rebuild を実行。これも問題無し。
今回更新されたソフトのうちで、ポイントは x11-base/xorg-server と sys-kernel/gentoo-sources の2つだ。
まず、xorg-server に関しては、入出力ドライバの再インストールが必要である。
以下のような2つのドライバが対象だ。
xf86-input-evdev
xf86-video-fbdev
下記のコマンドで再インストールした。
# emerge xf86-input-evdev xf86-video-fbdev
つづいて、カーネルの更新を行った。手順は 以前おこなった再構築 と同じである。
最後に、ブートローダ grub の設定ファイル(/boot/grub/grub.conf)を修正した(下記リスト参照)。
今回新たに構築したバージョン 2.6.32-r7 に関する記述を追加した。
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
root (hd0,0)
title Gentoo Linux 2.6.32-r7
kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 vga=0x317 root=/dev/ram0 real_root=/dev/hda3
initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7
title Gentoo Linux 2.6.31-r10
kernel /boot/kernel-genkernel-x86-2.6.31-gentoo-r10 vga=0x317 root=/dev/ram0 real_root=/dev/hda3
initrd /boot/initramfs-genkernel-x86-2.6.31-gentoo-r10
# vim:ft=conf:
ここでは、システムのブート時に、既存のバージョン 2.6.31-r10 と新規に構築した 2.6.32-r7 の選択ができるようにしてある。
しばらく新しいカーネルを使用してみて、問題がなければ 2.6.31-r10 に関する部分は削除してもいいだろう。
|