stage1:

1
2
3
4
5
包含bootstrap.sh,
scripts/bootstrap.sh用于安装
glibc、gcc、zlib、binutils、textinfo、ncurses、gettext、sed、emerge、portage等
创建stage2 包含emerge的环境
执行:scripts/bootstrap.sh

stage2:

1
2
3
包含了完整的emerge的环境
构建system系统,编译没有替代物的系统软件包。
执行:emerge -e system

构想:

简介:
前些天才知道, Linux 2.6.32 开始引入了一个 make localmodconfig 用于简化 kernel 的配置。
刚刚找了一下这个方面的资料,分享一下。

Most people uses the kernel shipped by distros - and that’s good. But some people like to compile their own kernels from kernel.org, or maybe they like following the Linux development and want to try it. Configuring your own kernel, however, has become a very difficult and tedious task - there’re too many options, and some times userspace software will stop working if you don’t enable some key option. You can use a standard distro .config file, but it takes too much time to compile all the options it enables.

To make the process of configuration easier, a new build target has been added: make localmodconfig. It runs “lsmod” to find all the modules loaded on the current running system. It will read all the Makefiles to map which CONFIG enables a module. It will read the Kconfig files to find the dependencies and selects that may be needed to support a CONFIG. Finally, it reads the .config file and removes any module “=m” that is not needed to enable the currently loaded modules. With this tool, you can strip a distro .config of all the unuseful drivers that are not needed in our machine, and it will take much less time to build the kernel. There’s an additional “make localyesconfig” target, in case you don’t want to use modules and/or initrds.

  1. 平易近人。做为一个人,想受到别人的爱戴,首先自己对人就得友善,不管对任何人就应该一视同仁。

    如何提高自己在别人心目中的地位

  2. 为人真诚。一个人经常的耍点小聪明,经常的觉得别人永远在自己的手掌中,那么这样的人不仅赢不了别人的喜欢,而且还会让自己孤立。

    如何提高自己在别人心目中的地位

  3. 助人为乐。帮助别人,快乐自己。经常帮助别人的人经常让别人觉得自己的善良,让别人感受到自己的亲近。

    如何提高自己在别人心目中的地位

  4. 优秀。让自己变得优秀,优秀的人没有人会不喜欢,没有人会不尊重,因此让自己努力变成一个某一方面优秀的人,可以让自己受到别人的尊重。

    如何提高自己在别人心目中的地位

  5. 不小看别人。三十年河东,三十年河西。焉知别人今后就没有翻身的一天,所以对人千万不要抬着头。

    如何提高自己在别人心目中的地位

  6. 不骄不燥。做人还不能骄傲,也不能浮燥,骄傲的人容易落后,浮燥的人做事情容易失败。