forked from Mirror/pmbootstrap
Remove lots of legacy 'challenge' code (#1162)
Preparation for #1122. * `pmb.parse.apkindex.parse()`, removed strict parameter: This used to raise an exception when two entries in the apkindex provided the same package. Turns out this is *not* invalid after all, two packages can provide the same soname for example (e.g. libhybris, mesa-egl). In an APKINDEX, sonames are listed as they were packages ("so:libjpeg.so.8" etc.). * Remove `pmbootstrap challenge` leftover code from reproducible builds effort, which was a dead end. This code uses the broken strict feature.
This commit is contained in:
parent
7f9fc68729
commit
0479031f7e
12 changed files with 4 additions and 931 deletions
|
@ -328,21 +328,6 @@ def arguments():
|
|||
for action in [kconfig_check, apkbuild_parse]:
|
||||
action.add_argument("packages", nargs="*")
|
||||
|
||||
# Action: challenge
|
||||
challenge = sub.add_parser("challenge",
|
||||
help="verify, that all files in an apk can be"
|
||||
" reproduced from the same sources /"
|
||||
" verify, that an APKINDEX.tar.gz properly"
|
||||
" lists all apks in a repository folder")
|
||||
challenge.add_argument("--output-repo-changes", dest="output_repo_changes",
|
||||
help="pass the path to a file here, to store a list"
|
||||
" of apk- and APKINDEX-files that have been"
|
||||
" changed during the build", default=None)
|
||||
challenge.add_argument("challenge_file",
|
||||
help="the file to be verified. must end in"
|
||||
" .apk, or must be named"
|
||||
" APKINDEX.tar.gz.")
|
||||
|
||||
# Action: apkindex_parse
|
||||
apkindex_parse = sub.add_parser("apkindex_parse")
|
||||
apkindex_parse.add_argument("apkindex_path")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue