mirror of
https://github.com/truenas/scale-build.git
synced 2025-12-24 21:07:00 +00:00
Configure bootstrapdir
This commit is contained in:
@@ -5,7 +5,7 @@ import shutil
|
||||
from .exceptions import CallError, MissingPackagesException
|
||||
from .utils.manifest import get_manifest
|
||||
from .utils.system import has_low_ram
|
||||
from .utils.variables import TMP_DIR, HASH_DIR, LOG_DIR, PKG_DIR, SOURCES_DIR
|
||||
from .utils.variables import CACHE_DIR, HASH_DIR, LOG_DIR, PKG_DIR, SOURCES_DIR, TMP_DIR, TMPFS
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -37,7 +37,7 @@ def retrieve_missing_packages():
|
||||
|
||||
|
||||
def setup_dirs():
|
||||
for d in (TMP_DIR, HASH_DIR, LOG_DIR, PKG_DIR, SOURCES_DIR):
|
||||
for d in (CACHE_DIR, TMP_DIR, HASH_DIR, LOG_DIR, PKG_DIR, SOURCES_DIR, TMPFS):
|
||||
os.makedirs(d, exist_ok=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user