[util*] revert central cache_tree path; needs too much changes atm

This commit is contained in:
udeved 2015-11-20 22:38:16 +01:00
parent 2054ffe2ef
commit 7725b19c2f
3 changed files with 2 additions and 2 deletions

View file

@ -615,6 +615,7 @@ load_profile(){
[[ -d ${work_dir}/root-image ]] && check_chroot_version "${work_dir}/root-image"
eval_edition "$1"
local cache_tree=iso/${iso_edition}/${dist_release}
cache_dir_iso="${cache_dir}/${cache_tree}/$1"
prepare_dir "${cache_dir_iso}"
}

View file

@ -25,6 +25,7 @@ sync_dir(){
}
set_src_dir(){
cache_tree=iso/${iso_edition}/${dist_release}
src_dir=${cache_dir}/${cache_tree}/$1
}

View file

@ -427,8 +427,6 @@ init_buildiso(){
[[ -z ${use_overlayfs} ]] && use_overlayfs='true'
used_kernel=$(uname -r | cut -d . -f1)
[[ ${used_kernel} -lt "4" ]] && use_overlayfs='false'
cache_tree=iso/${iso_edition}/${dist_release}
}
init_deployiso(){