summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't make chown or lsetfilecon errors fatal (#529940).Chris Lumens2009-11-181-8/+19
| | | | | | | There's various reasons why these two could fail. For instance, running lsetfilecon on any filesystem that doesn't support it (vfat is the big one, but there are others) would result in a failure. This probably shouldn't take down anaconda.
* Get correct boot device in reIPL code for s390 (#537390).Mark Hamzy2009-11-172-1/+14
| | | | | | Account for the /boot existing on its own partition or as part of /. Output the values of the reipl configuration in linuxrc.s390 before reboot.
* Expand the proxy table a little bit to reduce clutter (#537878).Chris Lumens2009-11-171-7/+7
|
* Use glib data structures in loader's module handling code.David Cantrell2009-11-165-266/+276
| | | | | Use glib's data structures and string functions in modules.c since we already have glib. Add in some safety checks as well.
* Various improvements to kickstart scriptlet reporting (#510636).Chris Lumens2009-11-161-23/+18
| | | | | | - Don't remove scriptlets when they've been written out to aid in debugging. - Always log stdout/stderr. - On errors, print the messages to anaconda.log as well.
* Sending translation for Chinese (Simplified)chenh2009-11-161-1669/+2195
|
* Sending translation for Germanfab2009-11-141-499/+553
|
* Sending translation for Dutchwarrink2009-11-131-219/+225
|
* Sending translation for Polishraven2009-11-131-219/+222
|
* New version.David Cantrell2009-11-123-220/+329
|
* Ignore merge commit messages when generating the rpm changelog.David Cantrell2009-11-121-1/+2
|
* Remove last references to hal.David Cantrell2009-11-123-33/+1
| | | | | We don't need hal anymore, so remove it from the initrd.img generation and stop loader from starting up hald.
* Log calls to DiskLabel's commit and commitToDisk methods.David Lehman2009-11-121-0/+4
|
* Fix DiskLabel.status so it returns True, not self.partedDisk, when active.David Lehman2009-11-121-1/+2
|
* Write /etc/dasd.conf to target system on s390 (#533833).David Cantrell2009-11-124-3/+31
| | | | | | | Similar to what we have to do for zFCP, write /etc/dasd.conf to the target system for all DASD devices that have been used during installation. The device address as well as flags that can be set via sysfs.
* Latest dracut has new syntax for rd_DASD.David Cantrell2009-11-121-23/+5
| | | | | | | | | | | | Upstream accepted my patch to change rd_DASD to specify a single device. If multiple devices need to be brought up at boot time, just give multiple rd_DASD arguments. Syntax is (from dracut.8): rd_DASD=<CCW address>[,readonly=X][,use_diag=X][,erplog=X][,failfast=X] The old rd_DASD has been renamed rd_DASD_MOD and is the same syntax as the dasd kernel module parameter. However, you can only specify a single rd_DASD_MOD parameter at boot time.
* Handle case of not enough space in VG more gracefully. (#533797)David Lehman2009-11-121-1/+5
|
* Make sure partitioning-related drive lists are sorted properly. (#534065)David Lehman2009-11-122-1/+3
|
* Remove the early kickstart processing pass (#532453).Chris Lumens2009-11-122-103/+64
| | | | | Among other problems, this means that all the partitioning commands can be in a file generated from a %pre script again.
* Move all the important stuff out of the KickstartCommand.parse methods.Chris Lumens2009-11-121-400/+345
| | | | | | | | | | | | | | | | | kickstart.py never should have been written the way it previously was - with all the code that actually did something in the parse methods. This organization prevented the parse methods from being called until we had things like Storage instances and led to the multiple pass hack. This better design moves all the code that does anything into apply methods (that pykickstart lacks, oh well) and keeps the parse methods only setting values in KickstartCommand/KickstartData objects. This should allow doing parsing very early, then calling the apply methods when we're set up and therefore remove the reason for multiple passes. This patch requires a pykickstart which can pass data objects up from deep in dispatcher. Note also that this patch does not yet call any of the apply methods, so kickstart is temporarily busted.
* These changes require a later version of pykickstart.Chris Lumens2009-11-121-1/+1
|
* commandMap and dataMap are now updates to the existing dict.Chris Lumens2009-11-121-32/+11
| | | | | This means we only have to specify those handlers and data objects we require special versions of, not all of them.
* Set a reference to the kickstart handler on BaseData objects.Chris Lumens2009-11-121-0/+13
|
* Move exception setup to right after instdata is populated.Chris Lumens2009-11-121-4/+4
| | | | | | | This allows getting the traceback dialog during kickstart file execution, instead of just getting a dead UI and an unseen traceback on tty1. We probably can't move this much earlier due to interface and instdata requirements.
* Leave one free logical block before each logical partition.David Lehman2009-11-111-0/+6
|
* Use Chunk's geometry attr to access the parted Geometry.David Lehman2009-11-111-1/+2
|
* Fix sorting of requests by mountpoint. It was backwards.David Lehman2009-11-111-1/+1
|
* Align logical partitions' start sector up one logical block for metadata.David Lehman2009-11-111-18/+4
|
* Use parted.Device's sectorSize attr instead of physicalSectorSize.David Lehman2009-11-111-6/+6
|
* Select partition layout based on potential for growth.David Lehman2009-11-111-19/+99
| | | | | | For each partition, choose the free space region that provides the greatest amount of combined growth for the partitions allocated up to that point.
* Reimplement partition growing.David Lehman2009-11-111-180/+411
| | | | | Use Request and Chunk instances to calculate growth for all partitions, then recreates and add the partitions to disk with new geometries.
* Create and use a function to obtain a parted alignment for a disk.David Lehman2009-11-111-0/+19
| | | | | Once the bits are in pyparted this function can be made to actually retrieve a meaningful alignment.
* Create and use a new function to create and add new partitions to disk.David Lehman2009-11-111-29/+38
|
* Make and use a new function to remove non-existent partitions.David Lehman2009-11-111-19/+35
|
* Disable parted's cylinder alignment code.David Lehman2009-11-111-13/+5
| | | | | This also eliminates the need for the min/max constraint when adding a new partition.
* Use new functions for conversion between size and sector count.David Lehman2009-11-111-11/+28
|
* Consider whether a partition is growable when choosing free space.David Lehman2009-11-111-8/+22
| | | | | | For fixed-size requests, choose the smallest suitable region. For growable requests, choose the largest suitable region. For bootable requests, as before, choose the first suitable region.
* Allocate fixed-size requests before growable requests.David Lehman2009-11-111-4/+9
| | | | Also give a little bump based on mountpoint.
* For the catch-all case, put the message into the UI, not the exn (#536854).Chris Lumens2009-11-111-2/+2
|
* Add a missing binary to KEEPFILES (#533237)Martin Sivak2009-11-111-0/+1
|
* Set boot flag for /boot on mdraid 1 array too (#533533).Radek Vykydal2009-11-111-5/+11
|
* Report no media present for cpqarray controllers with no disks attachedHans de Goede2009-11-111-1/+7
| | | | | | Some drivers (cpqarray <blegh>) make block device nodes for controllers with no disks attached and then report a 0 size, treat this as no media present.
* Honor existing RUNKS conf file variable on s390 (#513951).David Cantrell2009-11-101-0/+4
| | | | | | The linuxrc.s390 rewrite changed the behavior of RUNKS on RHEL-5. We've done away with RUNKS on RHEL-6, but we still need to maintain existing functionality on RHEL-5.
* Add "Hipersockets" to qeth NETTYPE description (#511962).David Cantrell2009-11-101-1/+1
|
* Set custom_icon to error for advanced storage dialog errorsHans de Goede2009-11-101-6/+12
| | | | | Also change the no initator set error dialog title from "Error with data" to just "Error" to be consistent with the other error dialog titles.
* When creating a new md array check we have enough members (#533027)Hans de Goede2009-11-103-2/+16
| | | | | | | | | Make MDRaidArrayDevice.__init__ raise a value exception when creating a new (so non existing) raid set and there are not enough members for the requested raid level. And catch this value exception in the GUI raid dialog and kickstart raid commands.
* Convert string.find calls into something modernJesse Keating2009-11-091-3/+3
| | | | | | | string.find('foo') != -1 is a bit klunky. We now have the ability to just do 'foo' in string and get back a True or False from that. I'm sure there are more files in anaconda that could use this treatment but this is the file I was looking at anyway.
* rescue: Don't copy install.ing to /tmp when not enough RAM (#531304, #529392)Jerry Vonau2009-11-091-1/+1
| | | | | | | With rescue copying install.img to /tmp when available_memory>128000k, this left the machine unable to hold install.img in ram if there is under 256M of ram. Patch to change that to be based on MIN_GUI_RAM instead.
* isys: remove stray debug printf (#533597)Hans de Goede2009-11-091-1/+0
| | | | | | Somehow a debug printf of mine from developing: "Fix EDD BIOS disk order detection in general and make it work with dmraid" patch ended up in getting committed, this patch removes it.
* Don't activate / de-activate dmraid sets on setup / teardownHans de Goede2009-11-091-19/+4
| | | | | | | | | | | | | | | | | Since BIOS RAID sets never change there is no need to deactivate them and later activate them again. This also fixes problems in case the followng happens: 1) raid sets get activated, pyblock creates device-mappings for partitions on the set. 2) The partition table changes while exectuing actions 3) the raid sets gets de-activated, because of devicetree.processActions() tearing down everything in response to a disklabel commit error caused by lvm or mdraid using a partiton 4) pyblock tries to remove the partition mappings as it has created them, but the partition table has changed, and when parted commits partition table changes of a dmraid set to disk, it also modifies the partitions device-mappings. pyblock tries to remove a non existing mapping -> backtrace.