Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS Docs (http://www.linux-archive.org/centos-docs/)
-   -   Booty cleanup patchset (http://www.linux-archive.org/centos-docs/377839-booty-cleanup-patchset.html)

Hans de Goede 05-28-2010 03:58 PM

Booty cleanup patchset
 
It is about time someone put a firehose on booty to thoroughly
clean it up, attached is a first attempt at making booty cleaner.

The attached patchset moves booty over from using device names to devices
one function at a time, this leads to some bits of code coming and going
between patches, the end result as one big patch would be:

bootloader.py | 16 ++++-----
booty/alpha.py | 16 +--------
booty/bootloaderInfo.py | 3 +
booty/checkbootloader.py | 76 +++++++++--------------------------------------
booty/ppc.py | 1
booty/sparc.py | 5 +--
booty/util.py | 38 ++++-------------------
booty/x86.py | 62 +++++++++++++++++++-------------------
8 files changed, 68 insertions(+), 149 deletions(-)

And more importantly a whole lot of getDeviceByName, devpathToName, etc
calls are gone.

Note this is entirely untested sofar, and now it is weekend for me :)

Regards,

Hans

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 12:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.