From 148330e0c53d2c8a7a72ce1405e23caae06f4c50 Mon Sep 17 00:00:00 2001 From: udeved Date: Thu, 16 Feb 2017 19:34:54 +0100 Subject: [PATCH] buildiso: use new repo identifier file --- lib/util-iso.sh | 2 +- lib/util.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util-iso.sh b/lib/util-iso.sh index 072ac6a..1cde59d 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -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 diff --git a/lib/util.sh b/lib/util.sh index fd0c7fe..20a29cd 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -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