Package portage :: Package package :: Package ebuild :: Module prepare_build_dirs
[hide private]

Module prepare_build_dirs

source code

Functions [hide private]
 
prepare_build_dirs(myroot=None, settings=None, cleanup=False)
The myroot parameter is ignored.
source code
 
_adjust_perms_msg(settings, msg) source code
 
_prepare_features_dirs(mysettings) source code
 
_prepare_workdir(mysettings) source code
 
_ensure_log_subdirs(logdir, subdir)
This assumes that logdir exists, and creates subdirectories down to subdir as necessary.
source code
Variables [hide private]
  __package__ = 'portage.package.ebuild'

Imports: errno, gzip, stat, time, portage, os, shutil, _encodings, _unicode_encode, _unicode_decode, portage_gid, portage_uid, secpass, DirectoryNotFound, FileNotFound, OperationNotPermitted, PermissionDenied, PortageException, _, colorize, apply_recursive_permissions, apply_secpass_permissions, ensure_dirs, normalize_path, writemsg


Function Details [hide private]

_ensure_log_subdirs(logdir, subdir)

source code 

This assumes that logdir exists, and creates subdirectories down to subdir as necessary. The gid of logdir is copied to all subdirectories, along with 0x2070 mode bits if present. Both logdir and subdir are assumed to be normalized absolute paths.