lib: Add support for tracking boot consoles