Commit b65aa0ae authored by Guido Gunther's avatar Guido Gunther
Browse files

librem5-flash-image: Allow to download luks images

Repurpose the board variant for that since it's unused.
parent ab4a9f21
Pipeline #65447 passed with stages
in 3 minutes and 23 seconds
......@@ -36,9 +36,9 @@ JENKINS = 'https://arm01.puri.sm'
BOARD_TYPE = 'librem5r4'
VALID_PHONE_BOARD_TYPES = ['librem5r2', 'librem5r3', 'librem5r4']
VALID_DEVKIT_BOARD_TYPES = ['devkit']
BOARD_VARIANT = 'plain'
DIST = 'amber-phone'
IMAGE = '{}.img'
IMAGE_VARIANT = 'plain'
META_YAML = 'files/meta.yml'
IMAGE_JOB_NAME = 'Images/Image Build'
UBOOT = 'u-boot-{}.imx'
......@@ -369,9 +369,9 @@ def main():
parser.add_argument('--download-attempts', type=int, default=RETRIES,
help="Maximum number of attempts to resume "
"image download. 0: unlimited, default is {}".format(RETRIES))
parser.add_argument('--variant', choices=['legacy', 'current', 'next', 'plain'], default=BOARD_VARIANT,
help="Variant of the board to download ( legacy, current, next ), "
"default is '{}'".format(BOARD_VARIANT))
parser.add_argument('--variant', choices=['plain', 'luks'], default=IMAGE_VARIANT,
help="Image variant to download ( plain, luks ), "
"default is '{}'".format(IMAGE_VARIANT))
parser.add_argument('--board', choices=VALID_DEVKIT_BOARD_TYPES + VALID_PHONE_BOARD_TYPES, default=None,
help="Type of the board to download ( devkit, librem5r2, librem5r3, librem5r4 ) "
"default is 'auto'")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment