Use REPO_BINARY when compiling relibc on sysroot

This commit is contained in:
Wildan M 2026-07-15 20:11:15 +07:00
parent f7d0c39118
commit fd549a53da
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
2 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ img:
stage: test
script:
- echo 'progress = bar:force:noscroll' > /etc/wgetrc
- curl "https://sh.rustup.rs" -sSf | sh -s -- -y --default-toolchain stable --profile minimal
- export PATH="$HOME/.cargo/bin:$PATH"
- export PODMAN_BUILD=0 SKIP_CHECK_TOOLS=1 REPO_BINARY=1 FSTOOLS_NO_MOUNT=1 COOKBOOK_VERBOSE=false
- ./podman/rustinstall.sh
- make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
pkg:

View File

@ -72,7 +72,7 @@ else
endif
export PATH="$(ROOT)/$@.partial/bin:$$PATH" && \
export CARGO="env -u CARGO cargo" $(PREFIX_CONFIG) && \
$(REPO_BIN) cook relibc
$(REPO_BIN) cook relibc $(COOKBOOK_OPTS)
ifneq ($(HOSTED_REDOX),1)
cp -r "$(RELIBC_TARGET)/stage/usr/". "$@.partial/$(GNU_TARGET)"
mkdir -p "$@.partial/$(GNU_TARGET)/usr"