buildiso: use new repo identifier file

This commit is contained in:
udeved 2017-02-16 19:39:39 +01:00
parent b241ebf80d
commit 19995bbac3
2 changed files with 2 additions and 2 deletions

View file

@ -435,7 +435,7 @@ make_syslinux() {
}
check_requirements(){
[[ -f ${run_dir}/.buildiso ]] || die "%s is not a valid iso profiles directory!" "${run_dir}"
[[ -f ${run_dir}/repo_info ]] || die "%s is not a valid iso profiles directory!" "${run_dir}"
if ! $(is_valid_arch_iso ${target_arch});then
die "%s is not a valid arch!" "${target_arch}"
fi

View file

@ -704,7 +704,7 @@ clean_dir(){
}
write_repo_conf(){
local repos=$(find $USER_HOME -type f -name ".buildiso")
local repos=$(find $USER_HOME -type f -name "repo_info")
local path name
[[ -z ${repos[@]} ]] && run_dir=${DATADIR}/iso-profiles && return 1
for r in ${repos[@]}; do