DISTDIR

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page DISTDIR and the translation is 12% complete.
Outdated translations are marked like this.

DISTDIR 변수는 포티지가 다운로드한 소스 코드를 저장하는 위치를 지정합니다. 기본값은 /usr/portage/distfiles 입니다.

이 위치는 /usr/portage/distfiles 위치로 종종 참조하며, 시스템에 설치한(또는 설치를 시도하려는) 모든 프로그램의 소스코드 아카이브를 제공합니다. 이 위치는 자동으로 정리하지 않으므로 eclean-dist와 같은 도구(app-portage/gentoolkit의 일부)를 사용하여 이 위치가 사용하는 저장소를 항상 통제 가능하도록 하려 할 것입니다. 자세한 내용은 Eclean 글을 읽어보십시오.

DISTDIR 변수는 /etc/portage/make.conf에서 설정할 수 있습니다:

경고
Beware where you place your DISTDIR! Only trusted users should be granted write access to this location.


File integrity check and unpacking is not atomic operation, allowing for an attack where file is swapped in between possibly leading to compromise the system.
파일 /etc/portage/make.conf다른 DISTDIR 위치 활용
DISTDIR=/var/gentoo/distfiles