FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Docs

LinkBack Thread Tools
Old 05-28-2010, 03:58 PM
Hans de Goede
Default 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



Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 12:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org