48c3d9f396
This patch cleans up board/zynqmp shellcheck issues. Signed-off-by: Neal Frager <neal.frager@amd.com> [Peter: wrap long lines, use quotes around entire word] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
16 lines
325 B
Bash
Executable File
16 lines
325 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}" root="/dev/${ROOT}" rw rootwait
|
|
__HEADER_EOF
|