Commit 850321e
committed
Fix ramdisk setup to correctly handle initbootimage assignment
The previous implementation did not update the bootimage pointer when an
initbootimage was present, which was leading to improper memcpy in
subsequent operations. This commit ensures that when initbootimage is
provided, both the boot_hdr and bootimage pointers are updated to reference
initbootimage.
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>1 parent eb5393f commit 850321e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
632 | | - | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
633 | 635 | | |
634 | 636 | | |
635 | 637 | | |
| |||
0 commit comments