summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Run /bin/umount instead of calling umount(2) in _isys.umount (#493333)David Cantrell2009-04-081-7/+26
| | | | | Call the umount(8) command when unmounting filesystems through isys so that /etc/mtab is updated.
* Add doPwUmount() and mountCommandWrapper() to isys (#493333)David Cantrell2009-04-082-45/+89
| | | | | | Turn doPwMount() in to a mount command wrapper. We're already calling mount(8) and capturing error messages so we can pass them back up to our Python code, so the same for unmounting filesystems.
* Preserve symlinks and only collect deps on ELF executables.David Cantrell2009-04-081-22/+33
| | | | | | | | | The mount and umount commands will have a bunch of symlinks, so if the command we are installing is a symlink, preserve it. Only use -s on install(1) if the command we are installing is an ELF executable. Since there's a check for that, use it to fire off get_dso_deps() for only ELF executables.
* Use $(ARCHIVE_TAG) throughout the updates target.David Cantrell2009-04-081-1/+1
|
* partedUtils doesn't exist anymoreJeremy Katz2009-04-081-1/+0
| | | | | This at least gets to the partitioning screen; didn't finish an install, but it's closer
* Revert "Show the header in certain non-lowres cases" (#493153)Jeremy Katz2009-04-081-2/+2
| | | | | | | This reverts commit 2734cf8a8077f7108bb65b3724af075825d6eb44. Doing this means that we can't see all of the UI on some netbooks with higher DPI screens
* Pre-existing partitions names may change (#494833)Hans de Goede2009-04-082-7/+14
| | | | | | | | | | | | | | When there are multiple (pre-existing) logical partitions and a logical partition other then the last partition gets deleted, the number of the partitions after it changes. Causing getDeviceByName, with the name based on the new partition number (gotten through parted) to fail. Specifically this causes a "'NoneType' object has no attribute 'path'" exception in populate() in partition_gui.py . This patch fixes this by updating all partitions names in doPartitioning. Note that for this patch to help the following pyparted bug must also be fixed: https://fedorahosted.org/pyparted/ticket/17
* Use getDeviceNodeName() instead of basename of device node.Hans de Goede2009-04-081-1/+2
| | | | Missed this one in my initial cciss prep patch.
* Fix ks raid --useexisting and --noformatRadek Vykydal2009-04-081-4/+4
|
* Fix processing of --level and --device options of ks raid commands.Radek Vykydal2009-04-082-6/+7
| | | | | | | | | | * We get RAID1 from ks parser, mdadm accepts only lowercase level specifiers of this form. * We get int device number (e.g. 0) from ks option --device (e.g. md0). Though this might require rather changes in pykickstart, especially when mdadm 3.0 allows creating of arbitrary device names in /dev/md. * mdadm --create --level option is changed to comply strictly to documentation (e.g. "--level=raid0", though "--level raid0" works too)
* Don't start pdb immediately in debug modeJeremy Katz2009-04-081-2/+0
| | | | | We don't really use debug mode for this anymore and it causes problems in cases like running from the livecd (#493943).
* Fix EDD BIOS disk order detection in general and make it work with dmraidHans de Goede2009-04-082-12/+48
| | | | | | | | | | | | | | | | | Our C-code isys EDD BIOS disk order detection is broken in 2 ways atm: 1) It tries to open "sda" instead of "/dev/sda" 2) It tries to open floppies and when it fails, it aborts further device scanning Besides that it didn't work with dmraid setups due to the following issues: 3) The C-code will not identify a device by the mbr signature from the EDD BIOS info, if multiple devices match the signature, however if we have a fakeraid mirror for example we will have 3 matching devices both the 2 raw disks and the device mapper device. 4) The python code was using /dev/mapper/longName names where as the C-code uses /dev/dm-# 5) The python code was calling the C-code (which builds a cache) before it setup the dmraid sets, so those were not known to the C-code
* Update extended partition geometry when we change itHans de Goede2009-04-081-2/+5
| | | | | | | | If there was no extended partition originally and we create one, we create the device for it, but if it changes after that (manual partitioning), we do not update the created device with the new geometry, leading to a backtrace with an overlapping partition error when the partition gets written to the disk.
* New version.anaconda-11.5.0.41-1David Cantrell2009-04-071-1/+49
|
* Make sure we have a clean lvm ignore list when we initialize.Joel Granados Moreno2009-04-072-0/+6
| | | | This is good for when we go back and have to reset the devicetree.
* We need to search by name without the "mapper" prefix.Joel Granados Moreno2009-04-071-1/+1
|
* Create a min_max constraint to avoid alignments issues.Joel Granados Moreno2009-04-071-1/+11
|
* Don't exit the installer from filesystem errors.David Lehman2009-04-071-24/+16
| | | | | | | | We shouldn't be mounting any filesystems in DeviceTree.populate. The only way we should be able to get an FSError is doing the minSize calculation, which should not raise exceptions in the first place. If we do have a way to get filesystem errors, let's find out what they are and fix them instead of masking them.
* Try not to raise exceptions from minSize calculators.David Lehman2009-04-071-5/+2
| | | | | These should either get a min size or return a reasonable default. Crashing the installer for something like this is not reasonable.
* Don't traceback when PVs are encrypted or are not partitions.David Lehman2009-04-071-1/+1
|
* Adjust device dependencies when backing out device encryption. (#493257)David Lehman2009-04-071-0/+8
|
* Include filesystem type in mount log message.David Lehman2009-04-071-1/+1
|
* Load filesystem modules on demand (#490795, #494108).Chris Lumens2009-04-073-3/+40
| | | | | | | Instead of loading filesystem modules all at once in loader, load them as needed from the filesystem format __init__ methods. The intention here is to remove a lot of the special code from loader and avoid kernel errors in modules that the user never even wants to have involved.
* Sending translation for Swedishgoeran2009-04-071-229/+170
|
* Use existing partitions when --onpart is used for PVs or raid members (#493065)Radek Vykydal2009-04-071-5/+16
| | | | | | | Store mapping from pv names used in ks (e.g. pv.1, raid.1) to existing partitions in ks handler and use it when processing ks commands referring to the names. Also fix some attribute references.
* Raise message, not exception when size set in LV dialog is too big.Radek Vykydal2009-04-071-1/+13
|
* Sending translation for Hindirajesh2009-04-071-62/+62
|
* Sending translation for Hindirajesh2009-04-071-573/+597
|
* Raise an error when remofing an extended part with logical parts.Joel Granados Moreno2009-04-071-0/+5
|
* Esthetic changes to storage/partitioning.py.Joel Granados Moreno2009-04-071-19/+28
|
* Sending translation for Russianandrmart2009-04-061-232/+211
|
* dmraid.py is no longer being used by anything, so remove it.Chris Lumens2009-04-061-305/+0
|
* partedUtils no longer exists.Chris Lumens2009-04-061-4/+1
|
* Remove partedUtils.py.Chris Lumens2009-04-062-1095/+0
|
* This is the only place isEfiSystemPartition is used, so pull it in.Chris Lumens2009-04-061-5/+13
|
* getReleaseString now lives in the storage module.Chris Lumens2009-04-061-2/+2
|
* Stop lying about our support for dmraid and multipath in kickstart.Chris Lumens2009-04-061-51/+2
|
* Remove some old, unused code that also uses biosGeometry.Chris Lumens2009-04-061-14/+4
|
* For very small disks, don't try to display a stripe in the graph (#480484).Chris Lumens2009-04-061-0/+6
|
* Fix reading the console= parameter from the cmdline (#490731).Chris Lumens2009-04-061-1/+1
| | | | | This should mean that the serial device and options once again get preserved in the installed system's bootloader config.
* For dmraid partititons device node name != nameHans de Goede2009-04-061-4/+7
|
* When a partition request gets unallocated, set the name back to req#Hans de Goede2009-04-061-1/+1
| | | | | | | | We call allocatePartitions() multiple times (from growPartitions for example), and at the top we unalloc partitions, when reallocating them, the numbering could change and allocatePartitions() may fail half way leaving us with identical named devices. Reset the PartitionDevice name to req# when unallocating the partition to fix this.
* Do not use getPartitionByPath() in allocatePartitions()Hans de Goede2009-04-062-8/+3
| | | | | | | | | | | | parted always renumbers partitions when a partition gets removed, so if we have p5 and p6, and then p5 gets removed then p6 becomes p5, if we then check for p6 using getPartitionByPath() it will show up as non existing even though it does exist, but it has been renamed to p5. This patch fixes this by simply setting the PartitionDevice's pedPartition to None when it was removed from its disk, as the PartitionDevice is of no use to use after that anyways (and we already check that we do not try to remove None from the disk).
* Remove no longer used iscsi_get_node_record functionHans de Goede2009-04-061-11/+0
|
* Try to handle devices which live in a subdir of /dev properlyHans de Goede2009-04-066-18/+24
| | | | | | This hopefully fixes cciss (will test once an anaconda with this in has hit rawhide, so I can use rhts to test). This is the second version of this patch, this time it also does the / -> ! translation for sysfs names.
* Sending translation for Bengali (India)runab2009-04-061-8/+17
|
* Split DeviceTree.addUdevDevice into several smaller methods.David Lehman2009-04-061-460/+543
|
* Don't traceback from failure finding minimum fs size. (#494070)David Lehman2009-04-061-1/+3
|
* udev_settle after format teardown to avoid EBUSY on device teardown. (#492670)David Lehman2009-04-061-1/+8
|
* Add a parted.Device attribute to all existing StorageDevices.David Lehman2009-04-061-67/+65
| | | | This provides a handy way to obtain sizes of devices.