Merge pull request #427 from ptr1337/fix-packaging

install_user_scheds: Skip packaging of scx_mitosis
This commit is contained in:
Tejun Heo 2024-07-14 13:19:49 -10:00 committed by GitHub
commit e580ddec3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,12 @@ for manifest in "$MESON_SOURCE_ROOT"/scheds/rust/*/Cargo.toml; do
target_dir="${MESON_BUILD_ROOT}${source_dir#${MESON_SOURCE_ROOT}}"
name="${target_dir##*/}"
# Skip scx_mitosis
if [ "$name" = "scx_mitosis" ]; then
echo "Skipping installation of $name"
continue
fi
bins=($(ls -t "${target_dir}/"*"/${name}"))
if [ ${#bins[@]} -lt 1 ]; then
echo "Cannot find a binary for $name under $target_dir" 1>&2