Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefiles: Use grep -q rather than --quiet #18904

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Nov 14, 2022

--quiet is a GNUism; Alpine's busybox grep only supports the minimal -q option required by POSIX.

Testing procedure

This allows using Rust on RIOT on an Alpine build system to fail one step later (but as for the correctness of the PR, this shoudl be evident by reading the file).

@chrysn chrysn added Area: build system Area: Build system Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Nov 14, 2022
@chrysn chrysn requested a review from maribu November 14, 2022 08:35
@riot-ci
Copy link

riot-ci commented Nov 14, 2022

Murdock results

✔️ PASSED

269b33f makefiles: Use grep -q rather than --quiet

Success Failures Total Runtime
2002 0 2002 06m:30s

Artifacts

This only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now.

Copy link
Member

@maribu maribu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. Please squash right away and consider the ACK still valid afterwards.

makefiles/cargo-targets.inc.mk Outdated Show resolved Hide resolved
`--quiet` is a GNUism; Alpine's busybox grep only supports the minimal
-q option required by POSIX.
@chrysn chrysn merged commit 971a023 into RIOT-OS:master Nov 14, 2022
@chrysn chrysn deleted the posixly-correct-grep branch November 14, 2022 12:04
@kaspar030 kaspar030 added this to the Release 2023.01 milestone Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants