blob: 33ccc06cfc5a7ed65ec1b86670ec099f6aeb5072 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Chris Kay4e8aaf12022-09-01 15:21:55 +01003# Copyright (c) 2019-2022, Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8fetch_tf_resource() {
9 kernel_type="fvp-oe-uboot" get_kernel
10 initrd_type="dummy-ramdisk" get_initrd
Fathi Boudra422bf772019-12-02 11:10:16 +020011
12 tmp_dir="$(mktempdir)"
13 ln -s "${img_file:?}" "$archive/rootfs.bin"
Chris Kay4e8aaf12022-09-01 15:21:55 +010014}
Leonardo Sandoval42e60502020-10-21 17:16:41 -050015
Chris Kay4e8aaf12022-09-01 15:21:55 +010016generate_lava_job_template() {
17 # No expect tracking as this is an interactive test (test_run=1)
Leonardo Sandoval42e60502020-10-21 17:16:41 -050018 payload_type="linux" gen_fvp_yaml_template
Fathi Boudra422bf772019-12-02 11:10:16 +020019}