mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
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>
(cherry picked from commit 2b738044ed)
Signed-off-by: Peter Korsgaard <peter@korsgaard.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
|