mirror of
https://github.com/truenas/scale-build.git
synced 2025-12-20 10:59:46 +00:00
23 lines
575 B
Python
23 lines
575 B
Python
import os
|
|
|
|
|
|
TMPFS = './tmp/tmpfs'
|
|
CACHE_DIR = './tmp/cache'
|
|
CHROOT_BASEDIR = os.path.join(TMPFS, 'chroot')
|
|
CHROOT_OVERLAY = os.path.join(TMPFS, 'chroot-overlay')
|
|
DPKG_OVERLAY = './tmp/dpkg-overlay'
|
|
HASH_DIR = './tmp/pkghashes'
|
|
LOG_DIR = './logs'
|
|
MANIFEST = './conf/build.manifest'
|
|
PARALLEL_BUILDS = int(os.environ.get('PARALLEL_BUILDS') or 4)
|
|
PKG_DEBUG = bool(os.environ.get('PKG_DEBUG'))
|
|
PKG_DIR = './tmp/pkgdir'
|
|
REQUIRED_RAM = 16 # GB
|
|
SOURCES = './sources'
|
|
TMP_DIR = './tmp'
|
|
WORKDIR_OVERLAY = os.path.join(TMPFS, 'workdir-overlay')
|
|
|
|
|
|
if PKG_DEBUG:
|
|
PARALLEL_BUILDS = 1
|