| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
| |
Hans' fixes from this message:
https://www.redhat.com/archives/anaconda-devel-list/2009-December/msg00473.html
Keeping the code consistent across master, rhel6-branch, and
rhel5-branch.
|
|
|
|
|
| |
Prepend log_method_call()'s output with spaces corresponding to the
depth of the current call stack, so you can see what's calling what.
|
|
|
|
|
| |
iutil.execWithRedirect() stopped doing anything with searchPath in 2006
when clumens committed d0dec24. Remove these silly vestigal bits.
|
| |
|
|
|
|
|
|
| |
Wrong check for the architecture resulted in having no lib64 directories
in LD_LIBRARY_PATH, and that's why anaconda couldn't find the libudev
library.
|
| |
|
| |
|
|
|
|
| |
These are there for historical reasons and need to go.
|
|
|
|
|
|
| |
This provides better support for excluding groups. Now, groups that were not
previously listed (because they were covered by a glob, for instance) can also
be removed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently we rely on self.handler being defined in our execute() methods
of pykickstart command/data derived classes. But self.handler is is not
defined for BaseData derived classes, which we fix by some trickery to define
it anyways.
This patch replaces the trickery by using the anaconda parameter all
the execute() method of pykickstart command/data derived classes have, this
allows access to the same object through anaconda.id.ksdata, without requiring
the trickery.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unnecessary semi colons in various places
- textw/upgrade_text.py: add a few missing imports
- Fix various missplaced doc strings
- Fix several double imports
- Fix AnacondaKSScript.run: Module 'os' has no 'exists' member
- users.py: Remove double definition of Users.setRootPassword
- yuminstall.py: correct typo reop -> repo
- yuminstall.py: _run: anaconda -> self.anaconda
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've been running pylint on a subset of anaconda:
booty storage iw/*.py platform.py
And it has found various errors this commit fixes:
- Restore line accidently dropped from iscsi.py
- execWithPulseProgress should propagate the return value of
execWithCallback
- storage.formats.fs:535 (FS.doCheck): self.intf should be just intf
- storage.formats.fs: add missing "import sys" (for sys.exit)
- advanced_config.py add missing import for NetworkConfigurator
- lvm_dialog_gui.py: VolumeGroupEditor.editLogicalVolume dev was renamed to d
- partition_gui.py: remove an unneeded semicolon
- partition_gui.py: PartitionWindow.createCB rc should be dialog_rc
- storage.FSSet.write: put docstring in the proper place
- platform.Sparc.minimumSector: sectors should be sector
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As discussed on the mailinglist, mdadm will be moving to creating
version 1.1 metadata by default, and we should be creating arrays with
bitmaps (except for /boot and swap).
So this patch adds parameters to mdcreate to specify wether to use a
bitmap or not and which metadata version to use.
It then changes MDRaidArrayDevice.create() to:
1) For /boot force metadata version to 1.0, as grub cannot handle 1.1,
and don't use a bitmap.
2) For swap don't use a bitmap.
3) Everything else create with bitmap
|
|
|
|
|
|
|
| |
We were only emitting dracut setup strings for devices the root device
depends on, not for the root device itself. This causes non booting systems
when the root device itself is of a type which needs a setup string
(such as a regular mdraid array).
|
|
|
|
| |
Fix some stupid path mistakes in dasd_settle().
|
|
|
|
|
| |
On s390x, if an interface is in OSA layer 2 mode, do not write the
HWADDR setting to the ifcfg file.
|
|
|
|
|
|
| |
Give DASD devices some time to enter the online or unformatted state
before calling udevadm settle. Max duration of loop is suggestion from
IBM.
|
|
|
|
|
| |
This reverts commit 13a27933b4b651317deec74cc80daaab5041d206. Xorg is
asking hal for input device information.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If an unpartitionable device contains a disklabel we ignore any
partitions on that device, but we want to show that the device
does contain a partition table in UI.
|
|
|
|
| |
This way lvm lvs containing a disklabel will not be treated like disks.
|
|
|
|
|
|
|
|
|
| |
This becomes important when removing a disklabel from a device
which has a disklabel and partitions but which is not something
we support partitioning (eg: lvm lv). In normal cases the
partitions will already have been removed, but in the case of
an unsupported partitioned device we ignore the partitions when
scanning and so have to remove them this way.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This one somehow eluded the patch that corrected all the others.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Though --modversion reports 4.8.0-beta1, the test needs to check for >=
4.8.0.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If ignoredisk --disks= was given, of course there's not going to be anything
in exclusiveDisks. So don't rely solely on that.
|
|
|
|
|
|
|
|
| |
Since ignoredisk is an optional command and leaving it out of a kickstart
file means you don't want to ignore anything, there's no reason to stop
on that screen and wait for input if ignoredisk was not specified. However,
if this is an interactive kickstart install we do still need to stop and
ask.
|
|
|
|
| |
Otherwise, the autopart command won't actually do anything.
|
| |
|
| |
|
|
|
|
|
|
| |
- enable dlabel on RHEL by default
- use glib's linked lists to traverse through available DDs
- run depmod if the .rundepmod trigger file is present
|