mirror of
https://github.com/truenas/scale-build.git
synced 2025-12-24 21:07:00 +00:00
Setup relevant directories in case epoch changes
This commit is contained in:
@@ -2,6 +2,7 @@ import logging
|
||||
import os
|
||||
|
||||
from .clean import complete_cleanup
|
||||
from .preflight import setup_dirs
|
||||
from .utils.manifest import get_manifest
|
||||
from .utils.paths import TMP_DIR
|
||||
|
||||
@@ -25,5 +26,6 @@ def check_epoch():
|
||||
logger.warning('Build epoch changed! Removing temporary files and forcing clean build.')
|
||||
update_epoch(current_epoch)
|
||||
complete_cleanup()
|
||||
setup_dirs()
|
||||
else:
|
||||
update_epoch(current_epoch)
|
||||
|
||||
Reference in New Issue
Block a user