Update droid4 kexec cmdline with the one we have in our kernel config.

This commit is contained in:
parazyd 2018-02-15 20:31:21 +01:00
parent fad02cba71
commit c1834d4ae9
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,10 @@ build_kernel_${arch}() {
cp -v "$strapdir/boot/omap4-droid4-xt894.dtb" ../ddroid/system/etc/kexec/devtree
popd
pushd ddroid
# use the cmdline found in our kernel config
eval $(grep CONFIG_CMDLINE= $R/boards/kernel-configs/droid4.config)
sed -i system/etc/kexec/kexec \
-e "s/^CMDLINE=.*/CMDLINE=$CONFIG_CMDLINE/"
make zip || zerr
popd
mkdir -p "$R/dist"