From 0cbf8dedb5f854a4cb7994217c5daf996aba9c24 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 4 Feb 2026 15:03:38 +0000 Subject: [PATCH] build_sysext: Ensure sysexts are entirely built from binary packages It is no longer necessary to build the meta packages from source as they are now covered by build_packages. Signed-off-by: James Le Cuirot --- build_sysext | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_sysext b/build_sysext index 4a0d450e0b..d61856a6c1 100755 --- a/build_sysext +++ b/build_sysext @@ -22,7 +22,7 @@ default_install_root_basename='install-root' DEFINE_string board "${DEFAULT_BOARD}" \ "The board to build a sysext for." DEFINE_string metapkgs '' \ - "Comma-separated list of meta-packages to build from source and install into sysext image." + "Comma-separated list of binary meta-packages to install into the sysext image." DEFINE_string squashfs_base '' \ "The path to the squashfs base image. Defaults to the most current image built in '${default_imagedir}/${FLATCAR_PRODUCTION_IMAGE_SYSEXT_BASE}'." DEFINE_string image_builddir '' \ @@ -206,9 +206,9 @@ if [ "$VERSION_BOARD" != "$FLATCAR_VERSION" ]; then fi if [[ -n "${FLAGS_metapkgs}" ]]; then - mapfile -t metapkgs < <(tr ',' '\n' <<<"${FLAGS_metapkgs}") - "emerge-${FLAGS_board}" --nodeps --buildpkgonly --usepkg n --verbose "${metapkgs[@]}" - set -- "${metapkgs[@]}" "${@}" + IFS=, + set -- ${FLAGS_metapkgs} "${@}" + unset IFS fi if [[ ${#} -lt 1 ]]; then