[Concept] [PATCH 07/18] boot: Move obtaining the label into a common file