Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/bootloader: Write to PReP partition for ppc64le
Bootloader code currently writes required data to base/parent device (eg /dev/sda). This logic does not work for ppc64le architecture as bootloader configuration has to be written to PRePboot partition(typically first partition of disk). This patch adds code to identify PowerPC-PReP-boot partition (for ppc64le architecture) using lsblk command and writes bootloader data to it. Signed-off-by: Sachin Sant <[email protected]>
- Loading branch information