kumquat-buildroot/board/versal/post-build.sh
Neal Frager 2b738044ed board/versal: clean shellcheck issues
This patch cleans up the shellcheck issues in the versal post scripts.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-06 14:25:57 +02:00

16 lines
339 B
Bash
Executable File

#!/bin/sh
# genimage will need to find the extlinux.conf
# in the binaries directory
CONSOLE="$2"
ROOT="$3"
mkdir -p "${BINARIES_DIR}"
cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf"
label linux
kernel /Image
devicetree /system.dtb
append console=${CONSOLE} clk_ignore_unused root=/dev/${ROOT} rw rootwait
__HEADER_EOF