forked from Mirror/pmbootstrap
pmbootstrap deviceinfo_parse: new action (MR 1986)
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
This commit is contained in:
parent
4d3c14f6c1
commit
d0b32b3b05
3 changed files with 29 additions and 0 deletions
|
@ -623,6 +623,15 @@ def arguments():
|
|||
" a kernel compiled with envkernel.sh.")
|
||||
add_packages_arg(build, nargs="+")
|
||||
|
||||
# Action: deviceinfo_parse
|
||||
deviceinfo_parse = sub.add_parser("deviceinfo_parse")
|
||||
deviceinfo_parse.add_argument("devices", nargs="*")
|
||||
deviceinfo_parse.add_argument("--kernel", help="the kernel to select (for"
|
||||
" device packages with multiple kernels),"
|
||||
" e.g. 'downstream', 'mainline'",
|
||||
dest="deviceinfo_parse_kernel",
|
||||
metavar="KERNEL")
|
||||
|
||||
# Action: apkbuild_parse
|
||||
apkbuild_parse = sub.add_parser("apkbuild_parse")
|
||||
add_packages_arg(apkbuild_parse, nargs="*")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue