cgpt: Change stateful partition type GUID to TYPE_LINUX_FS
The TYPE_BASIC_DATA (called TYPE_LINUX_DATA before) is used by both
Windows and Linux systems, and has caused problems when dual-booting.
Modern Linux systems have been changed to TYPE_LINUX_FS.
In Chrome OS, we usually find the stateful partition by number (1)
instead of searching by type, so it should be fine simply replacing
default mapping in the cgpt tool.
TEST=sudo emerge vboot_reference; make runtests
Signed-off-by: Hung-Te Lin <email@example.com>
Reviewed-by: Furquan Shaikh <firstname.lastname@example.org>
Reviewed-by: Matt Delco <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
3 files changed