meta-intel/common
Mikko Ylinen df8aa97ec5 systemd-boot: stub: check LoadOptions contains data
With some UEFI shells LoadOptionsSize is reported being > 0
but the corresponding LoadOptions does not contain any data
(the first element has value 0).

When that happens, the stub feature that allows .cmdline to be
replaced by what's in LoadOptions ends up copying nothing/random
data to the kernel cmdline resulting in different kinds of boot
problems.

To fix this, add a check to see if LoadOptions contains data
before replacing the .cmdline.

Upstream-Status: Accepted [https://github.com/systemd/systemd/pull/5467]

Fixes [YOCTO #11078].

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-13 09:17:14 -07:00
..
custom-licenses Remove all the changes related to the proprietary EMGD graphics driver 2014-09-16 20:12:28 -05:00
recipes-bsp systemd-boot: stub: check LoadOptions contains data 2017-03-13 09:17:14 -07:00
recipes-core core-image-tiny-initramfs: Choose WKS_FILE correctly between architectures 2017-03-07 12:22:22 -08:00
recipes-extended dpdk: Add libibverbs library to support MLX config 2017-02-28 16:05:01 -08:00
recipes-graphics intel-gpu-tools: Disbale build for MUSL 2017-02-10 07:52:50 -08:00
recipes-kernel/linux linux-yocto/4.4: add intel-quark-preempt-rt config to cache 2017-03-07 12:40:04 -08:00
recipes-multimedia va-intel: LICENSE is straight MIT so just use COPYING.MIT 2017-03-07 12:18:36 -08:00