summaryrefslogtreecommitdiffstats
path: root/pyanaconda/bootloader.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace getMacAddress() using new nm moduleRadek Vykydal2013-02-121-1/+2
|
* Move networking functions from isys to network module.Radek Vykydal2013-02-121-2/+2
|
* The storage logger is now the blivet logger.David Lehman2013-02-111-1/+1
|
* Add selinux to the list of parameters we pass on (#895860).Chris Lumens2013-01-291-1/+2
|
* Remove the storage module and replace it with blivet.David Lehman2013-01-281-6/+6
|
* Move tsort, platform, and baseudev into storage.David Lehman2013-01-281-32/+29
| | | | Merge baseudev into storage.udev.
* Start laying groundwork for splitting storage out of pyanaconda.David Lehman2013-01-281-1/+21
| | | | | | | | | | | Remove platform's use of bootloader in preparation for moving platform into storage, since that's the only code that uses it. Move some logging initialization code in network.py into a function so it does not run automatically on import. Add some code to storage to control whether or not it is being used by anaconda versus as a normal python module/library.
* Handle sending program output to tty5 through the logging setup.David Lehman2013-01-281-34/+13
|
* Support /boot on RAID metadata version 1.2 (#896163).Chris Lumens2013-01-201-0/+1
|
* Update default fs type code (#855401).Chris Lumens2013-01-161-2/+18
|
* Add placeholder names to a couple strings (#890157).Chris Lumens2013-01-031-3/+4
|
* Allow /boot on btrfs subvol if using grub2. (#888603,868465)David Lehman2012-12-211-1/+2
|
* Add keyboard dracut setup args (#875567)Vratislav Podzimek2012-12-131-2/+3
| | | | | Without vconsole.keymap on kernel command line, dracut/plymouth uses 'us' as keymap in LUKS password prompt.
* Bootloader checking should work in terms of self.stage1/2_ attrs (#880277).Chris Lumens2012-11-281-19/+19
|
* Honor kickstart bootloader --location=none. (#871143)David Lehman2012-11-091-4/+18
|
* check for small grub2 embed space (#737508)Brian C. Lane2012-11-091-0/+41
| | | | | | | Depending on the filesystem choices for stage2 grub2's core.img may be too large to fit into the area between the mbr and the first partition. This adds a check that will show an error if the stage2 fs isn't extX and the first partition starts lower than 512K.
* Add very basic U-Boot support for ARM platformsd.marlin2012-11-081-0/+40
| | | | | | | | | | Add a very basic U-Boot bootloader class for ARM platforms. This addresses the following needs. - avoids using GRUB2 as a placeholder for the bootloader. - installs the required uboot-tools package by default. - ensures the boot/uboot partition is bootable. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* set boot flag and name for EFI partition (#866106)Brian C. Lane2012-10-261-0/+2
| | | | | On EFI the stage1_device (where the EFI System partition is created) is the one that needs to be set bootable, not the stage2 device.
* YabootSILOBase objects don't have an encrypted_password parameter (#869016).Chris Lumens2012-10-231-1/+1
|
* There is no anaconda object available in writeSysconfigKernelVratislav Podzimek2012-10-171-1/+1
| | | | | | This change was introduced in commit c308c8978e2d27 that is a port from rhel6-branch where we use anaconda.id.bootloader instead of storage.bootloader.
* Configure new-kernel-pkg to keep tboot configuration on updates (#742885)Peter Jones2012-10-151-0/+4
| | | | | | | | | | | If we want tboot to keep getting used, we need to configure new-kernel-pkg to tell grubby to do that. When grubby finds a multiboot stanza as the default template, it won't use the multiboot parts of the template unless specifically configured to. This patch adds a configuration option to tell grubby that we always want to use the tboot multiboot kernel by default when we add a new kernel. Signed-off-by: Peter Jones <pjones@redhat.com>
* Revive reipl (#860244)Jesse Keating2012-10-101-0/+4
| | | | | | | | reIPL used to be ran via dispatch, and would trigger either a reboot or a shut down. Now we'll run it as part of the s390 bootloader install. The message warning users to reipl themselves is somewhat lost here, something for another day perhaps. This at least gets the system working right.
* Allow xfs /boot.David Lehman2012-10-041-1/+1
|
* Fix bootloader setup on s390. (#857940)David Lehman2012-09-281-6/+7
|
* UEFI paths must include a leading backslash on some machines. (#856938)Peter Jones2012-09-191-1/+1
| | | | | Some machines require a leading backslash, some don't require it. None seem to break with it there.
* Don't allow stage2 as stage1 unless specified via location.David Lehman2012-09-171-1/+2
| | | | | This prevents automatic selection of stage2 as stage1, which is something we never want to happen.
* Don't depend on storage or instClass in EFIGRUBPeter Jones2012-09-051-2/+8
| | | | Resolves: rhbz#853308
* Use self.stage1_device where appropriate in EFIGRUB.Peter Jones2012-09-051-7/+6
| | | | | | This gets rid of storage references. Related: rhbz#853308
* Make it possible to call setUpBootLoader safely at any time.David Lehman2012-08-131-1/+1
|
* Use the UEFI shim to load grub.Peter Jones2012-08-131-2/+2
| | | | | For UEFI Secure Boot support, we need to install the shim pre-boot loader, and use it to load grub2.
* Merge branch 'master' into newui-mergeChris Lumens2012-08-031-1/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am anaconda data/systemd/anaconda.target pyanaconda/bootloader.py pyanaconda/constants.py pyanaconda/iutil.py pyanaconda/kickstart.py pyanaconda/network.py pyanaconda/vnc.py scripts/makeupdates
| * Disable dracut debug shell when password protected (#752966)Jesse Keating2012-07-201-0/+6
| | | | | | | | | | | | | | | | Dracut debug shell gives users root like access, without a password. This is not a good thing if the admin has decided that the system should have a password protected boot loader. So for boot loaders that support password protection, we should also add the rd.shell=0 flag to the boot arguments to prevent the user from gaining root level access.
| * Fix a typo (#841573)Jesse Keating2012-07-191-1/+1
| |
| * Make zipl call sensitive to non-zero exit (#730023)Jesse Keating2012-07-051-1/+2
| | | | | | | | | | If zipl doesn't succeed, the install won't reboot when finished. This is not an acceptable situation.
* | Merge branch 'newui' into newui-ks-partBrian C. Lane2012-07-201-14/+4
|\ \
| * | remove Network(): setupDracutArgsRadek Vykydal2012-07-201-14/+4
| | |
* | | fix grub2 install on RAIDBrian C. Lane2012-07-191-3/+3
|/ / | | | | | | | | | | grub2 install was appending to the argument list while looping on the component devices this would result in a bogus commandline for the second device.
* | Cleanups to restore things after the merge of master onto newui.David Lehman2012-07-031-21/+4
| |
* | Add newlines to every line in /etc/default/grub.Chris Lumens2012-06-261-3/+3
| | | | | | | | | | | | Also, even testing for /usr/sbin/rhcrashkernel-param is enough to trip the "set -e" test and bring the entire process silently crashing down. So provide a way for that to return 0 too.
* | BootLoader doesn't have a self.storage attribute.Chris Lumens2012-06-261-1/+1
| |
* | Fix the bootloader import of error handling stuff one more time.Chris Lumens2012-06-261-1/+1
| |
* | Can't import * inside a function.Chris Lumens2012-06-251-1/+1
| |
* | fixup a couple GRUB2 typosBrian C. Lane2012-06-201-2/+2
| |
* | Merge branch 'master' into newui-mergeBrian C. Lane2012-06-201-133/+371
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am anaconda anaconda.spec.in loader/loader.c loader/net.c loader/unpack.c po/POTFILES.in pyanaconda/__init__.py pyanaconda/bootloader.py pyanaconda/cmdline.py pyanaconda/constants.py pyanaconda/dispatch.py pyanaconda/errors.py pyanaconda/flags.py pyanaconda/iutil.py pyanaconda/kickstart.py pyanaconda/platform.py pyanaconda/storage/__init__.py pyanaconda/storage/devicetree.py pyanaconda/storage/fcoe.py pyanaconda/storage/formats/swap.py pyanaconda/storage/iscsi.py pyanaconda/storage/partitioning.py pyanaconda/yuminstall.py scripts/makeupdates
| * Add leavebootorder option (anaconda) (revised for master, sigh)Mark Hamzy2012-06-191-2/+9
| | | | | | | | | | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=827116 The default on PowerPC machines is to change the boot order to boot into the newly installed drive. There are install scenarios where this is not preferable. So, I have added a new boot commandline and kickstart option called leavebootorder.
| * Don't allow grub2-install to set boot order in nvram on ppc.Peter Jones2012-06-051-3/+6
| | | | | | | | | | Since we're setting it ourselves, letting grub2-install do it will just cause problems.
| * Use grub2 on efi systems.Peter Jones2012-05-211-125/+104
| |
| * Merge branch 'f17-branch'Will Woods2012-05-181-2/+16
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is probably the final merge from f17-branch, since we're at the RC stage and nobody seems to be screaming for a new build. * f17-branch: New version. Partially revert "We have a grub2 theme now, so say to use it." (#822123) New version. anaconda-cleanup: umount /run/media too (#820750) Disable md /boot and /boot/efi on EFI. (#816823) dracut: use nfs3 by default (#811242) script.py error message needs gettext We have a grub2 theme now, so say to use it. New version. dracut: automatic updates.img for http/ftp (#809647) Install grub2 /before/ writing the config file (re: rhbz #809111) makeupdates: ignore most of data directory handle 'cdrom' methodstr (#817084) Simplify what we dump in device.map for grub2-2.0-0.24.beta4.fc17 . be more clear about kickstart keyboard errors (#789725) Fix suggestDeviceName to correctly avoid in-use lv names. (#812528) Notify the kernel/udev after creating swap space. (#818352) New version. lower minimum memory requirements by 256M (#708966) liveinst/gnome: Add a welcome screen for use by the Desktop spin Conflicts: anaconda.spec.in configure.ac po/anaconda.pot pyanaconda/bootloader.py
| | * Partially revert "We have a grub2 theme now, so say to use it." (#822123)Peter Jones2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This (partially) reverts commit 6171b868630afc2b7daaed149e4af6b561a3689f. rhbz#822123 is looking pretty bad, so we're going to have to roll this back :/. This version leaves the line in, but commented out for easier discovery.
| | * Disable md /boot and /boot/efi on EFI. (#816823)David Lehman2012-05-141-0/+6
| | |