Support alternative GPT header signature

In order to dual boot Windows and ChromeOS, Windows must
not find a GPT partition table on the disk. So change
ChromeOS to cope with an alternative signature "CHROMEOS"
instead of the standard "EFI PART"

TEST=rebuild chromeos, install it,
     run cgpt legacy /dev/sda
     dd if=/dev/sda of=/tmp/x bs=1k
     hexdump -C /tmp/X
     see the string CHROMEOS
Signed-off-by: Stefan Reinauer <>

Change-Id: Ia88eff33b9880bd73a78c1b8e026c1f8298c4557
Reviewed-by: Randall Spangler <>
Commit-Ready: Stefan Reinauer <>
Tested-by: Stefan Reinauer <>
10 files changed