mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
add EXTRA_CMDLINE option to add kernel command line arguments
Allow configuring extra kernel command line arguments by using the EXTRA_CMDLINE variable. The patch handles EXTRA_CMDLINE only for the bcm2835 boot loaders.
This commit is contained in:
parent
a09ae66ee4
commit
e3203be00e
@ -333,6 +333,7 @@ fi
|
|||||||
UUID_SYSTEM="$(uuidgen)" \
|
UUID_SYSTEM="$(uuidgen)" \
|
||||||
UUID_STORAGE="$(uuidgen)" \
|
UUID_STORAGE="$(uuidgen)" \
|
||||||
UBOOT_SYSTEM="$UBOOT_SYSTEM" \
|
UBOOT_SYSTEM="$UBOOT_SYSTEM" \
|
||||||
|
EXTRA_CMDLINE="$EXTRA_CMDLINE" \
|
||||||
$SCRIPTS/mkimage
|
$SCRIPTS/mkimage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ elif [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
|
|||||||
# create bootloader configuration
|
# create bootloader configuration
|
||||||
echo "image: creating bootloader configuration..."
|
echo "image: creating bootloader configuration..."
|
||||||
cat << EOF > "$OE_TMP"/cmdline.txt
|
cat << EOF > "$OE_TMP"/cmdline.txt
|
||||||
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet
|
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet $EXTRA_CMDLINE
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# copy files
|
# copy files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user