[util*] revert central cache_tree path; needs too much changes atm
This commit is contained in:
parent
2054ffe2ef
commit
7725b19c2f
3 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ sync_dir(){
|
|||
}
|
||||
|
||||
set_src_dir(){
|
||||
cache_tree=iso/${iso_edition}/${dist_release}
|
||||
src_dir=${cache_dir}/${cache_tree}/$1
|
||||
}
|
||||
|
||||
|
|
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue