Translations:/etc/portage/make.conf/80/ru

From Gentoo Wiki
Jump to:navigation Jump to:search

Переменная DISTDIR определяет каталог, где Portage будет хранить скачанные архивы с исходным кодом По умолчанию это путь /var/cache/distfiles для новых установок. Ранее был выставлен путь ${PORTDIR}/distfiles, который обрабатывался по умолчанию в /usr/portage/distfiles.

Пользователи могут установить переменную DISTDIR в /etc/portage/make.conf:

Warning
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.
FILE /etc/portage/make.confИспользование другого каталога в DISTDIR
DISTDIR=/var/gentoo/distfiles

Для более подробной информации см. статью DISTDIR.