Skip to content

Commit

Permalink
sysext_prod_builder: Add suggestions from PR review
Browse files Browse the repository at this point in the history
Co-authored-by: Krzesimir Nowak <[email protected]>
Signed-off-by: Thilo Fromm <[email protected]>
  • Loading branch information
t-lo and krnowak committed Oct 27, 2023
1 parent ab7f97f commit 0db405f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_library/sysext_prod_builder
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ create_prod_sysext() {

local -a build_sysext_opts=()

local grp_pkg="${grp_pkgs//&/ }"

local msg="Installing ${grp_pkg} in sysext ${name}.raw"
local -a grp_pkg
mapfile -t grp_pkg <<<"${grp_pkgs//&/$'\n'}"
local msg="Installing ${grp_pkg[*]} in sysext ${name}.raw"

# Include previous sysexts' pkginfo if supplied
if [[ -n "${pkginfo}" ]] ; then
Expand All @@ -62,7 +62,7 @@ create_prod_sysext() {
--squashfs_base="${base_sysext}" \
--generate_pkginfo \
"${build_sysext_opts[@]}" \
"${name}" ${grp_pkg}
"${name}" "${grp_pkg[@]}"

sudo mv "${workdir}/sysext-build/${name}.raw" "${workdir}/sysext-build/${name}_pkginfo.raw" \
"${workdir}/sysext-build/${name}"_*.txt "${output_dir}"
Expand Down

0 comments on commit 0db405f

Please sign in to comment.