mirror of
https://github.com/pengutronix/genimage.git
synced 2024-11-27 11:43:56 +08:00
1d72d8091f
There have been situations where the hybrid mode was accidentally used because a config contained a bogus partition-type entry. So lets make this explicit: There is now a new 'partition-table-type' option where the hybrid mode must be selected explicitly. The relevant options for mbr and gpt are only acceptable if the corresponding type (or hybrid) is selected. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
10 lines
155 B
Plaintext
10 lines
155 B
Plaintext
image test.hdimage {
|
|
hdimage {
|
|
partition-table-type = "gpt"
|
|
}
|
|
partition part1 {
|
|
/* partition-type not valid for gpt */
|
|
partition-type = 0x83
|
|
}
|
|
}
|