2b738044ed
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>
16 lines
339 B
Bash
Executable File
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
|