体験!マイコンボードで組込みLinux

第18回Fedora Coreの導入その2]

パッケージを絞る

FedoraCoreのパッケージはデスクトップPCを前提にしているため、組込みボードでは不要なパッケージが数多くあります。組込みボードで不要なパッケージについては、最終的には正確に内容を精査していかなければなりませんが、今回は精査をせずにパッケージ名から明らかに不要と思われるパッケージを削減します。

T-SH7706LSRはビデオカードが搭載されていないので、GUI関連のパッケージは不要です。また制御用途のため、ハードウェア機能とは直接関係ありませんが、多言語関連のパッケージも削減対象にします。

GUI関連のパッケージは以下の項目を元に抽出します。

  • GNOME/gtk関連
  • KDE/Qt関連
  • X関連
  • 明らかにGUIと思われるパッケージ

gnomeと名称のついたものは以下のとおりです。

gnome-audio-2.0.0-4.noarch.rpm
gnome-audio-extra-2.0.0-4.noarch.rpm
gnome-backgrounds-2.16.1-1.fc7.noarch.rpm
gnome-bluetooth-0.8.0-4.fc7.sh3.rpm
gnome-bluetooth-devel-0.8.0-4.fc7.sh3.rpm
gnome-bluetooth-libs-0.8.0-4.fc7.sh3.rpm
gnome-desktop-2.18.0-4.fc7.sh3.rpm
gnome-desktop-devel-2.18.0-4.fc7.sh3.rpm
gnome-doc-utils-0.10.3-1.fc7.noarch.rpm
gnome-icon-theme-2.18.0-1.fc7.noarch.rpm
gnome-keyring-0.8-1.fc7.sh3.rpm
gnome-keyring-devel-0.8-1.fc7.sh3.rpm
gnome-keyring-manager-2.18.0-1.fc7.sh3.rpm
gnome-mag-0.14.3-1.fc7.sh3.rpm
gnome-mag-devel-0.14.3-1.fc7.sh3.rpm
gnome-media-2.18.0-3.fc7.sh3.rpm
gnome-media-devel-2.18.0-3.fc7.sh3.rpm
gnome-menus-2.18.0-1.fc7.sh3.rpm
gnome-menus-devel-2.18.0-1.fc7.sh3.rpm
gnome-mime-data-2.18.0-2.fc7.noarch.rpm
gnome-mount-0.6-2.fc7.sh3.rpm
gnome-mount-devel-0.6-2.fc7.sh3.rpm
gnome-mount-nautilus-properties-0.6-2.fc7.sh3.rpm
gnome-nettool-2.18.0-1.fc7.sh3.rpm
gnome-pilot-2.0.15-5.fc7.sh3.rpm
gnome-pilot-devel-2.0.15-5.fc7.sh3.rpm
gnome-power-manager-2.18.2-4.fc7.sh3.rpm
gnome-python2-2.18.1-1.fc7.sh3.rpm
gnome-python2-applet-2.18.0-1.fc7.sh3.rpm
gnome-python2-bonobo-2.18.1-1.fc7.sh3.rpm
gnome-python2-bugbuddy-2.18.0-1.fc7.sh3.rpm
gnome-python2-canvas-2.18.1-1.fc7.sh3.rpm
gnome-python2-desktop-2.18.0-1.fc7.sh3.rpm
gnome-python2-devel-2.18.1-1.fc7.sh3.rpm
gnome-python2-extras-2.14.3-2.fc7.sh3.rpm
gnome-python2-gconf-2.18.1-1.fc7.sh3.rpm
gnome-python2-gnomedesktop-2.18.0-1.fc7.sh3.rpm
gnome-python2-gnomekeyring-2.18.0-1.fc7.sh3.rpm
gnome-python2-gnomeprint-2.18.0-1.fc7.sh3.rpm
gnome-python2-gnomevfs-2.18.1-1.fc7.sh3.rpm
gnome-python2-gtkhtml2-2.14.3-2.fc7.sh3.rpm
gnome-python2-gtkmozembed-2.14.3-2.fc7.sh3.rpm
gnome-python2-gtksourceview-2.18.0-1.fc7.sh3.rpm
gnome-python2-gtkspell-2.14.3-2.fc7.sh3.rpm
gnome-python2-libegg-2.14.3-2.fc7.sh3.rpm
gnome-python2-libgtop2-2.18.0-1.fc7.sh3.rpm
gnome-python2-libwnck-2.18.0-1.fc7.sh3.rpm
gnome-python2-metacity-2.18.0-1.fc7.sh3.rpm
gnome-python2-nautilus-cd-burner-2.18.0-1.fc7.sh3.rpm
gnome-python2-rsvg-2.18.0-1.fc7.sh3.rpm
gnome-python2-totem-2.18.0-1.fc7.sh3.rpm
gnome-screensaver-2.18.0-13.fc7.sh3.rpm
gnome-session-2.18.0-7.fc7.sh3.rpm
gnome-spell-1.0.7-4.fc7.sh3.rpm
gnome-system-monitor-2.18.0-1.fc7.sh3.rpm
gnome-terminal-2.18.0-1.fc7.sh3.rpm
gnome-themes-2.18.0-1.fc7.noarch.rpm
gnome-user-share-0.11-2.fc7.sh3.rpm
gnome-utils-2.18.0-1.fc7.sh3.rpm
gnome-utils-devel-2.18.0-1.fc7.sh3.rpm
gnome-vfs2-2.18.1-4.fc7.sh3.rpm
gnome-vfs2-devel-2.18.1-4.fc7.sh3.rpm
gnome-vfs2-smb-2.18.1-4.fc7.sh3.rpm
gnome-volume-manager-2.17.0-7.fc7.sh3.rpm
[general@skyhawk fc7_rpm]$ ls *gnome*
NetworkManager-gnome-0.6.5-2.fc7.sh3.rpm
bluez-gnome-0.6-2.fc7.sh3.rpm
gnome-audio-2.0.0-4.noarch.rpm
gnome-audio-extra-2.0.0-4.noarch.rpm
gnome-backgrounds-2.16.1-1.fc7.noarch.rpm
gnome-bluetooth-0.8.0-4.fc7.sh3.rpm
gnome-bluetooth-devel-0.8.0-4.fc7.sh3.rpm
gnome-bluetooth-libs-0.8.0-4.fc7.sh3.rpm
gnome-desktop-2.18.0-4.fc7.sh3.rpm
gnome-desktop-devel-2.18.0-4.fc7.sh3.rpm
gnome-doc-utils-0.10.3-1.fc7.noarch.rpm
gnome-icon-theme-2.18.0-1.fc7.noarch.rpm
gnome-keyring-0.8-1.fc7.sh3.rpm
gnome-keyring-devel-0.8-1.fc7.sh3.rpm
gnome-keyring-manager-2.18.0-1.fc7.sh3.rpm
gnome-mag-0.14.3-1.fc7.sh3.rpm
gnome-mag-devel-0.14.3-1.fc7.sh3.rpm
gnome-media-2.18.0-3.fc7.sh3.rpm
gnome-media-devel-2.18.0-3.fc7.sh3.rpm
gnome-menus-2.18.0-1.fc7.sh3.rpm
gnome-menus-devel-2.18.0-1.fc7.sh3.rpm
gnome-mime-data-2.18.0-2.fc7.noarch.rpm
gnome-mount-0.6-2.fc7.sh3.rpm
gnome-mount-devel-0.6-2.fc7.sh3.rpm
gnome-mount-nautilus-properties-0.6-2.fc7.sh3.rpm
gnome-nettool-2.18.0-1.fc7.sh3.rpm
gnome-pilot-2.0.15-5.fc7.sh3.rpm
gnome-pilot-devel-2.0.15-5.fc7.sh3.rpm
gnome-power-manager-2.18.2-4.fc7.sh3.rpm
gnome-python2-2.18.1-1.fc7.sh3.rpm
gnome-python2-applet-2.18.0-1.fc7.sh3.rpm
gnome-python2-bonobo-2.18.1-1.fc7.sh3.rpm
gnome-python2-bugbuddy-2.18.0-1.fc7.sh3.rpm
gnome-python2-canvas-2.18.1-1.fc7.sh3.rpm
gnome-python2-desktop-2.18.0-1.fc7.sh3.rpm
gnome-python2-devel-2.18.1-1.fc7.sh3.rpm
gnome-python2-extras-2.14.3-2.fc7.sh3.rpm
gnome-python2-gconf-2.18.1-1.fc7.sh3.rpm
gnome-python2-gnomedesktop-2.18.0-1.fc7.sh3.rpm
gnome-python2-gnomekeyring-2.18.0-1.fc7.sh3.rpm
gnome-python2-gnomeprint-2.18.0-1.fc7.sh3.rpm
gnome-python2-gnomevfs-2.18.1-1.fc7.sh3.rpm
gnome-python2-gtkhtml2-2.14.3-2.fc7.sh3.rpm
gnome-python2-gtkmozembed-2.14.3-2.fc7.sh3.rpm
gnome-python2-gtksourceview-2.18.0-1.fc7.sh3.rpm
gnome-python2-gtkspell-2.14.3-2.fc7.sh3.rpm
gnome-python2-libegg-2.14.3-2.fc7.sh3.rpm
gnome-python2-libgtop2-2.18.0-1.fc7.sh3.rpm
gnome-python2-libwnck-2.18.0-1.fc7.sh3.rpm
gnome-python2-metacity-2.18.0-1.fc7.sh3.rpm
gnome-python2-nautilus-cd-burner-2.18.0-1.fc7.sh3.rpm
gnome-python2-rsvg-2.18.0-1.fc7.sh3.rpm
gnome-python2-totem-2.18.0-1.fc7.sh3.rpm
gnome-screensaver-2.18.0-13.fc7.sh3.rpm
gnome-session-2.18.0-7.fc7.sh3.rpm
gnome-spell-1.0.7-4.fc7.sh3.rpm
gnome-system-monitor-2.18.0-1.fc7.sh3.rpm
gnome-terminal-2.18.0-1.fc7.sh3.rpm
gnome-themes-2.18.0-1.fc7.noarch.rpm
gnome-user-share-0.11-2.fc7.sh3.rpm
gnome-utils-2.18.0-1.fc7.sh3.rpm
gnome-utils-devel-2.18.0-1.fc7.sh3.rpm
gnome-vfs2-2.18.1-4.fc7.sh3.rpm
gnome-vfs2-devel-2.18.1-4.fc7.sh3.rpm
gnome-vfs2-smb-2.18.1-4.fc7.sh3.rpm
gnome-volume-manager-2.17.0-7.fc7.sh3.rpm
hal-gnome-0.5.9-8.fc7.sh3.rpm
libgail-gnome-1.18.0-2.fc7.sh3.rpm
libgail-gnome-devel-1.18.0-2.fc7.sh3.rpm
libgnome-2.18.0-4.fc7.sh3.rpm
libgnome-devel-2.18.0-4.fc7.sh3.rpm
libgnomecanvas-2.14.0-5.fc7.sh3.rpm
libgnomecanvas-devel-2.14.0-5.fc7.sh3.rpm
libgnomecups-0.2.2-8.sh3.rpm
libgnomecups-devel-0.2.2-8.sh3.rpm
libgnomekbd-2.18.0-1.fc7.sh3.rpm
libgnomekbd-devel-2.18.0-1.fc7.sh3.rpm
libgnomeprint22-2.18.0-1.fc7.sh3.rpm
libgnomeprint22-devel-2.18.0-1.fc7.sh3.rpm
libgnomeprintui22-2.18.0-1.fc7.sh3.rpm
libgnomeprintui22-devel-2.18.0-1.fc7.sh3.rpm
libgnomeui-2.18.1-2.fc7.sh3.rpm
libgnomeui-devel-2.18.1-2.fc7.sh3.rpm
libgsf-gnome-1.14.3-4.fc7.sh3.rpm
libgsf-gnome-devel-1.14.3-4.fc7.sh3.rpm
libopenraw-gnome-0.0.2-5.fc7.sh3.rpm
libopenraw-gnome-devel-0.0.2-5.fc7.sh3.rpm
ntfsprogs-gnomevfs-1.13.1-3.fc7.sh3.rpm
wireshark-gnome-0.99.5-1.fc7.sh3.rp

gtkと名称のついたものは以下のとおりです。

GConf2-gtk-2.18.0.1-2.fc7.sh3.rpm
authconfig-gtk-5.3.13-4.fc7.sh3.rpm
ghostscript-gtk-8.15.4-3.fc7.sh3.rpm
gnome-python2-gtkhtml2-2.14.3-2.fc7.sh3.rpm
gnome-python2-gtkmozembed-2.14.3-2.fc7.sh3.rpm
gnome-python2-gtksourceview-2.18.0-1.fc7.sh3.rpm
gnome-python2-gtkspell-2.14.3-2.fc7.sh3.rpm
gtk+-1.2.10-57.fc7.sh3.rpm
gtk+-devel-1.2.10-57.fc7.sh3.rpm
gtk-doc-1.8-2.fc7.noarch.rpm
gtk2-2.10.11-7.fc7.sh3.rpm
gtk2-devel-2.10.11-7.fc7.sh3.rpm
gtk2-engines-2.10.0-3.fc7.sh3.rpm
gtkhtml2-2.11.0-4.sh3.rpm
gtkhtml2-devel-2.11.0-4.sh3.rpm
gtkhtml3-3.14.1-1.fc7.sh3.rpm
gtkhtml3-devel-3.14.1-1.fc7.sh3.rpm
gtksourceview-1.8.5-1.fc7.sh3.rpm
gtksourceview-devel-1.8.5-1.fc7.sh3.rpm
gtkspell-2.0.11-3.fc7.sh3.rpm
gtkspell-devel-2.0.11-3.fc7.sh3.rpm
mtr-gtk-0.72-2.sh3.rpm
pinentry-gtk-0.7.2-14.fc7.sh3.rpm
pygtk2-2.10.4-2.fc7.sh3.rpm
pygtk2-codegen-2.10.4-2.fc7.sh3.rpm
pygtk2-devel-2.10.4-2.fc7.sh3.rpm
pygtk2-libglade-2.10.4-2.fc7.sh3.rpm
scim-bridge-gtk-0.4.10-1.fc7.sh3.rpm
scim-gtk-1.4.5-18.fc7.sh3.rpm
usermode-gtk-1.91.1-1.sh3.rpm

ただし、以下についてはシャットダウン時に必要なので削減対象から外します。

  • gtk2-2.10.11-7.fc7.sh3.rpm

kdeと名称のついたものは以下のとおりです。

kde-i18n-Arabic-3.5.6-1.fc7.noarch.rpm
kde-i18n-Bengali-3.5.6-1.fc7.noarch.rpm
kde-i18n-Brazil-3.5.6-1.fc7.noarch.rpm
kde-i18n-British-3.5.6-1.fc7.noarch.rpm
kde-i18n-Bulgarian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Catalan-3.5.6-1.fc7.noarch.rpm
kde-i18n-Chinese-3.5.6-1.fc7.noarch.rpm
kde-i18n-Chinese-Big5-3.5.6-1.fc7.noarch.rpm
kde-i18n-Czech-3.5.6-1.fc7.noarch.rpm
kde-i18n-Danish-3.5.6-1.fc7.noarch.rpm
kde-i18n-Dutch-3.5.6-1.fc7.noarch.rpm
kde-i18n-Estonian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Finnish-3.5.6-1.fc7.noarch.rpm
kde-i18n-French-3.5.6-1.fc7.noarch.rpm
kde-i18n-German-3.5.6-1.fc7.noarch.rpm
kde-i18n-Greek-3.5.6-1.fc7.noarch.rpm
kde-i18n-Hebrew-3.5.6-1.fc7.noarch.rpm
kde-i18n-Hindi-3.5.6-1.fc7.noarch.rpm
kde-i18n-Hungarian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Icelandic-3.5.6-1.fc7.noarch.rpm
kde-i18n-Italian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Japanese-3.5.6-1.fc7.noarch.rpm
kde-i18n-Korean-3.5.6-1.fc7.noarch.rpm
kde-i18n-Lithuanian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Norwegian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Norwegian-Nynorsk-3.5.6-1.fc7.noarch.rpm
kde-i18n-Polish-3.5.6-1.fc7.noarch.rpm
kde-i18n-Portuguese-3.5.6-1.fc7.noarch.rpm
kde-i18n-Punjabi-3.5.6-1.fc7.noarch.rpm
kde-i18n-Romanian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Russian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Serbian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Slovak-3.5.6-1.fc7.noarch.rpm
kde-i18n-Slovenian-3.5.6-1.fc7.noarch.rpm
kde-i18n-Spanish-3.5.6-1.fc7.noarch.rpm
kde-i18n-Swedish-3.5.6-1.fc7.noarch.rpm
kde-i18n-Tamil-3.5.6-1.fc7.noarch.rpm
kde-i18n-Turkish-3.5.6-1.fc7.noarch.rpm
kde-i18n-Ukrainian-3.5.6-1.fc7.noarch.rpm
kde-settings-3.5-28.fc7.1.noarch.rpm
kde-settings-kdm-3.5-28.fc7.1.noarch.rpm
kdeaccessibility-3.5.6-3.fc7.sh3.rpm
kdeaccessibility-devel-3.5.6-3.fc7.sh3.rpm
kdeaddons-3.5.6-4.fc7.sh3.rpm
kdeaddons-extras-3.5.6-4.fc7.sh3.rpm
kdebase-3.5.6-12.fc7.sh3.rpm
kdebase-devel-3.5.6-12.fc7.sh3.rpm
kdebase-extras-3.5.6-12.fc7.sh3.rpm
kdelibs-3.5.6-9.fc7.sh3.rpm
kdelibs-apidocs-3.5.6-9.fc7.sh3.rpm
kdelibs-devel-3.5.6-9.fc7.sh3.rpm
kdenetwork-3.5.6-5.fc7.sh3.rpm
kdenetwork-devel-3.5.6-5.fc7.sh3.rpm
kdenetwork-extras-3.5.6-5.fc7.sh3.rpm
kdenetwork-nowlistening-3.5.6-5.fc7.sh3.rpm
lockdev-1.0.1-11.fc7.sh3.rpm
lockdev-devel-1.0.1-11.fc7.sh3.rpm
redhat-artwork-kde-7.0.0-9.fc7.sh3.rpm
unixODBC-kde-2.2.12-2.fc7.sh3.rpm
wordtrans-kde-1.1-0.2.pre13.fc7.sh3.rpm

qtと名称のついたものは以下のとおりです。

avahi-qt3-0.6.17-1.fc7.sh3.rpm
avahi-qt3-devel-0.6.17-1.fc7.sh3.rpm
dbus-qt-0.70-1.fc7.sh3.rpm
dbus-qt-devel-0.70-1.fc7.sh3.rpm
pinentry-qt-0.7.2-14.fc7.sh3.rpm
poppler-qt-0.5.4-7.fc7.sh3.rpm
poppler-qt-devel-0.5.4-7.fc7.sh3.rpm
qt-3.3.8-4.fc7.sh3.rpm
qt-MySQL-3.3.8-4.fc7.sh3.rpm
qt-ODBC-3.3.8-4.fc7.sh3.rpm
qt-PostgreSQL-3.3.8-4.fc7.sh3.rpm
qt-config-3.3.8-4.fc7.sh3.rpm
qt-designer-3.3.8-4.fc7.sh3.rpm
qt-devel-3.3.8-4.fc7.sh3.rpm
qt-devel-docs-3.3.8-4.fc7.sh3.rpm
qt-sqlite-3.3.8-4.fc7.sh3.rpm
scim-bridge-qt-0.4.10-1.fc7.sh3.rpm
PyQt-3.17.1-1.fc7.sh3.rpm
PyQt-devel-3.17.1-1.fc7.sh3.rpm
PyQt-examples-3.17.1-1.fc7.sh3.rpm

このような単純な抽出でも、かなりのパッケージの数が削減できます。

X関連として、xで始まる名称のものが削減対象となりますが、X関連ライブラリはシャットダウン時に使用されるので削減対象から外します。

xchat-2.6.6-9.fc7.sh3.rpm
xdelta-1.1.4-1.fc7.sh3.rpm
xdelta-devel-1.1.4-1.fc7.sh3.rpm
xdg-user-dirs-0.8-1.fc7.sh3.rpm
xdg-utils-1.0.1-3.fc7.noarch.rpm
xemacs-packages-base-20061221-1.fc7.noarch.rpm
xemacs-packages-base-el-20061221-1.fc7.noarch.rpm
xfce4-dev-tools-4.4.0-1.fc7.noarch.rpm
xfce4-icon-theme-4.4.1-1.fc7.noarch.rpm
xfsprogs-2.8.18-3.fc7.sh3.rpm
xfsprogs-devel-2.8.18-3.fc7.sh3.rpm
xgnokii-0.6.14-3.fc7.sh3.rpm
xhtml1-dtds-1.0-7.1.1.noarch.rpm
xisdnload-3.2-54.fc7.sh3.rpm
xkeyboard-config-0.8-7.fc7.noarch.rpm
xml-common-0.6.3-20.fc7.noarch.rpm
xmltex-20020625-8.noarch.rpm
xmlto-0.0.18-13.1.sh3.rpm
xmms-1.2.10-36.fc7.sh3.rpm
xmms-devel-1.2.10-36.fc7.sh3.rpm
xmms-esd-1.2.10-36.fc7.sh3.rpm
xmms-libs-1.2.10-36.fc7.sh3.rpm
xorg-sgml-doctools-1.1.1-1.fc7.noarch.rpm
xorg-x11-apps-7.1-4.fc7.sh3.rpm
xorg-x11-drv-keyboard-1.1.0-3.fc7.sh3.rpm
xorg-x11-drv-mouse-1.2.1-2.fc7.sh3.rpm
xorg-x11-drv-void-1.1.0-4.fc7.sh3.rpm
xorg-x11-filesystem-7.1-2.fc7.noarch.rpm
xorg-x11-font-utils-7.1-5.fc7.sh3.rpm
xorg-x11-fonts-100dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-75dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-1-100dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-1-75dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-14-100dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-14-75dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-15-100dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-15-75dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-2-100dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-2-75dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-9-100dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ISO8859-9-75dpi-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-Type1-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-base-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-cyrillic-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-ethiopic-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-misc-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-syriac-7.1-3.fc7.noarch.rpm
xorg-x11-fonts-truetype-7.1-3.fc7.noarch.rpm
xorg-x11-proto-devel-7.2-9.fc7.sh3.rpm
xorg-x11-resutils-7.1-3.fc7.sh3.rpm
xorg-x11-server-Xdmx-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-server-Xephyr-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-server-Xnest-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-server-Xorg-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-server-Xvfb-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-server-sdk-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-server-source-1.3.0.0-5.fc7.sh3.rpm
xorg-x11-twm-1.0.1-3.1.sh3.rpm
xorg-x11-util-macros-1.1.5-1.fc7.sh3.rpm
xorg-x11-utils-7.1-4.fc7.sh3.rpm
xorg-x11-xauth-1.0.2-1.fc7.sh3.rpm
xorg-x11-xdm-1.1.3-1.fc7.sh3.rpm
xorg-x11-xfs-1.0.2-3.1.sh3.rpm
xorg-x11-xfs-utils-1.0.2-3.1.sh3.rpm
xorg-x11-xinit-1.0.2-19.fc7.sh3.rpm
xorg-x11-xkb-utils-1.0.2-3.fc7.sh3.rpm
xorg-x11-xtrans-devel-1.0.3-1.fc7.sh3.rpm
xrestop-0.4-1.fc7.sh3.rpm
xscreensaver-5.02-1.fc7.1.sh3.rpm
xscreensaver-base-5.02-1.fc7.1.sh3.rpm
xscreensaver-extras-5.02-1.fc7.1.sh3.rpm
xscreensaver-extras-gss-5.02-1.fc7.1.sh3.rpm
xscreensaver-gl-extras-5.02-1.fc7.1.sh3.rpm
xscreensaver-gl-extras-gss-5.02-1.fc7.1.sh3.rpm
xsri-2.1.0-10.fc7.sh3.rpm
xterm-225-2.fc7.sh3.rpm

さらに、明らかにGUIと思われるパッケージは以下のとおりです。

ImageMagick-6.3.2.9-3.fc7.sh3.rpm
ImageMagick-c++-6.3.2.9-3.fc7.sh3.rpm
ImageMagick-c++-devel-6.3.2.9-3.fc7.sh3.rpm
ImageMagick-devel-6.3.2.9-3.fc7.sh3.rpm
ImageMagick-perl-6.3.2.9-3.fc7.sh3.rpm
firefox-2.0.0.3-4.fc7.sh3.rpm
firefox-devel-2.0.0.3-4.fc7.sh3.rpm
flac-1.1.4-4.fc7.sh3.rpm
flac-devel-1.1.4-4.fc7.sh3.rpm
flac123-0.0.9-6.fc7.sh3.rpm
bitmap-fonts-0.3-5.1.2.fc7.noarch.rpm
bitmap-fonts-cjk-0.3-5.1.2.fc7.noarch.rpm
chkfontpath-1.10.1-1.1.sh3.rpm
fonts-ISO8859-2-1.0-17.1.noarch.rpm
fonts-ISO8859-2-100dpi-1.0-17.1.noarch.rpm
fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
fonts-KOI8-R-1.0-9.1.1.noarch.rpm
fonts-KOI8-R-100dpi-1.0-9.1.1.noarch.rpm
fonts-KOI8-R-75dpi-1.0-9.1.1.noarch.rpm
fonts-arabic-2.0-5.fc7.noarch.rpm
fonts-bengali-2.1.5-1.fc7.noarch.rpm
fonts-chinese-3.03-4.fc7.noarch.rpm
fonts-gujarati-2.1.5-1.fc7.noarch.rpm
fonts-hebrew-0.100-4.1.1.noarch.rpm
fonts-hindi-2.1.5-1.fc7.noarch.rpm
fonts-japanese-0.20061016-6.fc7.noarch.rpm
fonts-kannada-2.1.5-1.fc7.noarch.rpm
fonts-korean-1.0.11-9.1.1.noarch.rpm
fonts-malayalam-2.1.5-1.fc7.noarch.rpm
fonts-oriya-2.1.5-1.fc7.noarch.rpm
fonts-punjabi-2.1.5-1.fc7.noarch.rpm
fonts-sinhala-0.2.2-1.fc7.noarch.rpm
fonts-tamil-2.1.5-1.fc7.noarch.rpm
fonts-telugu-2.1.5-1.fc7.noarch.rpm

多言語関連のパッケージは各種言語別に用意されているので、明らかにわかります。

aspell-0.60.5-3.fc7.sh3.rpm
aspell-af-0.50-7.fc7.sh3.rpm
aspell-ar-1.2-2.fc7.sh3.rpm
aspell-bg-0.50-14.fc7.sh3.rpm
aspell-bn-0.01.1-1.fc7.sh3.rpm
aspell-br-0.50-8.fc7.sh3.rpm
aspell-ca-0.50-6.fc7.sh3.rpm
aspell-cs-20040614-1.fc7.sh3.rpm
aspell-cy-0.50-6.fc7.sh3.rpm
aspell-da-1.4.42-1.fc7.sh3.rpm
aspell-de-20030222-3.fc7.sh3.rpm
aspell-devel-0.60.5-3.fc7.sh3.rpm
aspell-el-0.50-6.fc7.sh3.rpm
aspell-en-6.0-7.fc7.sh3.rpm
aspell-es-0.50-16.fc7.sh3.rpm
aspell-fo-0.51-6.fc7.sh3.rpm
aspell-fr-0.50-11.fc7.sh3.rpm
aspell-ga-0.50-6.fc7.sh3.rpm
aspell-gd-0.1.1-2.fc7.sh3.rpm
aspell-gl-0.50-5.fc7.sh3.rpm
aspell-gu-0.02-1.fc7.sh3.rpm
aspell-he-1.0-2.fc7.sh3.rpm
aspell-hi-0.01-1.fc7.sh3.rpm
aspell-hr-0.51-5.fc7.sh3.rpm
aspell-id-1.2-1.fc7.sh3.rpm
aspell-is-0.51.1-3.fc7.sh3.rpm
aspell-it-2.2_20050523-1.fc7.sh3.rpm
aspell-mr-0.10-1.fc7.sh3.rpm
aspell-nl-0.1e-4.fc7.sh3.rpm
aspell-no-0.50.1-10.fc7.sh3.rpm
aspell-or-0.03-1.fc7.sh3.rpm
aspell-pa-0.01-1.fc7.sh3.rpm
aspell-pl-6.0_20061121-1.fc7.sh3.rpm
aspell-pt-0.50-12.fc7.sh3.rpm
aspell-ru-0.99f7-3.fc7.sh3.rpm
aspell-sl-0.50-2.fc7.sh3.rpm
aspell-sr-0.02-3.fc7.sh3.rpm
aspell-sv-0.51-2.fc7.sh3.rpm
aspell-ta-20040424-1.fc7.sh3.rpm
aspell-te-0.01-1.fc7.sh3.rpm
hunspell-1.1.5-2.fc7.sh3.rpm
hunspell-af-0.20060117-1.fc7.noarch.rpm
hunspell-bg-0.20040405-1.fc7.noarch.rpm
hunspell-ca-0.20021015-1.fc7.noarch.rpm
hunspell-cy-0.20040425-1.fc7.noarch.rpm
hunspell-da-0.20070106-1.fc7.noarch.rpm
hunspell-de-0.20051213-1.fc7.noarch.rpm
hunspell-devel-1.1.5-2.fc7.sh3.rpm
hunspell-ee-0.20030602-1.fc7.noarch.rpm
hunspell-el-0.20041220-1.fc7.noarch.rpm
hunspell-en-0.20040623-1.fc7.noarch.rpm
hunspell-es-0.20050510-1.fc7.noarch.rpm
hunspell-fr-0.20060915-1.fc7.noarch.rpm
hunspell-ga-0.20060731-1.fc7.noarch.rpm
hunspell-gl-0.20061002-1.fc7.noarch.rpm
hunspell-he-0.20050112-1.fc7.noarch.rpm
hunspell-hr-0.20060607-1.fc7.noarch.rpm
hunspell-hu-0.20061105-2.fc7.noarch.rpm
hunspell-it-2.3-0.1.20060723.fc7.noarch.rpm
hunspell-lt-1.1-1.20061127cvs.fc7.noarch.rpm
hunspell-ms-0.20050117-1.fc7.noarch.rpm
hunspell-nb-0.20060508-1.fc7.noarch.rpm
hunspell-nl-0.20050720-1.fc7.noarch.rpm
hunspell-nn-0.20060508-1.fc7.noarch.rpm
hunspell-pl-0.20070214-1.fc7.noarch.rpm
hunspell-pt-0.20061026-2.fc7.noarch.rpm
hunspell-ru-0.20040406-1.fc7.noarch.rpm
hunspell-sk-0.20050911-1.fc7.noarch.rpm
hunspell-sl-0.20070127-1.fc7.noarch.rpm
hunspell-sv-1.3.8.6-1.fc7.noarch.rpm
hunspell-th-0.20061212-1.fc7.noarch.rpm
hunspell-zu-0.20060120-1.fc7.noarch.rpm
m17n-db-1.3.4-9.fc7.noarch.rpm
m17n-db-Uyghur-1.3.4-9.fc7.noarch.rpm
m17n-db-amharic-1.3.4-9.fc7.noarch.rpm
m17n-db-arabic-1.3.4-9.fc7.noarch.rpm
m17n-db-armenian-1.3.4-9.fc7.noarch.rpm
m17n-db-assamese-1.3.4-9.fc7.noarch.rpm
m17n-db-bengali-1.3.4-9.fc7.noarch.rpm
m17n-db-chinese-1.3.4-9.fc7.noarch.rpm
m17n-db-common-cjk-1.3.4-9.fc7.noarch.rpm
m17n-db-croatian-1.3.4-9.fc7.noarch.rpm
m17n-db-datafiles-1.3.4-9.fc7.noarch.rpm
m17n-db-dhivehi-1.3.4-9.fc7.noarch.rpm
m17n-db-farsi-1.3.4-9.fc7.noarch.rpm
m17n-db-generic-1.3.4-9.fc7.noarch.rpm
m17n-db-georgian-1.3.4-9.fc7.noarch.rpm
m17n-db-greek-1.3.4-9.fc7.noarch.rpm
m17n-db-gujarati-1.3.4-9.fc7.noarch.rpm
m17n-db-hebrew-1.3.4-9.fc7.noarch.rpm
m17n-db-hindi-1.3.4-9.fc7.noarch.rpm
m17n-db-japanese-1.3.4-9.fc7.noarch.rpm
m17n-db-kannada-1.3.4-9.fc7.noarch.rpm
m17n-db-kazakh-1.3.4-9.fc7.noarch.rpm
m17n-db-khmer-1.3.4-9.fc7.noarch.rpm
m17n-db-korean-1.3.4-9.fc7.noarch.rpm
m17n-db-lao-1.3.4-9.fc7.noarch.rpm
m17n-db-latin-1.3.4-9.fc7.noarch.rpm
m17n-db-malayalam-1.3.4-9.fc7.noarch.rpm
m17n-db-marathi-1.3.4-9.fc7.noarch.rpm
m17n-db-myanmar-1.3.4-9.fc7.noarch.rpm
m17n-db-nepali-1.3.4-9.fc7.noarch.rpm
m17n-db-oriya-1.3.4-9.fc7.noarch.rpm
m17n-db-punjabi-1.3.4-9.fc7.noarch.rpm
m17n-db-russian-1.3.4-9.fc7.noarch.rpm
m17n-db-serbian-1.3.4-9.fc7.noarch.rpm
m17n-db-sinhala-1.3.4-9.fc7.noarch.rpm
m17n-db-slovak-1.3.4-9.fc7.noarch.rpm
m17n-db-swedish-1.3.4-9.fc7.noarch.rpm
m17n-db-syriac-1.3.4-9.fc7.noarch.rpm
m17n-db-tamil-1.3.4-9.fc7.noarch.rpm
m17n-db-telugu-1.3.4-9.fc7.noarch.rpm
m17n-db-thai-1.3.4-9.fc7.noarch.rpm
m17n-db-tibetan-1.3.4-9.fc7.noarch.rpm
m17n-db-urdu-1.3.4-9.fc7.noarch.rpm
m17n-db-vietnamese-1.3.4-9.fc7.noarch.rpm
m17n-lib-1.3.4-1.1.fc7.sh3.rpm
m17n-lib-devel-1.3.4-1.1.fc7.sh3.rpm
scim-1.4.5-18.fc7.sh3.rpm
scim-anthy-1.2.2-3.fc7.sh3.rpm
scim-bridge-0.4.10-1.fc7.sh3.rpm
scim-bridge-gtk-0.4.10-1.fc7.sh3.rpm
scim-bridge-qt-0.4.10-1.fc7.sh3.rpm
scim-chewing-0.3.1-9.fc7.sh3.rpm
scim-devel-1.4.5-18.fc7.sh3.rpm
scim-doc-1.4.5-18.fc7.sh3.rpm
scim-gtk-1.4.5-18.fc7.sh3.rpm
scim-hangul-0.3.1-1.fc7.sh3.rpm
scim-libs-1.4.5-18.fc7.sh3.rpm
scim-m17n-0.2.1-1.fc7.sh3.rpm
scim-pinyin-0.5.91-16.fc7.sh3.rpm
scim-qtimm-0.9.4-6.fc7.sh3.rpm
scim-sinhala-0.2.0-2.fc7.sh3.rpm
scim-tables-0.5.7-3.fc7.sh3.rpm
scim-tables-additional-0.5.7-3.fc7.sh3.rpm
scim-tables-amharic-0.5.7-3.fc7.sh3.rpm
scim-tables-arabic-0.5.7-3.fc7.sh3.rpm
scim-tables-chinese-0.5.7-3.fc7.sh3.rpm
scim-tables-nepali-0.5.7-3.fc7.sh3.rpm
scim-tables-russian-0.5.7-3.fc7.sh3.rpm
scim-tables-thai-0.5.7-3.fc7.sh3.rpm
scim-tables-vietnamese-0.5.7-3.fc7.sh3.rpm

以上のように、名称だけで選んでもかなりの数のパッケージが削減できます。削減したパッケージで、前回に解説した要領でシングルユーザまで起動します。

リアルタイムクロックの追加

シングルユーザの場合はログイン機構を使わないのでリアルタイムクロックが不要でしたが、マルチユーザモードではユーザ管理に時刻を使用します。そのため、リアルタイムクロックがないとログイン機構が混乱をして正常にログインをすることができません。

T-SH7706LSRでリアルタイムクロックを常時動作させるには、初期スクリプト内でNTPサーバにアクセスして時刻を取得する方法と、電池によるバックアップの2種類があります。常時ネット接続環境にある場合は、起動時にNTPサーバにアクセスして時刻を取得します。具体的な方法については第7回の記事を参照してください。

常時ネット接続できない環境の場合は図1のように基板に電池ホルダを追加して、市販のCR2032電池を取り付けて時刻設定をします。

図1 電池ホルダを取り付けたT-SH7706LSRボード
図1 電池ホルダを取り付けたT-SH7706LSRボード

電子工作ができない方は、新規にTACより電池ホルダ付きオプションで購入してください。電子工作をする場合は以下のサイトで電池ホルダを購入し、半田付けで電池ホルダを取り付けます。

BCR型コイン電池ホルダー
URL:http://www.marutsu.co.jp/shohin_39993/

起動設定の修正

udevはデバイスファイルを自動で管理するシステムでPCでのディストリビューションでは欠かせないですが、組込みボードではPCほどデバイスの不定性がないので、udevを外してデバイスファイル固定で扱ってもかまいません。起動時間が気にならなければudevを外さなくてもいいと思います。

udevを外すには /etc/rc.sysinitファイルを編集し、エディタで「udev」を検索し、以下のようにコメントにしてudev起動を無効にします。

# /sbin/start_udev

起動時にはモジュール検索をするようになっていて、エラー表示が出るので、気になるようならば以下のコマンドでモジュール検索でエラーにならないようにします。

# mkdir /lib/modules/2.6.28.10
# depmod -a

マルチユーザの設定

アカウント作成とパスワード設定

FedoraCore7ではスーパーユーザでログインできないようになっており、スーパーユーザ権限が必要な場合は一般ユーザーからsudoコマンドを用います。

sudoコマンドが使えなかった場合はsuコマンドでスーパーユーザに入ります。そのため、この場合は適当な一般ユーザのアカウントを作成する必要があります。今回は guest という名称で以下のようにアカウントを作成します。

# useradd -g users guest

次にスーパーユーザと作成した一般ユーザのパスワードを設定します。

# passwd root
Changing password for user root.
New UNIX password:********
Retype new UNIX password:********
passwd: all authentication tokens updated successfully.
# passwd guest
Changing password for user guest.
New UNIX password:********
Retype new UNIX password:********
passwd: all authentication tokens updated successfully.

マルチユーザの確認

マルチユーザーの確認はシングルユーザーモードでloginコマンドを実行し、以下のように一般ユーザにログインできて、スーパーユーザにもなれることを確認します。

# login
login: guest
Password:********
[guest@localhost $ su
Password:********
[root@localhost guest]# exit
[guest@localhost$ exit

ランレベルの変更

ランレベルをシングルユーザの1番からマルチユーザの3番に変更しなければいけないので、/etc/inittabをリスト1のように変更します。

ランレベル変更は、リスト1の19行目を変更します。

ついでに、デフォルトでは複数の端末が起動するようになっていますが、46行目だけ残して、あとのgettysを削除してリスト1のように変更します。

リスト1 /etc/inittab
 1  #
 2  # inittab       This file describes how the INIT process should set up
 3  #               the system in a certain run-level.
 4  #
 5  # Author:       Miquel van Smoorenburg, 
 6  #               Modified for RHS Linux by Marc Ewing and Donnie Barnes
 7  #
 8 
 9  # Default runlevel. The runlevels used by RHS are:
10  #   0 - halt (Do NOT set initdefault to this)
11  #   1 - Single user mode
12  #   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
13  #   3 - Full multiuser mode
14  #   4 - unused
15  #   5 - X11
16  #   6 - reboot (Do NOT set initdefault to this)
17  #
18 
19  id:3:initdefault:
20 
21  # System initialization.
22  si::sysinit:/etc/rc.d/rc.sysinit
23 
24  l0:0:wait:/etc/rc.d/rc 0
25  l1:1:wait:/etc/rc.d/rc 1
26  l2:2:wait:/etc/rc.d/rc 2
27  l3:3:wait:/etc/rc.d/rc 3
28  l4:4:wait:/etc/rc.d/rc 4
29  l5:5:wait:/etc/rc.d/rc 5
30  l6:6:wait:/etc/rc.d/rc 6
31 
32  # Trap CTRL-ALT-DELETE
33  ca::ctrlaltdel:/sbin/shutdown -t3 -r now
34 
35  # When our UPS tells us power has failed, assume we have a few minutes
36  # of power left.  Schedule a shutdown for 2 minutes from now.
37  # This does, of course, assume you have powerd installed and your
38  # UPS connected and working correctly.
39  pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
40 
41  # If power was restored before the shutdown kicked in, cancel it.
42  pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
43 
44 
45  # Run gettys in standard runlevels
46  1:2345:respawn:/sbin/mingetty ttySC1 vt100
47 
48  # Run xdm in runlevel 5
49  x:5:respawn:/etc/X11/prefdm -nodaemon

以上の設定でLinuxを再起動すると、通常のマルチユーザモードでFedora Core 7が起動します。

次回は

次回はFedora Coreでのネットワークサーバ設定について解説します。

おすすめ記事

記事・ニュース一覧