hooks/archiso: use resolve_device() instead of poll_device()

Unlike poll_device, resolve_device supports using tags (e.g. UUID=, LABEL=, PARTUUID=, PARTLABEL=) to specify a device. This is a lot more prettier than using the /dev/disk/by-*/* symlinks.

Since mount supports these tags, they can be passed to it as is.

Implements #10 (closed)

Merge request reports

Loading