rpathsync / booty

Bootloader configuration python library used by Anaconda.

Clone this repository (size: 394.9 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/rpathsync/booty/
commit 205: 66e70baded1d
parent 204: 05433be5c677
child 206: 1c7faf421993
Added tag before-taroon-updates for changeset 05433be5c677 defaultanaconda-9_2-2
Elliot Peele
3 years ago

 NB: This is not the latest revision. For the latest view, go to tip.

View at rev
booty /
filename size last modified message
edd  
tests  
.cvsignore 31 B 8 years ago add _bootysys.c so that we can have chroot (why oh why does…
.hgignore 84 B 3 years ago Tailor preparing to convert repo by adding .hgignore
.hgtags 4.7 KB 3 years ago Added tag before-taroon-updates for changeset 05433be5c677
Makefile 2.2 KB 7 years ago don't need to do this part now
README 930 B 8 years ago Initial revision
TODO 405 B 8 years ago updates
bootloaderInfo.py 59.7 KB 6 years ago Win32 instead of DOS (#71565)
booty.py 12.3 KB 7 years ago iSeries support... I feel kind of dirty
booty.spec 5.8 KB 6 years ago Win32 instead of DOS (#71565)
butil.py 3.7 KB 7 years ago /tmp/product fixes
checkbootloader.py 5.6 KB 7 years ago support for yaboot from dburcaw.
grubupdatetest.py 803 B 8 years ago Initial revision
lilo.py 8.9 KB 7 years ago support for yaboot from dburcaw.
liloupdatetest.py 803 B 8 years ago Initial revision
py-compile 1.4 KB 8 years ago Initial revision

README

booty

This provides a simple interface for the creation of boot loader 
configuration files and the addition of stanzas to said configuration
files.

Much of the code is originally from either anaconda or up2date.


Although there's a lot of functionality here, a lot of it requires
mucking with object internals for now.  Also, there are some bits
which are still tied into anaconda infrastructure.  This will
eventually be fixed, but there's just not time right now.  The
following bits of API can be supported, though.  If you have anything
you'd like in here for your own purposes, let me know and I'll see
if I can add an API function that won't care about what goes on
underneath.


bootloader.installNewImages(kernelList, backupSuffix)
  where kernelList is a python list of (verRel,extraInfo) tuples, eg
        [("2.4.7-10smp", "smp"), ("2.4.9", None)]
  and backupPrefix is the suffix to use for backups (defaults to rpmsave)