diff options
author | 2017-08-29 18:59:10 +0300 | |
---|---|---|
committer | 2017-08-29 18:59:10 +0300 | |
commit | f7052bc74a46ab77d11163eabbb7cd76b3e27948 (patch) | |
tree | 78ada4b5eada7b6dcbdc9f01ee46ef709f7ca455 | |
parent | Removed net_script.sh (diff) | |
download | GSE-f7052bc74a46ab77d11163eabbb7cd76b3e27948.tar.gz GSE-f7052bc74a46ab77d11163eabbb7cd76b3e27948.tar.bz2 GSE-f7052bc74a46ab77d11163eabbb7cd76b3e27948.zip |
version
-rwxr-xr-x | scripts/functions/sinit_functions | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/functions/sinit_functions b/scripts/functions/sinit_functions index eb93abb..89e3353 100755 --- a/scripts/functions/sinit_functions +++ b/scripts/functions/sinit_functions @@ -2098,7 +2098,8 @@ _clean_target() { _archive_() { _o_report_back "Preparing to archive the system" _e_report_back "Unbinding..." - + mkdir -p "$1/var/lib/gse" + echo "${GSEVER}" > "$1/var/lib/gse/version" _unmount "${_flag_base}" TARGETSTAMP="$(grep 'version_stamp' "${CCONFDIR}/system/catalyst/stage3.spec" \ @@ -2149,6 +2150,10 @@ _archive_() { echo -e "\e[34mWith version extension: ${GVEX}\e[0m"; } \ || die "Failed" break + + (cd "${CDISTDIR}" + md5sum stage3-amd64-prc-${GVEX}.tar.bz2 > stage3-amd64-prc-${GVEX}.tar.bz2.md5sum + ) else GVEX="${GSEVER}.${SUBBUILD}" ((++SUBBUILD)) |