Skip to content

Refactor code to get boot device

segfault requested to merge refactor-get-boot-device into stable

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).

Merge request reports