This introduces support for bootfs_hint in the initoverlayfs installation process. The bootfs_hint is now parsed from the configuration file and utilized during the mounting bootfs. If a bootfs_hint is provided and matches the metadata of the expected bootfs (say PARTLABEL, PARTUUID as examples), it is used directly without performing a blkid lookup. This optimization aims to improve performance and efficiency during the bootfs mounting process.
Changes:
Added parsing and utilization of bootfs_hint in initoverlayfs installation.
Uses bootfs_hint if available and matching.
Updated data structure and cleanup routines to handle bootfs_hint.
This introduces support for bootfs_hint in the initoverlayfs installation process. The bootfs_hint is now parsed from the configuration file and utilized during the mounting bootfs. If a bootfs_hint is provided and matches the metadata of the expected bootfs (say PARTLABEL, PARTUUID as examples), it is used directly without performing a blkid lookup. This optimization aims to improve performance and efficiency during the bootfs mounting process.
Changes: