diff --git a/scripts/get_archive b/scripts/get_archive index eb912015a5..85ec6c545f 100755 --- a/scripts/get_archive +++ b/scripts/get_archive @@ -18,6 +18,8 @@ _get_file_already_downloaded && exit 0 # At this point, we need to download something... build_msg "CLR_GET" "GET" "${1} (archive)" "indent" +pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "downloading package..." + PACKAGE_MIRROR="${DISTRO_MIRROR}/${PKG_NAME}/${PKG_SOURCE_NAME}" [ "${VERBOSE}" != "yes" ] && WGET_OPT=-q WGET_CMD="wget --output-file=- --timeout=30 --tries=3 --passive-ftp --no-check-certificate -c ${WGET_OPT} --progress=bar:force --show-progress -O ${PACKAGE}" diff --git a/scripts/get_file b/scripts/get_file index 2a34dd545b..02c0021df4 100755 --- a/scripts/get_file +++ b/scripts/get_file @@ -2,3 +2,5 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) build_msg "CLR_GET" "GET" "${1} (file)" "indent" + +pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "processing package file..." diff --git a/scripts/get_git b/scripts/get_git index 68bf92023a..dd8486bf34 100755 --- a/scripts/get_git +++ b/scripts/get_git @@ -44,6 +44,8 @@ _get_repo_already_downloaded && exit 0 # At this point, we need to download something... build_msg "CLR_GET" "GET" "${1} (git)" "indent" +pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "processing package repository..." + rm -f "${STAMP_URL}" "${STAMP_SHA}" GIT_CLONE_PARAMS="" diff --git a/tools/mtstats.py b/tools/mtstats.py index f9fd9d47c4..8fdc4ff9b2 100755 --- a/tools/mtstats.py +++ b/tools/mtstats.py @@ -63,7 +63,7 @@ for event in events: "start": 0.0, "total": 0.0}) - if event.status in ["ACTIVE", "MUTEX"]: + if event.status in ["ACTIVE", "MUTEX", "GETPKG"]: if slot["active"] == False: active += 1 concurrent = concurrency.get(active, {"start": 0.0, "total": 0.0}) @@ -98,7 +98,7 @@ print("Total Build Time: %s\n" % secs_to_hms(elapsed, blankzero=False)) print("Peak concurrency: %d out of %d slots\n" % (peak, len(slots))) -print("Slot usage (time in ACTIVE state): | Concurrency breakdown:\n") +print("Slot usage (time in an \"active\" state): | Concurrency breakdown:\n") print("#Rank Slot Usage ( Pct ) # of Slots Usage ( Pct )") lines = []