Refactor code to get boot device
Extract a method get_boot_device
into tailslib.utils and use the
physical_hard_disk
function from /usr/lib/bilibop/common.sh
to avoid
depending on /dev/bilibop which is only guaranteed to be there once udev
has settled.
This is in preparation for #5856 (closed).