定制 TinyCore Linux

定制 TinyCore Linux 包括定制定制内核编译选项,定制系统行为,安装额外的软件包,国际化 TinyCore Linux 桌面环境。所有的源码和开发文件可以在 MobileMate 0.1 源码 处下载。README.txt 文件解释了每个文件的用法。下列一些系统文件主要的改变:

针对自动挂载:

  • /opt/custom/bin/amountcd.sh
  • /opt/custom/bin/amount.sh
  • /opt/custom/bin/doremoveblock.sh
  • /opt/custom/bin/writebookmarks.sh
  • /usr/sbin/rebuildfstab
  • /etc/lc2cp.tab
  • /etc/profile
  • /opt/bootlocal.sh
  • /tmp/98-tc.rules
  • /home/tc/.xsession
  • /etc/udev/rules.d/60-cdrom_id.rules
  • /etc/udev/rules.d/60-persistent-storage.rules

针对桌面环境国际化:

  • /opt/custom/etc/lang.conf
  • /usr/bin/flwm_topside_initmenu
  • /usr/bin/flwm_topside_makemenu
  • /usr/bin/flwm_topside_menu_common
  • /usr/bin/flwm_topside_ondemand
  • /usr/local/etc/flwm_topsiderc
  • /usr/sbin/rebuildfstab
  • /etc/lc2cp.tab
  • /etc/profile
  • /usr/local/etc/gtk-2.0/gtk.immodules
  • /usr/local/etc/gtk-2.0/im-multipress.conf
  • /home/tc/.fltk/Tiny Core UTF-8 porting team/fltk_projects_unicode.prefs

其它:

  • /opt/custom/bin/mplayer.me
  • /etc/ld.so.conf
  • /opt/tcemirror
  • /usr/local/share/applications/*.desktop
  • /home/tc/.local/share/applications/*

还有,内核编译选项主要的改变是: 保留 “CONFIG_HAVE_IDE=y” 并设置 “CONFIG_IDE is not set”,去掉 IDE 支持(因此 “hda” 变成 “sda”,CD 变成 “sr0”, “sr1”, 等等),添加 PATA 和 NLS_CODEPAGE_936 模块。在 TinyCore Linux 下面编译内核,你需要安装 tcz 包:compiletc, perl5, coreutils, xz。参见 TinyCore Linux 维基: Custom Kernel

还有,为了减小系统尺寸,去掉了非中文 locale(MobileMate 0.1 只支持英语和中文),去掉了几乎全部静态库和开发文件。

zh/base.txt · Last modified: 2013/10/01 17:20 by littlebat
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

蜀ICP备2021012931号-1 川公网安备51092202000377号