[Concept] [PATCH 5/8] boot: Move obtaining the label into a common file