| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Note this requires an updated system-config-keyboard
|
| |
|
|
|
|
|
|
|
|
|
| |
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.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 /
|
| |
|
| |
|
|
|
|
|
| |
Switch to using iutil.isFoo() methods rather than checking the
value of rhpl.getArch()
|
|
|
|
| |
Use python's gettext module instead of rhpl.translate
|
| |
|
|
|
|
|
| |
We need to run grub 'root' and 'install' commands in one grub shell session when
upgrading grub.
|
|
|
|
| |
This patch adds support for iswmd kernel parameter in booty.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This should mean that the serial device and options once again get preserved
in the installed system's bootloader config.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This was caused by trying to compare an instance of an object with a string,
which of course is never going to work.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|