2011년 10월, /etc/make.conf 파일내용 백업

입질쾌감 물때표
webterror ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"

ALSA_CARDS="snd-hda-intel"

VIDEO_CARDS="radeon intel"

LINGUAS="ko en ja zh_CN zh_TW"

INPUT_DEVICES="keyboard mouse evdev synaptics"

USE="networkmanager xcb emerald udev ipod samba java bzip2 xml python mysql php swat X sqlite apache2 sqlite3 bzip2 symlink spell gd cgi dbus syslog consolekit curl gdu device-mapper policykit cdda cairo extras cdr dvdr dri opengl gtk2 cairo glitz gnome firefox vorbis accessibility cdr dvdr gtk jpeg gif tiff png svg pdf jpeg2k truetype alsa sdl mad vidix asf win32codecs mp4 aac x264 xvid nsplugin mp3 real xine opengl quicktime readline slang oss dvd ffmpeg flac lame mpeg musepack mythtv ogg pulseaudio -arts -eds -esd -fortran -ipv6 -kde -mozilla"

#EMERGE_DEFAULT_OPTS="--autounmask=n --getbinpkg --with-bdeps=y --jobs=8 --load-average=1.5 --buildpkg"
#EMERGE_DEFAULT_OPTS="--autounmask=n --getbinpkg --jobs=8 --load-average=1.5 --buildpkg"
#PORTAGE_BINHOST="http://218.210.133.52/~binhost"

EMERGE_DEFAULT_OPTS="--autounmask=y --with-bdeps=y --jobs=8 --load-average=1.5 --buildpkg"

EMERGE_DEFAULT_OPTS옵션에 buildpkg를 추가하게 되면 패키지를 컴파일 한 후에 바이너리 패키지를 /var/db/pkg 디렉토리에 백업해둔다.

webterror ~ # ls -ail /var/db/pkg/
total 312
3932184 drwxr-xr-x 78 root root 4096 Feb 17 21:35 .
3932183 drwxr-xr-x  5 root root 4096 Feb 17 21:36 ..
4089320 drwxr-xr-x  8 root root 4096 Sep  4 16:48 app-accessibility
3934267 drwxr-xr-x 22 root root 4096 Oct  3 13:39 app-admin
3933850 drwxr-xr-x 14 root root 4096 Feb 17 21:34 app-arch
4093678 drwxr-xr-x  6 root root 4096 Aug 30 04:02 app-cdr
4097346 drwxr-xr-x  6 root root 4096 Aug 30 04:02 app-crypt
3955000 drwxr-xr-x  4 root root 4096 Aug 30 03:08 app-dicts
3935355 drwxr-xr-x  7 root root 4096 Oct  2 02:22 app-editors
4227892 drwxr-xr-x  4 root root 4096 Oct  2 01:58 app-emulation
3942523 drwxr-xr-x 11 root root 4096 Sep  2 22:38 app-i18n
4067376 drwxr-xr-x  3 root root 4096 Aug 30 03:40 app-laptop
3934471 drwxr-xr-x 10 root root 4096 Sep  6 21:45 app-misc
4466085 drwxr-xr-x  3 root root 4096 Oct  2 09:02 app-office
4232268 drwxr-xr-x  3 root root 4096 Oct  2 02:05 app-pda
3943982 drwxr-xr-x  7 root root 4096 Aug 31 01:36 app-portage
3933100 drwxr-xr-x  3 root root 4096 Aug  9  2011 app-shells
3932894 drwxr-xr-x 25 root root 4096 Jan 29 14:21 app-text
3939126 drwxr-xr-x  3 root root 4096 Aug 30 05:56 app-vim
4086039 drwxr-xr-x  7 root root 4096 Aug 30 03:42 dev-cpp
3933860 drwxr-xr-x  6 root root 4096 Aug 30 02:31 dev-db
4212634 drwxr-xr-x 18 root root 4096 Aug 31 06:05 dev-dotnet
4086598 drwxr-xr-x  4 root root 4096 Aug 30 03:11 dev-games
3932897 drwxr-xr-x  5 root root 4096 Jan 29 14:21 dev-java
3935256 drwxr-xr-x 13 root root 4096 Jan 29 14:21 dev-lang
3935010 drwxr-xr-x 54 root root 4096 Jan 29 14:21 dev-libs
3934031 drwxr-xr-x 32 root root 4096 Feb 17 21:32 dev-perl
3935392 drwxr-xr-x 36 root root 4096 Oct  3 12:22 dev-python
3940694 drwxr-xr-x 11 root root 4096 Aug 30 04:07 dev-util
3934235 drwxr-xr-x  4 root root 4096 Aug 31 02:37 dev-vcs
3977233 drwxr-xr-x  5 root root 4096 Oct  2 12:51 games-fps
3932891 drwxr-xr-x 31 root root 4096 Sep  4 16:51 gnome-base
4094802 drwxr-xr-x 27 root root 4096 Feb 13 19:23 gnome-extra
4335098 drwxr-xr-x  3 root root 4096 Aug 30 04:01 mail-client
3971631 drwxr-xr-x  3 root root 4096 Aug 30 02:31 mail-mta
3946177 drwxr-xr-x 19 root root 4096 Sep  1 00:47 media-fonts
3941415 drwxr-xr-x  8 root root 4096 Jan 31 11:34 media-gfx
3932981 drwxr-xr-x 65 root root 4096 Jan 31 11:30 media-libs
4093984 drwxr-xr-x 32 root root 4096 Oct  2 02:05 media-plugins
3932893 drwxr-xr-x 11 root root 4096 Oct  2 02:07 media-sound
4329472 drwxr-xr-x  9 root root 4096 Feb 16 10:27 media-video
4083080 drwxr-xr-x  5 root root 4096 Aug 30 04:04 net-analyzer
4097157 drwxr-xr-x  3 root root 4096 Aug 30 03:41 net-dialup
4087384 drwxr-xr-x  4 root root 4096 Aug 31 07:36 net-dns
4199609 drwxr-xr-x  3 root root 4096 Aug 30 04:32 net-fs
4330066 drwxr-xr-x  5 root root 4096 Aug 31 07:47 net-ftp
4104333 drwxr-xr-x  4 root root 4096 Jan 30 09:17 net-im
4088893 drwxr-xr-x 14 root root 4096 Jan 30 09:14 net-libs
3971600 drwxr-xr-x  3 root root 4096 Aug 30 02:31 net-mail
3934852 drwxr-xr-x 15 root root 4096 Feb 13 19:22 net-misc
4071951 drwxr-xr-x  5 root root 4096 Aug 30 04:05 net-print
4069732 drwxr-xr-x  4 root root 4096 Aug 30 03:08 net-wireless
3932185 drwxr-xr-x  9 root root 4096 Aug 30 01:59 perl-core
3932216 drwxr-xr-x 43 root root 4096 Jan 29 15:08 sys-apps
3934000 drwxr-xr-x  5 root root 4096 Aug 30 03:42 sys-auth
4089299 drwxr-xr-x  4 root root 4096 Aug 30 03:11 sys-block
3946430 drwxr-xr-x  5 root root 4096 Feb 17 21:35 sys-boot
3934554 drwxr-xr-x 24 root root 4096 Jan 29 02:13 sys-devel
3934380 drwxr-xr-x  8 root root 4096 Feb 17 21:33 sys-fs
3934821 drwxr-xr-x  5 root root 4096 Aug 30 02:15 sys-kernel
3933538 drwxr-xr-x 17 root root 4096 Sep  4 16:35 sys-libs
4083418 drwxr-xr-x  6 root root 4096 Aug 31 02:37 sys-power
3933132 drwxr-xr-x  4 root root 4096 Aug 30 02:00 sys-process
3933194 drwxr-xr-x 48 root root 4096 Jan 29 14:21 virtual
3976908 drwxr-xr-x  3 root root 4096 Sep 10 11:19 www-apache
4213896 drwxr-xr-x  5 root root 4096 Aug 31 05:47 www-client
4330100 drwxr-xr-x  3 root root 4096 Aug 30 04:32 www-plugins
3934465 drwxr-xr-x  4 root root 4096 Aug 30 03:02 www-servers
3941005 drwxr-xr-x 22 root root 4096 Oct 10 12:03 x11-apps
4329814 drwxr-xr-x  4 root root 4096 Jan 29 02:03 x11-base
4329930 drwxr-xr-x 10 root root 4096 Feb 16 10:26 x11-drivers
3939833 drwxr-xr-x 66 root root 4096 Feb 16 10:25 x11-libs
3947976 drwxr-xr-x 12 root root 4096 Feb 16 10:39 x11-misc
4466308 drwxr-xr-x  4 root root 4096 Oct  3 12:21 x11-plugins
3939828 drwxr-xr-x 30 root root 4096 Aug 30 04:23 x11-proto
4329351 drwxr-xr-x  3 root root 4096 Aug 30 04:02 x11-terms
4086046 drwxr-xr-x  9 root root 4096 Oct  3 12:25 x11-themes
4215594 drwxr-xr-x  6 root root 4096 Oct  3 13:40 x11-wm
webterror ~ # 

그리고 jobs라는 옵션은 컴파일시 동시에 컴파일할수 있는 최대 패키지 수량이다. 원하는 대로 설정해 주고 컴파일 하면 되겠다. 이 옵션이 유용한 이유는! 패키지 1개씩 순서대로 컴파일 하게 되면 패키지를 다운로드 받는 시간과 패키지를 Install 하는 시간동안 CPU가 놀게 된다. 그래서 동시에 컴파일 하게 jobs를 늘리게 되면 CPU가 쉬게 되는 낭비를 절약할수 있는 장점이 있다. 단지 노트북이라면 FAN을 걱정하셔야 할겁니다. 제 노트북은 벌써 달그락 거리고 있답니다.

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다