From 28166fcd601012e6b425d7296f838d4a9cc73ab9 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 23 Feb 2026 17:49:09 +0000 Subject: [PATCH] build_sysext: Squash build Portage profile parsing failure warning The Portage config is visible through the sysext root directory via overlayfs while installing packages, but the overlay gets unmounted before equery is called. Use the board root's config instead. Signed-off-by: James Le Cuirot --- build_sysext | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_sysext b/build_sysext index 4a0d450e0b8..555e0748b99 100755 --- a/build_sysext +++ b/build_sysext @@ -248,7 +248,7 @@ if [[ "$FLAGS_generate_pkginfo" = "${FLAGS_TRUE}" ]] ; then fi info "Writing ${SYSEXTNAME}_packages.txt" -ROOT="${BUILD_DIR}/${FLAGS_install_root_basename}" PORTAGE_CONFIGROOT="${BUILD_DIR}/${FLAGS_install_root_basename}" \ +ROOT="${BUILD_DIR}/${FLAGS_install_root_basename}" PORTAGE_CONFIGROOT="/build/${FLAGS_board}" \ equery --no-color list --format '$cpv::$repo' '*' > "${BUILD_DIR}/${SYSEXTNAME}_packages.txt"