| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
anaconda.ksdata is only non-None if there's a kickstart file, just like
anaconda.isKickstart would be. Therefore, we don't need two variables
to test for the same condition.
|
| | |
|
|/
|
|
|
| |
Some methods have been added to other intfs but not to RescueInterface;
they must be added there as well.
|
|
|
|
|
|
|
|
| |
The hardcoded setting of LD_LIBRARY_PATH was not taking into
consideration if there are lib or lib64 directories,
and was also overwriting everything loader put there before.
Changed to just prepend "/mnt/sysimage" to the directories
we already have in the path.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a cleanup for the po files. xgettext displays the following
messages for some Python files:
warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
This patch modifies the reported format strings to use named parameters
per the warning message. We were already using these style format
strings in users.py and possibly other files. Basically when there is
more than one parameter in the format string, we should use a hash table
with named parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the following methods and properties to class Storage which map
through to FSSet methods, modify existing calls to use the method on
class Storage:
turnOnSwap()
mountFilesystems()
umountFilesystems()
parseFSTab()
mkDevRoot()
createSwapFile()
fsFreeSpace()
mtab
mountpoints
migratableDevices
rootDevice
Callers no longer need to pass the Anaconda object to the FSSet methods
directly. The method on Storage takes care of that.
The mtab() method on FSSet is exposed as a property on Storage. The
same is true for fsFreeSpace().
|
| |
|
| |
|
|
|
|
|
| |
Add dialog package required for firstaidkit
Create /etc/fstab in ramdisk to make mount commands easier (#440327)
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(1) When there's more than one system to choose from, display the name of the
device, its release string, and the label if it exists.
(2) Return the right type when the user makes a selection from the combo box.
|
| |
|
|
|
|
| |
Use True/False over 1/0. It's the future.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a user boots from boot.iso, the installer will bring up the net
config dialog to configure the network interface so packages can
be found and installed. If a user has no available network devices,
the window appears but nothing is in the combo box. If they click
the combo box, you get a traceback.
This patch returns False from all enableNetwork() functions so the
user sees the 'No Network Available' dialog and is given the Exit
Installer button.
|
| |
|
|
|
|
| |
For now just log a message if bringUp() fails.
|
|
|
|
|
|
|
| |
Changed bringDeviceUp() in network.py to bringUp() since it really
just writes out all new network configuration information and lets
NetworkManager take over from there. Correct the calls to this
method so we don't get tracebacks anymore.
|
|
|
|
|
| |
Both isys.dhcpNetDevice() and isys.configNetDevice() have been
replaced with network.bringDeviceUp().
|
| |
|
| |
|
|
|
|
| |
All changes to handle the new rescue command and %post scripts when in rescue mode.
|
| |
|
| |
|
| |
|
|
|
|
| |
* po/sk.po: Typo fix.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
|
|
|
|
|
| |
Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright
year ranges and listed authors (if they were in the comment section) under
the Red Hat Author(s) section.
|
|
|
|
|
|
| |
Remove method references from the Anaconda object, along with various support
functions that import methods and return instances of methods. This also
removes method instances from the backend.
|
| |
|
|
|
|
| |
it.
|
| |
|
|
|
|
|
|
|
|
|
| |
partition device files (#241439).
* fsset.py (DevDevice.setupDevice): Better error reporting and when
using DevDevice class, check for existence of device file.
* rescue.py (runRescue): Better error reporting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fsset.py (allocateLoopback): Use /dev/loopX instead of /tmp/loopX
* urlinstall.py (UrlInstallMethod.systemMounted): Use /dev/loop0
instead of /tmp/loop.
(UrlInstallMethod.systemUnmounted): Likewise.
* rescue.py (runRescue): Loop devices made generally now.
* harddrive.py (HardDriveInstallMethod.mountMedia): Use /dev/loop3
instead of /tmp/loop
(HardDriveInstallMethod.umountMedia): Likewise.
* image.py (CdromInstallMethod.systemUnmounted): Use /dev/loop0
instead of /tmp/loop
(CdromInstallMethod.systemMounted): Likewise.
(NfsIsoInstallMethod.mountImage): Likewise for /dev/loop3
(NfsIsoInstallMethod.umountImage): Likewise.
(findIsoImages): Likewise for /dev/loop2.
* iutil.py (makeDriveDeviceNodes): Make loop devices.
|