forked from mirrored-repos/manjaro-tools
buildiso: use new repo identifier file
This commit is contained in:
parent
b241ebf80d
commit
148330e0c5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue