summaryrefslogtreecommitdiffstats
path: root/booty
Commit message (Collapse)AuthorAgeFilesLines
* Add keyboard kernel cmdline options to grub.conf for dracutHans de Goede2009-08-051-0/+1
| | | | Note this requires an updated system-config-keyboard
* Write dracut i18n cmdline options to grub.confHans de Goede2009-08-051-0/+2
|
* Pass InstalltData to booty __init__ as it needs access to many of its membersHans de Goede2009-08-058-33/+32
| | | | | | | | | 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-048-26/+31
| | | | | | | | | 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 dracutSetupString() method to add the kernel parameters needed for dracutHans de Goede2009-08-041-3/+12
|
* Update device.map when upgrading (#513393)Radek Vykydal2009-07-301-0/+28
|
* Use iutil arch specifiers rather than rhplJeremy Katz2009-07-015-24/+17
| | | | | Switch to using iutil.isFoo() methods rather than checking the value of rhpl.getArch()
* Stop using rhpl.translateJeremy Katz2009-07-011-1/+4
| | | | Use python's gettext module instead of rhpl.translate
* Do not install grub more times than needed.Radek Vykydal2009-06-301-1/+1
|
* Fix grub upgrade (#505966)Radek Vykydal2009-06-251-5/+5
| | | | | We need to run grub 'root' and 'install' commands in one grub shell session when upgrading grub.
* booty changes for iswmdJacek Danecki2009-06-222-7/+15
| | | | This patch adds support for iswmd kernel parameter in booty.
* Convert booty/ to Makefile.amDavid Cantrell2009-06-092-33/+23
|
* 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
|