gpt: new gptprio.next command for selecting priority based partitions

Basic usage would look something like this:

    gptprio.next -d usr_dev -u usr_uuid
    linuxefi ($usr_dev)/boot/vmlinuz mount.usr=PARTUUID=$usr_uuid

After booting the system should set the 'successful' bit on the
partition that was used.
This commit is contained in:
Michael Marineau 2014-11-03 17:14:37 -08:00
parent d3c2759e83
commit e49d5b587e
5 changed files with 448 additions and 0 deletions

View file

@ -1156,6 +1156,12 @@ script = {
common = tests/gptrepair_test.in;
};
script = {
testcase;
name = gptprio_test;
common = tests/gptprio_test.in;
};
program = {
testcase;
name = example_unit_test;