Skip to content

Commit fec55ca

Browse files
committed
build_library/catalyst_toolchains: Install baselayout first
Previously it was not needed - the toolchains didn't have even an indirect dependency on baselayout. With switching to the selinux profile which enables a couple of additional USE flags (selinux, caps, audit), baselayout ends up being pulled in too.
1 parent 2d50642 commit fec55ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_library/catalyst_toolchains.sh

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ build_target_toolchain() {
3333
cp -at "${ROOT}" "${SYSROOT}"/lib*
3434
cp -at "${ROOT}"/usr "${SYSROOT}"/usr/include "${SYSROOT}"/usr/lib*
3535

36+
# install baselayout first, with the selinux profile, this seems
37+
# to be pulled into the dependency chain now
38+
PORTAGE_CONFIGROOT="$ROOT" run_merge --root="$ROOT" --sysroot="$ROOT" --oneshot --nodeps sys-apps/baselayout
39+
3640
local -a args_for_bdl=()
3741
if [[ -n ${clst_VERBOSE} ]]; then
3842
args_for_bdl+=(-v)

0 commit comments

Comments
 (0)