discover: Make boot_priorities more flexible