summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix display of paths for device-mapper device in bootloader widget.David Lehman2009-05-041-1/+3
|
* Sending translation for Catalanxconde2009-05-031-53/+53
|
* Don't call udevDeviceFormat if we're just going to clear the device (#497323).Chris Lumens2009-05-011-1/+5
|
* Pass clearPartType to the devicetree as well.Chris Lumens2009-05-012-2/+5
|
* Break the complex should-clear logic out of clearPartitions.Chris Lumens2009-05-011-29/+27
|
* Handle clearpart in the early kickstart pass too.Chris Lumens2009-05-011-2/+14
|
* Correct setting the SELinux context on mountpoints (#494995).Chris Lumens2009-05-011-8/+8
| | | | | | We need to pass the mountpoint and the chroot in separately so everything doesn't end up under /mnt/sysimage. Doing that results in the contexts being set to mnt_t, which causes all sorts of problems on reboot.
* make resetFileContext return the context setWill Woods2009-05-011-2/+3
| | | | | | | This patch makes resetFileContext return the context (a string) on success, and None on failure. This fixes the "set SELinux context for newly mounted ..." log messages to actually show the context set.
* Allow editing of the hdiso source partition so it can be mounted (#498591).Chris Lumens2009-05-011-1/+1
|
* Add a ignoreProtected= parameter to deviceImmutable that does the obvious.Chris Lumens2009-05-011-2/+2
| | | | | | | This parameter basically means a protected partition cannot be modified or deleted, but can be dealt with on a read-only basis. Right now, the only time we need that is so the hdiso install source can be written out to /etc/fstab.
* Be more aggressive unmounting before install starts (#498260)Jeremy Katz2009-04-301-0/+1
| | | | | In the live install, having things mounted leads to tracebacks. This isn't really fool-proof, but it should help
* Add %{?dist} to the release number in the spec file.David Cantrell2009-04-302-2/+2
| | | | | | | We never change the release number when making a release from git, but it would be useful to start having the dist tag in the release field so when people report bugs we can easily identify the product they are using.
* Configure network in kickstartNetworkUp() iff NM is not connected (#490518)David Cantrell2009-04-303-0/+29
| | | | | | In kickstartNetworkUp(), call is_nm_connected() to see if we are in NM_STATE_CONNECTED. If we are in any other state, prompt for network configuration and start NetworkManager.
* Don't segfault with "ks someotherparam" (#498307).Chris Lumens2009-04-301-3/+4
|
* Fix the arch upgrade check in yuminstall.py, too (#498280).Chris Lumens2009-04-301-1/+8
| | | | | The real fix for this would involve removing one of the two upgrade checks we have, but that's too much too soon to the final release of F11.
* Move _resetRpmDb into iutil so we can access it everywhere.Chris Lumens2009-04-304-19/+13
|
* Don't mount bind mounts last, that makes /dev break.Peter Jones2009-04-301-5/+0
| | | | | | Remove the chunk of code that sortds bind mounts to the end. It appears to be completely bogus, and certainly breaks mounting of /dev during installation.
* Pass anaconda to storage.FSSet.turnOnSwap.David Lehman2009-04-301-1/+1
| | | | Fixes a traceback on upgrade.
* Ignore spurious formatting on partitioned devices.David Lehman2009-04-301-0/+8
| | | | | | | | If the device contains a valid partition table we do not care what else udev tells us is there. Once we move to optionally partitioned devices, this may no longer be adequate logic for this type of problem.
* Revert "DeviceError only returns a message, not (message, device) tuple ↵David Lehman2009-04-301-2/+2
| | | | | | | | (#496343)." This reverts commit 7d2799eb905fae1d28607ae3adf3a2929c7e6ece. I changed the places we raise DeviceError to also raise the device path, so this change is not necessary.
* Fix action sorting for partitions on the same disk. (#498064)David Lehman2009-04-301-2/+10
|
* Sending translation for po/de_CH.pofab2009-04-301-0/+5994
|
* Fix traceback in second editing of existing raid dev (#497234).Radek Vykydal2009-04-302-4/+4
| | | | | | | | | | | | This only fixes the traceback, but not the deeper cause which is that we are not editing original format request, but our last request (edit), so e.g. in 2nd edit "Original filesystem type" label and "Migrate" option are wrong (reflecting our last request, not the original format). I added some more conditions so that we do not display the info and do not offer migration in such cases. Note that the checks also affect non-raid existing partition editing in the same sense. The conditions should be kept when the behavior is fixed.
* Allow existing LVs with filesystems to be resized (#490913)David Cantrell2009-04-292-4/+3
| | | | | | | If you have an existing disk layout and choose custom partitioning and want to resize an existing logical volume and filesystem, targetSize was getting the new size value before an ActionFormatResize() was created for the device, which resulted in a traceback.
* Rate limit pulse() calls to ProgressWindow.Peter Jones2009-04-291-4/+13
| | | | | | | Make the pulsed progress windows only pulse but so quickly. The net effect is that the filesystem creation progress window now slides back and forth (albeit with a little much punctuation) rather than blindingly oscillating at breakneck speed.
* Don't populate flags.cmdline with "True" values when no = is used.Peter Jones2009-04-291-1/+1
| | | | | | Since all tests are either flags.cmdline.has_key() or "if flags.cmdline.get()", we want this to be None when there's no equals sign, rather than True.
* 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.
* Use device.format.mountType insead of device.format.type for fstab.Peter Jones2009-04-281-1/+1
| | | | | | If available, use device.format.mountType instead of device.format.type when writing out fstab. This way we write out the real fstype name, not the UI name.
* 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 a segfault on nfs+kickstartPeter Jones2009-04-281-0/+1
| | | | | | | This fix makes loaderData->stage2Data be initialized unconditionally. Without it, we sometimes get a garbage pointer there, and that results in a segfault (if you're lucky) in mountNfsImage when it tries to use the data.
* Fix an error when raising FormatCreateException.Chris Lumens2009-04-281-1/+1
|
* Add more windows to the rescue interface class (#498014).Chris Lumens2009-04-281-0/+15
|
* Remove requirement for EFI machines to be x86, since IA64 is too (#497934).Chris Lumens2009-04-281-4/+3
|
* Fix the kernel package selection on ppc64 machines (#497264).Chris Lumens2009-04-281-1/+1
| | | | | | On SMP ppc64 machines, we need to install kernel.ppc64 instead of kernel-smp.ppc. There is no kernel-smp.ppc64 because that's provided by kernel.ppc64, so skip looking for any kernel-smp package on ppc64.
* Include fsck.ext4 and mkfs.ext4 in the images (#497996).Chris Lumens2009-04-281-4/+2
|
* Properly restore SIGCHLD if X startup failsWill Woods2009-04-271-4/+4
| | | | | | | | | Before starting X we set up a SIGCHLD handler to raise OSError if Xorg dies. But if that happens, we'll skip over the code that restores the old SIGCHLD handler, and thus the next subprocess we run will cause anaconda to catch OSError and die. This patch moves the signal restore code into a finally: block.
* Fix kickstart PV references handling for lvm on raid (#497352).Radek Vykydal2009-04-271-0/+1
|
* New version.Chris Lumens2009-04-241-1/+45
|
* Fix handling of swap files. (#496529)David Lehman2009-04-241-0/+11
| | | | | | We have to try as late as possible to identify the device that contains the swap file to maximize the chances that the filesystem will be mounted when we go to look for it.
* Pass anaconda to turnOnSwap so we can use swap files.David Lehman2009-04-243-7/+7
| | | | | For swap files we need to know anaconda.rootPath and since we're also using anaconda.intf it seems like time to just give in and pass anaconda.
* Fix incorrect attribute name use for retrofit flag.David Lehman2009-04-241-2/+2
| | | | This fixes a traceback during upgrade mount.
* Use slightly better checks when testing for 0 size (#493656, #497186, #497389).Chris Lumens2009-04-241-3/+3
|
* If the LV has no child, don't attempt to grab its format (#497239).Chris Lumens2009-04-241-1/+4
|
* Apply the global passphrase when doing kickstart autopart (#497533).Chris Lumens2009-04-241-3/+5
|
* Add support for encryption passphrase retrofits.David Lehman2009-04-241-0/+22
| | | | | This adds the newly established passphrase to all preexisting LUKS devices so that the system can be booted by entering a single passphrase.
* Bring luks_add_key and luks_remove_key back into devicelibs.crypto.David Lehman2009-04-241-4/+65
| | | | | | | | In order to include these in pycryptsetup we had to create yet another duplicate copy of execWithRedirect. This patch brings them back into anaconda so we can easily modify them if needed until the day when pycryptsetup has this functionality. It also allows us to redirect the output to someplace useful for debugging.
* Don't let lvremove failures from incomplete vgs crash the install. (#497401)David Lehman2009-04-241-1/+7
|
* Allow setting a mountpoint w/o formatting an encrypted partition. (#495417)David Lehman2009-04-241-5/+3
|
* Remove encryption from preexisting device if "Encrypt" is deactivated.David Lehman2009-04-241-1/+21
| | | | ...but only they are reformatting the device.
* Fix indentation of preexisting partition handling block.David Lehman2009-04-241-35/+35
|