#526 Issue closed: ppc64: PREP partition creation needed

Labels: enhancement, fixed / solved / done

jayfurmanek opened issue at 2015-01-13 20:30:

Hi,
I was testing REAR on a ppc64 box. It backs up ok, but when restoring, the PREP partition doesn't get created. This partition is used as storage for the bootloader on ppc, so it's necessary.
It looks to be a pretty easy fix, though. Parted supports creating a PREP partition, and the backup part notes the partition type. We just need to check for the "prep" flag in the flaglist in:
usr/share/rear/layout/save/GNU/Linux/20_partition_layout.sh
It's around line 160 or so. Pretty low risk change, too.
I have a system I can test on.

gdha commented at 2015-01-14 09:44:

@jayfurmanek will you prepare a pull request for this?

jayfurmanek commented at 2015-01-14 15:55:

I can, yes.

jayfurmanek commented at 2015-01-22 03:56:

Pull request created. I'll likely be creating a few more for ppc64 as I ran into a few other issues. This particular issue is fixed with the change in the pull request.


[Export of Github issue for rear/rear.]