summaryrefslogtreecommitdiffstats
path: root/pyanaconda
Commit message (Collapse)AuthorAgeFilesLines
* Catch OverflowError in manual partitioning.Samantha N. Bueno2012-11-271-0/+7
| | | | | Instead of crashing, inform users they should use integer values when entering partition sizes.
* Do not accept tabs in the keyboard layout test box (#897312).Chris Lumens2012-11-271-0/+1
|
* Wait for slower dhcp for payload setup and hostname setting (#873468)Radek Vykydal2012-11-273-25/+48
| | | | | | | | | | | | | | | | | | | Cases I tested: (spoke is pre-hub network spoke) Link has (slow) dhcp: - connected in payload init, connected in spoke - not connected in payload init, connected in spoke - fixed by the patch - not connected in payload init, not connected in spoke - subcases: - wait for connection in spoke - leave spoke while connecting - fixed by the patch Link does not have dhcp: - configure static connection and leave spoke
* Rework actions in the resize dialog to avoid shortcomings (#866209, #867770).Chris Lumens2012-11-202-39/+134
| | | | | | | | | | | | | | | | | | | There are three problems with the current resize action UI: (1) You can't discover that there's a drop down in the action column because there's no down arrow. GTK simply doesn't do that. (2) We can't filter out shrink from the drop down on a per-filesystem basis without layering on all the usual filter store crud. (3) Something about interacting with a GtkCellRendererCombo causes the layering of dialogs to get screwed up such that coming back to the storage spoke after visiting the resize dialog appears locked up, because the dialog is displayed under the spoke. This commit fixes all these problems by getting rid of the drop downs in the action column and adding a communal set of tool buttons for setting the action you want.
* On live installs, the progress hub should have a Quit button (#854904).Chris Lumens2012-11-201-0/+6
| | | | | Live environments have their own way of rebooting, and anaconda doesn't need to interfere with that.
* If no bootloader is to be installed, pop up a warning.Chris Lumens2012-11-201-0/+8
|
* Allow not setting any boot device via the UI (#867469).Chris Lumens2012-11-201-2/+19
| | | | | You do this by simply highlighting the currently selected boot device and clicking the Boot Device button again.
* Allow specifying whether the URL you've given is a mirrorlist or not (#868558).Chris Lumens2012-11-203-20/+68
|
* Prevent false positives when checking for encryption change.David Lehman2012-11-201-2/+1
| | | | Related: rhbz#877871
* Don't add incomplete VGs to the LVM reject filter. (#878225)David Lehman2012-11-201-4/+0
| | | | | | Our current plan for handling of incomplete preexisting LVM does not involve filtering out or ignoring anything, so this is a good first step.
* Show device names for devices in the Unknown page/subsection. (#855646)David Lehman2012-11-201-2/+2
|
* Add a page to the custom RHS notebook for uneditable devices. (#875942)David Lehman2012-11-202-4/+106
| | | | | | | | | The obvious example is a VG with no LVs, which could happen because it actually has no LVs or because only some of its encrypted PVs have been unlocked. This may end up being how we handle degraded md and incomplete lvm in the future.
* Fix error in iutil.execCapture when fatal and non-zero exitStef Walter2012-11-201-3/+3
| | | | | Fix the TypeError problem with iutil.execWithCapture() when fatal and process returns a non-zero exit code.
* Allow iutil.execWithCapture to work without a chrootStef Walter2012-11-201-1/+2
| | | | This is so we can test this from unit tests running as non-root.
* Handle hd iso leavings by dracut (#876897)Jesse Keating2012-11-202-22/+58
| | | | | Re-arranges a bit of code and handles dracut mounted hd isos. Also handles a None type on self._currentIsoFile better.
* show error when rsync fails (#868755)Brian C. Lane2012-11-201-2/+4
|
* only raise rsync error on error 12 (#868755)Brian C. Lane2012-11-191-6/+4
|
* Dump default auto connection's ifcfg file instead of writing a new one (#870922)Radek Vykydal2012-11-192-5/+36
| | | | | | | | | | | | | | | | | | | | The case: 1) Dracut does not use network so it does not write any ifcfg file (e.g. DVD install) 2) NM creates default auto connection (DHCP) because it can't find any ifcfg file for a device. 3) Anaconda writes out default ifcfg file (e.g. ifcfg-eth0) 4) When editing a connection in nm-c-e, ifcfg file of edited default auto connection (Wired connection 1) is created (ifcfg-Wired_connection_1). 5) If anaconda tweaks any ifcfg file later (setting ONBOOT, NM_CONTROLLED), it is the ifcfg-eth0. 6) Both ifcfg files are copied to the target system at the end of installation Luckily, the ifcfg-Wired_connection_1 seems to be used after installation, but bug #870922 suggests it might be not so in all cases. Anyway, we shouldn't create anaconda's ifcfg-ethX default file in this case.
* Number timezones starting with 1 (#859342)Martin Sivak2012-11-191-2/+2
|
* only call bootloader.check() if bootloader is setup (#875278)Brian C. Lane2012-11-161-3/+2
|
* Make the custom and keyboard toolbar buttons larger (mizmo).Chris Lumens2012-11-162-1/+14
|
* More changes to leave the spoke via a glib idle call, not calling directly.Chris Lumens2012-11-161-7/+6
| | | | | These may not fix anything we've got right now, but it's the more correct way to do it.
* Hide the custom addon button.Chris Lumens2012-11-161-1/+3
| | | | We're not going to have this done in time for F18 anyway.
* Enable verbose yum logging once moreJesse Keating2012-11-152-6/+19
| | | | | | | | This time it shoves all the logging data into packaging.log This commit has some hacks to work around yum issues. I've discussed with upstream and they're going to work on better APIs around logging in the future.
* Handle nfsiso leavings by dracut (#876223)Jesse Keating2012-11-142-41/+67
| | | | | | | | | We could have method of nfs:server:/path/ or nfs:server:/path/foo.iso. Dracut could have left stuff mounted to /run/install/repo or /run/install/isodir or both. In any case we should detect what's been left over and setup yum the right way. This introduces a couple new constants as well.
* Prevent some raid-related tracebacks. (#874034)David Lehman2012-11-141-4/+15
| | | | | | | | | Fix translation from AUTOPART_TYPE_BTRFS to DEVICE_TYPE_BTRFS so we create new devices as btrfs instead of md when btrfs is the default. Also close gaps in raid feature selection ui and add checks to save_right_side to prevent some invalid raid setups.
* Don't try to save changes to a locked luks device. (#876180)David Lehman2012-11-141-1/+5
|
* Keyboard test layout padding fix (mizmo).Chris Lumens2012-11-141-0/+1
| | | | | | The keyboard layout testing text box had no padding and any text you typed in it looked weird. This patch adds a 6 px border around the inside to give it some padding.
* Include hidden disks in the storage spoke's list of devices (#875475).Chris Lumens2012-11-141-4/+5
| | | | | Otherwise, previously unselected disks on the storage overview will never be allowed to be selected.
* Make the DetailedErrorDialog taller by default (#874620).Chris Lumens2012-11-141-0/+1
|
* If there's only a Quit button, don't make it secondary.Chris Lumens2012-11-141-2/+3
|
* Handle package dependency errors on kickstart installs too (#865073).Chris Lumens2012-11-144-2/+35
| | | | | This is not handled by similar code in the software spoke, because that code is never run for kickstart installs containing a %packages section.
* Rework custom partitioning alignment too (mizmo).Chris Lumens2012-11-141-153/+152
| | | | | | | This does the same sort of stuff the previous storage patch did, but for the custom partitioning screen. It takes the grid that was outside of the alignment and moves it inside, and also resets the xscale/yscale on the alignment to 1,1, and sets some of the expand stuff.
* Attempt to fix the shrunken storage UI (mizmo).Chris Lumens2012-11-141-97/+110
| | | | | | | | | | | | The glade changes here move the grid3 widget into the main alignment widget in the storage.glade file; previously the grid3 alignment was adjacent to the alignment widget. When grid3 was outside of the alignment, there was a consistent and noticeable upper-left-corner => lower-right-corner growth motion visible when first entering the spoke. After putting grid3 inside the alignment, the screen loads up in one go without any growing or shifting beforehand. Various expand settings and scale settings on container widgets from the alignment down were also tweaked.
* Do not allow TreeView search in AddLayout dialog (#876131)Vratislav Podzimek2012-11-141-0/+1
| | | | | There is an entry for filtering, searching doesn't work (it probably uses the underlaying non-sorted model) as it not needed.
* Use the main loop to control displaying the resize dialog.Chris Lumens2012-11-131-11/+12
| | | | | | | | Emitting signals from the function that handles other signals is dangerous given the synchronous nature of GTK signals, so this was never a good idea to start with. Then, displaying the dialog from the main loop means it gets displayed in the lightbox correctly instead of over a completely grey background.
* Use ksdata to set default runlevelJesse Keating2012-11-131-10/+8
| | | | | | This removes code duplicated in desktop.py, and will short circuit the routine if the user has indicated that they want a graphical boot by way of kickstart data.
* Execute xconfig data (#874868)Jesse Keating2012-11-131-0/+1
|
* Write out xconfig data when executedJesse Keating2012-11-131-3/+8
|
* Code cleanupsJesse Keating2012-11-131-5/+5
| | | | Get rid of unused import, use super(), remove some spaces
* Link to the correct default targetJesse Keating2012-11-131-19/+4
| | | | | | This uses the new constant to link to the right target by name. It also removes any fiddling with /etc/inittab as we don't want/need to touch that any more.
* Add a mapping of old run level to new systemd targetJesse Keating2012-11-121-1/+4
|
* Quit after handling transaction errors.Chris Lumens2012-11-121-1/+2
| | | | We don't provide you with the chance to do anything anyway.
* Add a function to display relevant transaction errors (#873106).Chris Lumens2012-11-121-9/+28
| | | | | | We are trying to prevent the user from getting to the hub with a space error, hence why you can only quit. It's still helpful to catch the errors just in case something sneaks through later.
* Don't decorate error dialogs.Chris Lumens2012-11-121-1/+3
|
* Fix error handling when new device ends up with size 0.David Lehman2012-11-121-15/+11
| | | | Related: rhbz#872833
* Explicitly request all free space when no size given in custom. (#872833)David Lehman2012-11-121-1/+7
| | | | The logic for handling it implicitly only works for partitions.
* Disable the language spoke off the first hub, for now (#874263).Chris Lumens2012-11-121-0/+4
| | | | | | | | | | | I don't especially want to do this, but as stated elsewhere changing language during installation is not at all easy. It's especially not easy from this spoke, where everything's already been imported. Eventually I think this spoke should allow for picking which languages you want supported on the finished system (sort of a language-specific package selection screen), but there's no time and this will at least prevent people from hitting a really annoying bug.
* Wrap text on install options dialogs (#874265).Chris Lumens2012-11-121-0/+11
|
* Encode unicode strings from XklWrapper (#873762)Vratislav Podzimek2012-11-121-1/+1
| | | | | | We don't use unicode strings (as a type) in anaconda. XklWrapperr.switch_to_show_str should thus use encode("utf-8") and also contain byte strings.