Files
carbon e42fe97d74 buildroot long term support release 2024.02.3
buildroot-2024.02.3.tar.gz

Signed-off-by: carbon <carbon@milkv.io>
2024-06-21 14:23:43 +08:00

16 lines
321 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