summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make progress hub spokes possible and move the root password thereMartin Sivak2012-09-138-59/+253
| | | | | - Splits doInstall to doInstall and doConfiguration - Updates text and gui mode to use doConfiguration
* Don't let user hit Add button if no new layouts are selectedVratislav Podzimek2012-09-132-0/+11
| | | | | | | It doesn't make sense and can cause traceback when replacing the last layout in the list of added layouts. Resolves: rhbz#854643
* Gtk.ListStore.iter_previous now returns new iterator (#849060)Vratislav Podzimek2012-09-131-1/+2
| | | | | Instead of modifying passed iterator, iter_previous now returns a new one.
* Write storage configs after payload install for live installs. (#856836)David Lehman2012-09-122-1/+6
| | | | | | | | For yum payloads we write storage config before installing the payload so %post scripts have access to the configuration files if needed. For live installs, we have to write the config after installing the payload since installing the payload would overwrite parts of the storage configuration (notably /etc/fstab).
* Update the pot file for various important string changes.Chris Lumens2012-09-121-557/+414
|
* Attempt to fix word wrapping issues with the betanag dialog (#853913).Chris Lumens2012-09-121-4/+3
| | | | | | By hardcoding newlines in the source text, I made it difficult for translators to correctly make sure their text wrapped. Instead, remove the newlines and just have gtk figure out where the wrapping should go.
* CONTINUE -> BEGIN INSTALLATION (#856614).Chris Lumens2012-09-121-1/+1
|
* Language selection should work the same as keyboard selection (#854570).Chris Lumens2012-09-122-29/+31
| | | | | | That is, when you start typing in the entry box it should filter the results in the list instead of displaying a drop down. This also allows for typing either the English or native names and having both work for filtering.
* Fix ransom notes cycling.Chris Lumens2012-09-123-27/+25
| | | | | | Instead of constantly creating new Images and shoving them into a spot in the notebook, I'm now just putting each rnote on its own page. Whether it's better or not is up for debate, but at least this way works.
* Improve the clarity of the custom checkbutton label.David Lehman2012-09-111-1/+1
| | | | | Try to make it clear that activating the checkbutton opts out of automatic partitioning.
* Add error handling around significant ui-initiated storage operations.David Lehman2012-09-117-71/+402
| | | | | | | | | | | | | | If automatic partitioning fails, we reset the storage instance to its prior state. The custom spoke operates on a copy of the storage instance, so that means it gets reset to whatever the state was upon entering the custom spoke. For the storage spoke we have little choice but to actually call self.storage.reset() which actually re-scans the devices. For other operations within the custom spoke, the goal is to restore things to the state prior to the failed action. If that fails, the custom spoke will simply reset its storage instance as described above for automatic partitioning failures.
* Improve error granularity slightly in automatic partitioning.David Lehman2012-09-112-6/+6
| | | | Also remove unused PartitioningWarning exception.
* Fix detection of preexisting md arrays again.David Lehman2012-09-112-4/+9
|
* Handle changes to sizes of predefined devices in custom spoke.David Lehman2012-09-111-0/+18
|
* Fix traceback when switching device type to BTRFS.David Lehman2012-09-111-1/+2
| | | | | BTRFS default RAID level is single, so we need that to be a key in the raid_level_features dict.
* Validate mountpoints in the add-a-mountpoint dialog.David Lehman2012-09-112-10/+48
|
* Tell 'lvm' that yes, we really, really want to remove PVVratislav Podzimek2012-09-111-1/+1
| | | | | | | Using --force --force is not enough, 'lvm' still asks, if we really want to remove PV used by some VG. Adding --yes fixes the issue. Resolves: rhbz#853977
* Use 250ms interval for installation progress updatingVratislav Podzimek2012-09-111-1/+1
| | | | | Using GLib.idle_add for action that repeats means 100% CPU usage. So let's use GLib.timeout_add with 250ms interval instead.
* network spoke: hide for live CD and image installs (#854586)Radek Vykydal2012-09-111-0/+5
| | | | Use desktop configuration tool.
* Fixed luks_add_key()Jan Safranek2012-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | On F18 with Anaconda 18.6.5, adding new passphrase to LUKS format always fails: ----> 1 fmt.addPassphrase("XYZ") /usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/luks.pyc in addPassphrase(self, passphrase) 246 passphrase=self.__passphrase, 247 key_file=self._key_file, --> 248 new_passphrase=passphrase) 249 250 def removeKeyFromFile(self, keyfile): /usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/crypto.pyc in luks_add_key(device, new_passphrase, passphrase, key_file) 133 134 cs = CryptSetup(device=device, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase) --> 135 rc = cs.addPassphrase(passphrase = passphrase, newPassphrase = new_passphrase) 136 137 if rc<0: In recent cryptsetup-python-1.5.0-2.fc18, cs.addPassphrase was replaced probably by cs.addKeyByPassphrase (I'm just guessing by the name). I tested it just in my dummy applications, take it with a grain of salt. Signed-off-by: Jan Safranek <jsafrane@redhat.com>
* Display a radio button next to the environment choices.Chris Lumens2012-09-102-10/+26
| | | | | | We've gotten some complaints that it's not obvious what to do with the left side of the software screen. A radio button makes it obvious that (1) you need to pick something, and (2) you can only pick one thing at a time.
* Update TODO list.Chris Lumens2012-09-101-1/+9
|
* Set the busy spinning cursor while the UI is loading.Chris Lumens2012-09-101-1/+15
|
* network spoke: add "No network devices available" statusRadek Vykydal2012-09-101-0/+3
|
* network spoke: clear device info if no network devices are found (#853903)Radek Vykydal2012-09-102-5/+45
|
* fix root password setup (#855481)Brian C. Lane2012-09-093-18/+24
| | | | | | libuser checks the LIBUSER_CONF environmental variable and uses the temporary config file it points to, but in order for this to work it must be set before User() is run.
* Rewrite expand_langs to return more itemsVratislav Podzimek2012-09-071-16/+36
| | | | | | Since we now use "en.UTF-8" as language instead of "en", we need to reflect this also in expand_langs. Otherwise e.g. using 'lang en' in kickstart wouldn't work.
* Don't try to setup X layouts in text installation (#852447)Vratislav Podzimek2012-09-071-1/+1
| | | | It doesn't make sense and causes hang.
* Add UTF-8 enconding suffix to our language strings (#854688)Vratislav Podzimek2012-09-071-3/+8
| | | | | | When using e.g. 'cs' as $LANG value, gettext tries to encode translated strings with latin-1 encoding which leads to tracebacks. Using 'cs.UTF-8' works.
* Require rsyncVratislav Podzimek2012-09-071-0/+1
| | | | We need it for the live installation.
* Don't rely on chrony.conf file being available (#854899)Vratislav Podzimek2012-09-071-2/+5
|
* Require chrony and rdate, because Anaconda needs them (#854899)Vratislav Podzimek2012-09-071-0/+2
| | | | | | Lorax installs these packages for us, but not as Anaconda dependecies, so if somebody does a compose without using Lorax, these packages might be missing.
* Use the real path to dracut-lib.sh (#851362)Jesse Keating2012-09-061-1/+1
| | | | | | This goes with a lorax patch that keeps the file around. Since dracut doesn't expose these files via /run/ anymore we have to keep around the file(s) we want to use from stage2 environment.
* fixup live install (#853988, #854962)Brian C. Lane2012-09-064-19/+41
| | | | | | | | | | | | | | | | | | | | | | liveinst: use /dev/mapper/live-osimg-min as the install source. This is the original filesystem before changes made by the live boot scripts. updates overwrite unconditionally anaconda: handle livecd: method, set method to 'livecd' and partition to the path. packaging: Move new-kernel-pkg creation into a helper method, _recreateInitrds Add a flag to prevent running new-kernel-pkg more than once livepayload: mount the install source on INSTALL_TREE and rsync it to the ROOT_PATH Don't use verbose with rsync, results in huge program.log and slows down install. Error will be logged. Ignore rsync errors. It has problems with selinux xattrs. Log the return value, but continue. Call _recreateInitrds to create the initrd (#853988)
* Only check media if we really want it (#853404)Jesse Keating2012-09-062-5/+10
| | | | | | | | | | | | This provides a way to opt-out of the check for existing mounted media. If a user has gone into the source spoke and picked a mirror, we shouldn't ignore that choice by checking for valid mounted media. In the case of a network stage2 that has a valid repo, we'll find that when the hub / spokes are initialized. If a user visits the source spoke and just clicks back (leaving autodetect selected, but no media) we just return from apply() so that initial discovery of working stage2 should remain.
* Fix thinko in anaconda arg handling portion of multilib patch.David Lehman2012-09-061-1/+1
|
* Honor kickstart and command line switches to enable multilib.David Lehman2012-09-063-1/+40
| | | | | | The new option, which can be a boot arg or an option to kickstart's packages section, is --multilib. What it does is set yum's multilib_policy to "all". The default is "best".
* Quitting the live installer shouldn't reboot the system (#854904).Chris Lumens2012-09-061-3/+1
| | | | | | | We were doing reboots before because there was not an obvious reboot/shutdown button anywhere in the live environment. However, that is no longer the case. I've left the end of installation as reboot because it's clearly labeled as such and we shouldn't break the string now.
* The kickstart language-related command is "lang", not "language".Chris Lumens2012-09-061-1/+1
|
* Fix btrfs/lvm/raid kickstart installs (#853649).Chris Lumens2012-09-061-11/+15
| | | | | | This only used to work because we ran all the btrfs/lvm/raid stuff before we allocated partitions. At that point, the "pv.XX" names are no longer valid and have been replaced by things like "sdX".
* Store "en" as the default, not "en_US".Chris Lumens2012-09-061-5/+5
|
* Mark ksdata.*.execute invocations as another stepVratislav Podzimek2012-09-061-19/+21
|
* Reorder and comment options passed to rsyncVratislav Podzimek2012-09-061-1/+5
|
* Fix bug in writing keyboard configuration filesVratislav Podzimek2012-09-061-2/+3
|
* network spoke: require connection only for url and nfs methods (#853899)Radek Vykydal2012-09-061-1/+3
| | | | E.g. allow DVD installs without network.
* Drop the addBase handling in anaconda - if you want a group, list a group.Bill Nottingham2012-09-051-10/+0
|
* Don't depend on storage or instClass in EFIGRUBPeter Jones2012-09-052-3/+9
| | | | 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
* Explicitly disable the rootpw lock (#853788)Jesse Keating2012-09-051-0/+1
| | | | | | | | Turns out that while pykickstart objects will default to the lock being False, there is an interactive-defaults.ks that is being loaded by anaconda, and in /that/ file the root is default to --lock. Since we're setting a password, it makes sense to ensure that the account is not locked.
* require nm-connection-editor (#854586)Brian C. Lane2012-09-051-0/+1
| | | | | Network Manager has split this out into its own rpm, built from the network-manager-applet package.