# See also the [ccache] section.
#use_ccache = true
-# Create build environments in a tmpfs.
-# This requires a lot of RAM.
-# Only enable if you know what your are doing.
-#use_tmpfs = false
-
# Create loop devices in build environment.
#use_loop_devices = true
# Settings array.
self.settings = {
"enable_ccache" : self.config.get_bool("builder", "use_ccache", True),
- "buildroot_tmpfs" : self.config.get_bool("builder", "use_tmpfs", True),
}
# Add settings from keyword arguments
"""
os.makedirs(self.path)
- # Mount ramdisk if enabled
- if self.settings.get("buildroot_tmpfs"):
- _pakfire.mount("pakfire_root", self.path, "tmpfs")
-
# Bind-mount the ccache if enabled
if self.settings.get("enable_ccache"):
if not os.path.exists(CCACHE_CACHE_DIR):
"""
mountpoints = (
"%s/var/cache/ccache" % self.path,
- self.path,
)
for mp in mountpoints: