diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-12-27 12:53:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-12-27 12:53:50 +0000 |
commit | fbc35fa14230f5770036361542c59ba30db4aff9 (patch) | |
tree | dd1c0e65e995615ce07904cb8985600ef7010c9c /scripts/mkefi-agl.sh | |
parent | 2a1c8e5e89f1b86e292cbe7c59e329b1fb05d243 (diff) | |
parent | c2fa1ceee51143d2e597e1dccc02455e1425fb92 (diff) |
Merge "adding copying of microcode.cpio if present" into eel
Diffstat (limited to 'scripts/mkefi-agl.sh')
-rwxr-xr-x | scripts/mkefi-agl.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mkefi-agl.sh b/scripts/mkefi-agl.sh index 43a0c3e7f..f2480e2e3 100755 --- a/scripts/mkefi-agl.sh +++ b/scripts/mkefi-agl.sh @@ -415,10 +415,14 @@ if [ -f $HDDIMG_MNT/vmlinuz ]; then debug "kernel is vmlinuz" fi if [ -f $HDDIMG_MNT/bzimage ]; then - cp $HDDIMG_MNT/bzimage $BOOTFS_MNT 1>&3 2>&1 || die "Failed to copy vmlinuz" + cp $HDDIMG_MNT/bzimage $BOOTFS_MNT 1>&3 2>&1 || die "Failed to copy bzimage" KERNEL_TYPE="BZIMAGE" debug "kernel is bzimage" fi +if [ -f $HDDIMG_MNT/microcode.cpio ]; then + cp $HDDIMG_MNT/microcode.cpio $BOOTFS_MNT 1>&3 2>&1 || die "Failed to copy microcode.cpio" + debug "microcode.cpio copied" +fi [ -z $KERNEL_TYPE ] && die "Linux kernel type in $HDDIMG is unsupported" if [ -f $HDDIMG_MNT/initrd ] |