summaryrefslogtreecommitdiffstats
path: root/booty/s390.py
Commit message (Collapse)AuthorAgeFilesLines
* Move bootloader into the Anaconda object.Chris Lumens2010-02-041-2/+2
|
* With flags.setupFilesystems gone, justConfig can be removed from booty.Chris Lumens2009-12-031-2/+2
| | | | | | | ...well, it can mostly be removed. The s390 and x86 classes still do some complicated things that end up with a justConfig test, so it has to stay in those files. However, their write() methods no longer need to accept that parameter.
* Make bootLoaderInfo new-style class, so that its properties work correctly.Radek Vykydal2009-10-151-1/+2
| | | | | | | | | If the bootLoaderInfo is old-style class, setting of its property drivelist doesn't work, instead the property is overwritten with attribute and therefore for example any following calls of updateDriveList have no effect. AFAIK it doesn't cause problems anywhere at the moment, but I think it should be fixed it in master.
* Expose common fsset methods and properties in class Storage.David Cantrell2009-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add the following methods and properties to class Storage which map through to FSSet methods, modify existing calls to use the method on class Storage: turnOnSwap() mountFilesystems() umountFilesystems() parseFSTab() mkDevRoot() createSwapFile() fsFreeSpace() mtab mountpoints migratableDevices rootDevice Callers no longer need to pass the Anaconda object to the FSSet methods directly. The method on Storage takes care of that. The mtab() method on FSSet is exposed as a property on Storage. The same is true for fsFreeSpace().
* dracut has initrd-generic-<version> instead of initrd-<version> (#519185)Hans de Goede2009-08-261-8/+7
| | | | | | | | dracut using kernel come with a prebuild initrd-generic-<version> instead of initrd-<version>, so if we fail to find /boot/initrd-<version>.img, check for /boot/initrd-generic-<version>.img instead. I've done things this way so that if we ever need to generate system specific (so non generic) initrd's for some reason the code will stay working.
* Pass InstalltData to booty __init__ as it needs access to many of its membersHans de Goede2009-08-051-2/+2
| | | | | | | | | Currently we are passing storage and network to booty's __init__, for writing the necessary kernel cmdline parameters for dracut for international consoles / keyboards booty will also need access to keyboard and language, instead of passing these all in seperately just pass InstalltData to booty's __init__. This is a preparation patch for writing out the dracut kernel cmdline commands for i18n support.
* Add a dracutSetupString method to network.pyHans de Goede2009-08-041-2/+2
| | | | | | | | | Add a dracutSetupString method to network.py, this can be used to ask the Network class to get a dracut setup string to setup the interface needed for a connection to a certain host. This patch also adds code to booty to use this to get kernel cmdline dracut setup commands for any NIC's needed to connect to devices needed for /
* Catch errors from bootloader installation and tell the user (#502210).Chris Lumens2009-06-051-10/+15
|
* Clean up argument list after changing from rhpl to iutil for execWithRedirectJesse Keating2009-04-171-2/+1
| | | | | | | | | | iutil uses subprocess.Popen and passes in the argv as a list, which causes Popen to use the first entry of the list as the executable, and the rest of the entires as arguments to that executable. This is different from how rhpl did things in which the first argument of the arglist had to be the executable itself. Also iutil expects argv to be a real list not a tuple.
* Make root= line in grub.conf and path spec in fstab consistentHans de Goede2009-03-201-1/+1
| | | | | | | | | booty was using its own code to find out wether to pass in UUID=.... or /dev/.... as root= option, leading to inconsistencies between fstab (/dev/mapper/Volgroup-lv_root) and grub.conf (UUID=...) Harmless, but confusing. This patch fixes this by removing the no longer needed getRootDevName method from booty and instead using device.fstabSpec
* Fix writing the default= line in grub.conf (#490756).Chris Lumens2009-03-191-1/+1
| | | | | This was caused by trying to compare an instance of an object with a string, which of course is never going to work.
* Fix passing a device vs. passing a device's name in several more places.Chris Lumens2009-03-041-1/+1
|
* bootloader.write takes fewer arguments now, so clean up arg passing.Chris Lumens2009-03-041-1/+1
|
* We're not even using the results of getImages here.Chris Lumens2009-03-041-3/+0
|
* Use anaconda's provided rootDevice instead of performing another lookup.Chris Lumens2009-03-041-5/+2
|
* Add a storage instance to all bootloaderInfo subclasses.Chris Lumens2009-03-041-4/+4
| | | | | | We could pass storage around to all the various functions that will need it, but that's a big mess. It's far easier to just set this when we create the bootloaderInfo class and never worry about it again.
* There's no need to paste together the full path over and over again.Chris Lumens2009-03-041-5/+6
|
* Remove all uses of fsset.getEntryByMountPoint.Chris Lumens2009-03-041-11/+11
|
* Don't use rhpl.executil anymore.Chris Lumens2009-03-041-2/+2
|
* Move each bootloader class into its own file.Chris Lumens2009-03-041-0/+179