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 221: 29b9d353ece5
parent 220: 14193ba44bda
child 222: 2a6821e06ffe
Added tag anaconda-9_90-5 for changeset 14193ba44bda defaultanaconda-9_90-4
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 5.4 KB 3 years ago Added tag anaconda-9_90-5 for changeset 14193ba44bda
Makefile 2.2 KB 6 years ago python 2.3, other instead of win32
README 930 B 8 years ago Initial revision
TODO 405 B 8 years ago updates
bootloaderInfo.py 59.5 KB 6 years ago no ide-scsi with 2.6
booty.py 12.3 KB 7 years ago iSeries support... I feel kind of dirty
booty.spec 6.1 KB 6 years ago no ide-scsi with 2.6
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)