]> code.ossystems Code Review - openembedded-core.git/commit
init-install-efi.sh: Update to support installing multiple kernels
authorCalifornia Sullivan <california.l.sullivan@intel.com>
Thu, 1 Mar 2018 02:15:06 +0000 (18:15 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Mar 2018 14:23:06 +0000 (06:23 -0800)
commit3d67edb695368bfa5917dca2aab6a8dc4c437efc
tree13553c7051ff527a716a5f995b6b064ce327f050
parentdb904053e8ee80fb6930c5e7e22287927e0f25e2
init-install-efi.sh: Update to support installing multiple kernels

We can no longer rely on the kernel having a static name of "vmlinuz".
This means we can't use it as a sentinel value in our sed commands, and
we can't just copy vmlinuz to the boot directory.

Instead, we'll use "root=" as the sentinel value for our sed commands,
and we'll search for common kernel names to copy into our boot
directory.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-install-efi.sh