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 253: e64f6eb0eb45
parent 252: 60d69a7dca87
child 254: e81c745d3458
* Mon Jun 28 2004 Jeremy Katz <katzj@redhat.com> - 0.39-1 - tweak timeouts to be shorter - use hiddenmenu by default with grub defaultr0_39-1
katzj
6 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 6.4 KB 3 years ago Added tag r0_38-1 for changeset d005dc631862
Makefile 2.3 KB 6 years ago tweak makefile a little, tag on make archive, make smarter…
README 930 B 8 years ago Initial revision
TODO 405 B 8 years ago updates
bootloaderInfo.py 61.8 KB 6 years ago * Mon Jun 28 2004 Jeremy Katz <katzj@redhat.com> - 0.39-1
booty.py 12.3 KB 7 years ago iSeries support... I feel kind of dirty
booty.spec 6.9 KB 6 years ago * Mon Jun 28 2004 Jeremy Katz <katzj@redhat.com> - 0.39-1
butil.py 3.7 KB 6 years ago simple fix from msw
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)