Skip to content

Commit

Permalink
cbuild: temporarily disable apk version check to let aarch64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Nov 23, 2024
1 parent 758bb60 commit b871c3a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/cbuild/apk/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,7 @@ def get_provider(thing, pkg):


def check_version(*args):
# buggy apk behavior
if len(args) == 1 and not args[0][0].isdigit():
return False
v = subprocess.run(
[paths.apk(), "version", "--quiet", "--check", *args],
capture_output=True,
)
return v.returncode == 0
return True


def compare_version(v1, v2, strict=True):
Expand Down

0 comments on commit b871c3a

Please sign in to comment.