[util] volid: move 'iso_label' to profile section

This commit is contained in:
Philip Müller 2020-02-09 00:08:08 +01:00
parent 5a6ad3f64b
commit 268f1dac17
3 changed files with 3 additions and 3 deletions

View file

@ -21,6 +21,7 @@ import ${LIBDIR}/util.sh
show_profile(){
prepare_profile "$1"
msg2 "iso_file: %s" "${iso_file}"
msg2 "iso_label: %s" "${iso_label}"
if ${verbose}; then
msg2 "autologin: %s" "${autologin}"
msg2 "nonfree_mhwd: %s" "${nonfree_mhwd}"
@ -84,7 +85,6 @@ display_settings(){
msg2 "dist_codename: %s" "${dist_codename}"
msg "ISO INFO:"
msg2 "iso_label: %s" "${iso_label}"
msg2 "iso_compression: %s" "${iso_compression}"
msg "BUILD QUEUE:"

View file

@ -612,6 +612,8 @@ load_profile(){
iso_file=$(gen_iso_fn).iso
iso_label=$(get_iso_label "${dist_branding}_${dist_release//.}_${profile}")
mkchroot_args+=(-C ${pacman_conf} -S ${mirrors_conf} -B "${build_mirror}/${target_branch}" -K)
work_dir=${chroots_iso}/${profile}/${target_arch}

View file

@ -313,8 +313,6 @@ init_buildiso(){
[[ -z ${iso_compression} ]] && iso_compression='zstd'
iso_label=$(get_iso_label "${dist_branding}${dist_release//.}")
[[ -z ${kernel} ]] && kernel="linux54"
load_run_dir "${profile_repo}"