summaryrefslogtreecommitdiffstats
path: root/booty
Commit message (Collapse)AuthorAgeFilesLines
* Catch errors from bootloader installation and tell the user (#502210).Chris Lumens2009-06-057-85/+128
|
* Remove the bootloader --lba32 option.Chris Lumens2009-06-042-25/+5
|
* Add a Mac OS boot line to yaboot.conf (#499964).Chris Lumens2009-05-131-3/+6
| | | | | | | | | | The problem is that a Mac filesystem is HFS+, but is not marked bootable. The Apple Bootstrap partition is marked bootable. Therefore we take the stupid test and say if there's a bootable Apple Bootstrap partition on a disk and there's an HFS partition, mark that as the Mac OS partition for the bootloader config. This is about as stupid as what we're doing for DOS filesystems now and is easily screwed up, but it's better than nothing.
* Add "nomodeset" to the list of command line arguments copied to grub.confPeter Jones2009-04-281-1/+1
| | | | | | | "nomodeset" is one of the command line options that it's very likely you'll want post-install if you want it during install. Ergo, this patch adds it to the list of options preserved in the normal bootloader config file after installation.
* Initialize x86 class variables before efiBootloaderInfo.__init__()Peter Jones2009-04-281-1/+5
| | | | | | | If self._configdir and self._configname are set after efiBootloaderInfo.__init__() is called, they're never right for EFI systems. If we set them before, efiBootloaderInfo.__init__() only *conditionally* overwrites them, so normal x86 is safe.
* Fix another device vs. string problem in EFI bootloader config (#496669).Chris Lumens2009-04-211-4/+4
|
* Clean up argument list after changing from rhpl to iutil for execWithRedirectJesse Keating2009-04-176-13/+12
| | | | | | | | | | 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 NameError traceback setting up bootloader in EFI installsWill Woods2009-04-171-2/+2
| | | | | | Gah. I failed to capture the complete traceback, but a quick inspection of addNewEfiEntry() shows that there's no global 'storage' name defined here. I'm guessing it's supposed to be 'self.storage' instead.
* Fix reading the console= parameter from the cmdline (#490731).Chris Lumens2009-04-061-1/+1
| | | | | This should mean that the serial device and options once again get preserved in the installed system's bootloader config.
* Fix writing out the partition= line on PPC (#492732).Chris Lumens2009-04-031-6/+2
|
* Fix testing if a PPC partition is bootable (#492726).Chris Lumens2009-04-011-1/+1
|
* 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-206-21/+6
| | | | | | | | | 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-193-3/+3
| | | | | This was caused by trying to compare an instance of an object with a string, which of course is never going to work.
* Do not write LV uuid to grub.conf, but the filesystem uuidHans de Goede2009-03-181-7/+5
| | | | | | | | | | | | When re-using an existing LV for /, and thus one which has uuid set in its representing Device, we would write the LV uuid to grub.conf as root= parameter, resulting in a non booting system. Also we no longer keep labels anywhere, so don't look for a label. Note that we are only hitting this with pre-existing LV's because we are not setting / updating the LVDevice's uuid when creating a new one (something which we ought to fix).
* storage.disks never includes disks without media present.Chris Lumens2009-03-171-1/+1
|
* Add mediaPresent and eject to the OpticalDevice class.Chris Lumens2009-03-131-1/+1
| | | | | | | These no longer belong in isys.py as putting them in the classes is much more correct. I also put a mediaPresent method on Device in general. This will come in handy when we start dealing with USB CF readers and similar devices that can be present without having media.
* Fix a typoJesse Keating2009-03-101-1/+1
|
* Fix booty for dmraidHans de Goede2009-03-097-41/+47
| | | | | | 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-056-12/+45
|
* Fix passing a device vs. passing a device's name in several more places.Chris Lumens2009-03-046-8/+8
|
* Adapt getPhysicalDevices to the new storage code.Chris Lumens2009-03-041-28/+22
|
* bootloader.write takes fewer arguments now, so clean up arg passing.Chris Lumens2009-03-047-7/+7
|
* Move BootyNoKernelWarning into __init__.py and use it.Chris Lumens2009-03-047-20/+18
| | | | | Also, this gets rid of the goofy self.noKernelsWarn method which doesn't serve any useful purpose now that booty's part of anaconda.
* We're not even using the results of getImages here.Chris Lumens2009-03-042-5/+1
|
* Use anaconda's provided rootDevice instead of performing another lookup.Chris Lumens2009-03-046-27/+15
|
* Move the isys import higher up.Chris Lumens2009-03-041-1/+1
|
* Add a storage instance to all bootloaderInfo subclasses.Chris Lumens2009-03-048-60/+62
| | | | | | 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.
* Stop using isys.hardDriveDict.Chris Lumens2009-03-041-13/+2
|
* There's no need to paste together the full path over and over again.Chris Lumens2009-03-043-20/+21
|
* Make some sense out of the types in the BootImages class.Chris Lumens2009-03-041-47/+43
|
* Remove all uses of fsset.getEntryByMountPoint.Chris Lumens2009-03-047-134/+133
|
* Update packaging and makefile system for the new booty module.Chris Lumens2009-03-041-0/+33
|
* Don't use rhpl.executil anymore.Chris Lumens2009-03-046-40/+39
|
* Update booty to work with the new pyparted (hdegoede).Chris Lumens2009-03-041-13/+8
|
* Move each bootloader class into its own file.Chris Lumens2009-03-048-1243/+1256
|
* isolinuxBootloaderInfo is unused now, too.Chris Lumens2009-03-041-43/+0
|
* We no longer need special code for iSeries.Chris Lumens2009-03-041-102/+0
|
* Don't support /boot/message files in multiple languages.Chris Lumens2009-03-041-43/+33
|
* Don't use rhpl.log anywhere, not even in comments.Chris Lumens2009-03-041-24/+0
|
* Use flags.cmdline instead of opening /proc/cmdline.Chris Lumens2009-03-041-37/+24
|
* Reduce booty.py down to the bare minimum.Chris Lumens2009-03-042-83/+47
|
* makeInitrd makes more sense as a method on a bootloaderInfo subclass.Chris Lumens2009-03-042-18/+13
|
* Remove the unused whichBootLoader method.Chris Lumens2009-03-041-14/+0
|
* Remove a whole lot of unused code from booty.py.Chris Lumens2009-03-041-291/+0
|
* Remove the unused needsEnterpriseKernel method.Chris Lumens2009-03-041-18/+0
|
* No one should ever need to use MILO ever again.Chris Lumens2009-03-041-30/+3
|
* Remove functions in booty that are duplicated in anaconda.Chris Lumens2009-03-042-128/+15
|
* Add the existing booty back into anaconda.Chris Lumens2009-03-044-0/+3144
Welcome back, booty. We missed you.