summaryrefslogtreecommitdiffstats
path: root/booty/ppc.py
Commit message (Collapse)AuthorAgeFilesLines
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-281-184/+0
| | | | | | | This is required so the source layout and package layout have a similar enough structure to make our test setup work. Without this move, you can't run "make check" or checkbot without getting error messages about no such module pyanaconda.booty.
* modules: dont treat booty special.Ales Kozumplik2010-06-231-1/+1
| | | | It really is just another pyanaconda subpackage.
* modules: necessary changes to the import statements under booty/Ales Kozumplik2010-06-231-2/+2
|
* booty: move grub specific mangling of partition number to the grub codeHans de Goede2010-05-311-1/+0
|
* Fix traceback in booty when ppc /boot lives on mdraid (#555272)Hans de Goede2010-04-121-1/+6
| | | | | | Note this patch is also intended for rhel6-branch, where it fixes #531722. I'll amend the commit mesg for rhel6-branch after cherry picking to show the right bz nr.
* 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-4/+3
| | | | | | | ...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.
* Remove test mode.Chris Lumens2009-12-031-8/+7
| | | | | | | This is yet another way of running anaconda that gets extremely limited use, no testing, and no consideration during development to making sure it still works. Again, we need to stop pretending and get rid of modes that we don't support.
* 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-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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-3/+3
| | | | | | | | 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 /
* Use iutil arch specifiers rather than rhplJeremy Katz2009-07-011-4/+3
| | | | | Switch to using iutil.isFoo() methods rather than checking the value of rhpl.getArch()
* Catch errors from bootloader installation and tell the user (#502210).Chris Lumens2009-06-051-11/+17
|
* Clean up argument list after changing from rhpl to iutil for execWithRedirectJesse Keating2009-04-171-1/+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.
* Fix writing out the partition= line on PPC (#492732).Chris Lumens2009-04-031-6/+2
|
* Look for a PReP "partition" by examining the format, not the flags (#492426).Chris Lumens2009-04-011-2/+2
|
* getDevice returns a string. Use that to look up the device object (#492465).Chris Lumens2009-03-271-1/+2
|
* 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 booty for dmraidHans de Goede2009-03-091-1/+1
| | | | | | Booty was expecting the xxxxxxx part of /dev/xxxxxx paths instead of new storage device names, this patch fixes this, making booty work on dmraid with the new storage code.
* Stop with the fsset usage.David Lehman2009-03-051-1/+1
|
* 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
|
* Move BootyNoKernelWarning into __init__.py and use it.Chris Lumens2009-03-041-1/+2
| | | | | Also, this gets rid of the goofy self.noKernelsWarn method which doesn't serve any useful purpose now that booty's part of anaconda.
* Use anaconda's provided rootDevice instead of performing another lookup.Chris Lumens2009-03-041-7/+4
|
* Add a storage instance to all bootloaderInfo subclasses.Chris Lumens2009-03-041-23/+21
| | | | | | 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.
* Remove all uses of fsset.getEntryByMountPoint.Chris Lumens2009-03-041-20/+23
|
* Don't use rhpl.executil anymore.Chris Lumens2009-03-041-5/+6
|
* Move each bootloader class into its own file.Chris Lumens2009-03-041-0/+179