[rhel6-branch] Use standard losetup instead of our own

Vratislav Podzimek vpodzime at redhat.com
Fri Jul 5 08:23:22 UTC 2013


This patch removes our implementation of the 'losetup' utility that lacks one
important functionality -- giving a free (non-busy) loop device. The standard
utility provides that functionality and can be thus used to prevent issues
mentioned in the bug -- long story short, people may use loop devices in their
kickstarts so we shouldn't rely on having particular loop devices available.

I'm not able to test the changes made to the upd-instroot, but I believe they
are correct.

Vratislav Podzimek (1):
  Use standard losetup utility to get a free loop device (#846336)

 command-stubs/losetup-stub | 70 -----------------------------------
 command-stubs/losetup-test | 91 ----------------------------------------------
 image.py                   | 29 +++++++++++----
 scripts/upd-instroot       |  3 +-
 yuminstall.py              |  9 +++--
 5 files changed, 27 insertions(+), 175 deletions(-)
 delete mode 100755 command-stubs/losetup-stub
 delete mode 100644 command-stubs/losetup-test

-- 
1.7.11.7



More information about the anaconda-patches mailing list