| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
(1) We need to use the device's name instead of its path for clearPartDisks.
(2) We need to set doAutoPart since text mode is autopart only.
|
| |
|
| |
|
|
|
|
|
| |
This is consistent with the graphical installation mode, which will only
install Core if all groups are deselected.
|
| |
|
|
|
|
|
|
| |
Booty was expecting the xxxxxxx part of /dev/xxxxxx paths instead of
new storage device names, this patch fixes this, making booty work on
dmraid with the new storage code.
|
|
|
|
|
| |
This continues the war on calling iutil.isWhatever() everywhere. We can
start using the platform module for that.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
anaconda
fsset.py
iutil.py
iw/partition_gui.py
partedUtils.py
|
| |
| |
| |
| | |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Change minsize/maxsize to minSize/maxSize since that's the
convention elsewhere throughout the code.
- Redirect output from all external utilities to tty5, not
/dev/null.
- Don't waste calls to basename for debug log statements,
especially when the device can be None.
- Add lots of missing imports.
- Fix lots of remnants of previous code usage.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exception.py:
- Remove unused partedUtils import.
- Collect things from storage, not partitions.
gui.py:
- exceptionDisks is in storage now, not diskset.
installclasses/rhel.py:
installclasses/fedora.py:
- setDefaultPartitioning take storage arg, not partitions.
iw/autopart_type.py:
- Find things in storage, not partitions.
iw/bootloader_main_gui.py:
iw/osbootwidget.py:
- Remove unused partedUtils import.
- Find fsset in storage now.
- Use storage, not diskset, for iterating over disks/partitions.
iw/lvm_dialog_gui.py:
- Fix several typos from the original storage update.
iw/partition_gui.py:
- Find unusedMDMembers in storage, not partitions.
iw/partitionui_helpers_gui.py:
- Use StorageDevice.minSize,maxSize for resize limits.
- Update doUIRAIDLVMChecks to use new storage module.
packages.py:
- Use new storage module to list vgs for selinux hack.
storage/__init__.py:
- Fix FSSet.createSwapFile so it creates the file on the
correct device.
storage/iscsi.py:
- Use new storage module to identify iscsi disks.
textw/partition_text.py:
textw/upgrade_text.py:
- Initial update to use new storage module.
yuminstall.py:
- Use storage module to find space for upgrade transaction.
- Use storage module to locate protected partitions to mount
in doPreInstall.
|
|
|
|
|
| |
The property name for Device objects on a Disk or Geometry is
'device', not 'dev'.
|
|
|
|
|
| |
The parted.Device object now provides a getSize() method to return
the size of the device in a human-readable format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces the iscsi.py code with new code using libiscsi, getting
rid of the awefull configfile mangling to set auth info hack, and in general
making it much cleaner.
Fixes:
-Report error when we cannot add a disk instead of silently failing (461830)
-Report error when trying to use iscsi from kickstart without having an
iscsiname directive first (463156)
-Better feedback while scanning iscsi disks
-Make ibft work with chap and 2-way chap
-Make ibft configured disks available for upgrades and in rescue mode
-Make ibft boot work even when iscsi-initiator-utils is installed after the
kernel in the transaction
Note:
libiscsi is available in Fedora now
|
|
|
|
|
| |
You can, however, still select the drives to use and the basic layout to use.
You can also still use kickstart.
|
| |
|
| |
|
|
|
|
| |
There is no more interactive group/package selection in text mode.
|
| |
|
|
|
|
|
|
|
|
| |
The attached patch updates findExistingRootPartitions to return dev, fs,
release string, label and uuid and fixes all callers to use the 5 tuple. This
is required so that later changes to upgrades functionality can fit better in
the code. For more background see:
https://www.redhat.com/archives/anaconda-devel-list/2008-December/msg00210.html
|
|
|
|
| |
Various packaging fixed from review (#225246)
|
| |
|
|
|
|
| |
Fix a few syntax error caugh by pychecker.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
A corner case, but if a user boots up with boot.iso and has no
network devices available, we get all the way to package selection
and user is told they cannot continue. This is after all of the
other screens and partitioning.
In the welcome screen, perform a check to see if the user has booted
the installer to a point where it requires a network install for the
packages. If so, tell the user they cannot continue and exit the
installer.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
In stage 2 when you get the 'Enable network interface' dialog, if
you select an interface that is not able to connect to a network,
we just wait and then take the user back to the Enable network
interface dialog. Before going back to the dialog, tell the user
we were unable to configure the selected interface.
|
|
|
|
| |
Match up the strings and dialog windows in the text mode interface.
|
|
|
|
|
| |
Mention that updates are available and sync up text for completion between
text mode and GUI
|
|
|
|
|
| |
We used "default" a lot in the text. Change based on notting's suggestion
and make the intro text a little clearer to match
|
|
|
|
|
|
|
| |
Currently the iscsi code checks for giving a password but not a username or
vica versa in both the interface and the iscsi code, this patch removes the
unneeded check from the interface code, this is a preparation patch for
fixing #463156, #461830
|
| |
|
|
|
|
|
|
| |
When performing a text mode install, call self._dhcpToggled()
before running the dialog so the initial state of the manual entry
fields matches the checkbox choices.
|
| |
|
|
|
|
|
|
|
|
| |
We show groups that don't have any of their mandatory packages available
which is less than ideal as, eg, xfce-desktop gets shown just because
gdm is on the dvd. So make our filtering a little bit stronger.
And make sure that text mode is using the same filtering
|
| |
|
| |
|
|
|
|
| |
Fix various syntax errors caught by PyChecker
|
|
|
|
| |
This reverts commit d5c0a7287fe810c06968687777bdca527a44258e.
|
|
|
|
|
|
|
|
| |
In stage 2 when you get the 'Enable network interface' dialog, if
you select an interface that is not able to connect to a network,
we just wait and then take the user back to the Enable network
interface dialog. Before going back to the dialog, tell the user
we were unable to configure the selected interface.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
NetworkManager currently lacks IPv6, so do not expose IPv6 widgets
in the network UI in anaconda for now.
|
|
|
|
|
|
| |
If you boot with boot.iso and pass ksdevice=DEVICE or
ksdevice=MACADDR, use that to automatically select the NIC to use
when we ask the user to bring up the network for installation.
|
|
|
|
|
|
| |
Do not force users to provide a gateway or a nameserver, just pass
if those are missing. However, if they are provided, still raise
an error if the provided value is incorrect.
|