diff --git a/src/boot/boot.c b/src/boot/boot.c index 06d0e8ead1..ea8d426c08 100644 --- a/src/boot/boot.c +++ b/src/boot/boot.c @@ -1299,6 +1299,12 @@ static void boot_entry_add_type1( } else if (streq8(key, "sort-key")) { free(entry->sort_key); entry->sort_key = xstr8_to_16(value); + } else if (streq8(key, "profile")) { + uint64_t u; + if (parse_number8(value, &u, NULL) && u <= UINT_MAX) + entry->profile = (unsigned)u; + else + log_warning("Error parsing 'profile' entry option, ignoring: %s", value); } else if (streq8(key, "version")) { free(entry->version);