lorax/src
Brian C. Lane 590341f735 Retry losetup if loop_attach fails
It appears that sometimes the loop device doesn't get setup properly,
this may be a race with other users of loop devices on the system, or
some other mechanism that isn't understood.

To try and prevent total failure when this happens this patch retries
the loop setup 3 times before giving up. Previously it would wait for
the loop device to appear (checking 5 times), that operation is now
executed 3 times with a new losetup attempt each time.

Resolves: rhbz#1589084
(cherry picked from commit c746e8b0c3)
2018-06-11 14:00:42 -07:00
..
bin Move lorax-composer and composer-cli argument parsing into modules 2018-05-17 10:34:35 -07:00
composer Add support for sources to composer-cli 2018-06-04 15:48:41 -07:00
pylorax Retry losetup if loop_attach fails 2018-06-11 14:00:42 -07:00
sbin Add --dracut-arg support to lorax 2018-06-07 09:01:42 -07:00