| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
a real Python package.
Also updates the build and autotools stuff to work with the new structure
|
| |
|
|
| |
so the python implementation in iutil.py can be removed.
|
| |
|
|
|
|
|
|
| |
The object contains all the products of the exec: return call, stdout and
stderr. The remaining execWith*() methods can migrate to this too one
day. The advantage now is that lvm() and mdadm() in devicelibs/ don't have
to resort to (possibly broken) hacks to get the error message from their
calls.
|
| | |
|
| |
|
|
| |
Ales broke this with 667c563e81b6e07df74bbb48be034539bfffe08b.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1) in isys.h differentiate betweet powerpc64 and sparc and everything
else. powerpc is extremely hungry.
2) decrease the limits for the remaining architectures--I have i686 and
x86_64 particularly in mind there
3) change the way the total memory is guessed. the previous method just
assumed kernel binary image is around 16 MB. This can be completely off
for the hungry archs.
|
| |
|
|
|
|
|
| |
On s390x, set the minswap suggestion to 1 rather than 256, 1024, or the
amount of memory in the system. On s390x, it's common for users to run
with swap volumes smaller than the installed memory size, so align the
anaconda recommendations with that.
|
| |
|
|
|
| |
the function to determine what machine we are is isSparc not isSPARC
correct typo
|
| |
|
|
|
|
| |
depending on the type of SPARC machine we are running on we need to pass
different flags to silo. include a function to determine what machine
we are running on.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
iutil.execWithRedirect() stopped doing anything with searchPath in 2006
when clumens committed d0dec24. Remove these silly vestigal bits.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Added some more debugging information which was helpful during
reIPL problem determination. Also, some of the messages did not
keep up with previous code changes...
|
| |
|
|
|
|
|
| |
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
|
| |
|
|
|
|
|
|
|
|
|
| |
In stage 2, the nfs options given in repo= boot parameter were malparsed, in UI
they were ignored.
Note that now the options can get to stage 2 only via method=/repo= boot
parameter. Ks nfs option --opts works only when its url specifies stage2 (i.e.
ends with images/install.img). In cases when method (--repo parameter for
anaconda python script) is inferred from stage2, nfs options of stage2
"nfs:..." url aren't passed to stage 2.
|
| |
|
|
|
|
|
| |
'tmp/storage.log' file. (a part of #524980)
Previously, the method call was logged into 'tmp/anaconda.log' which made the
file harder to do anything useful with.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
stdout echo is on by default, add a parameter that lets us turn that off
if we want to.
|
| |
|
|
|
|
|
|
| |
Create an execWithCallback() function that takes in a callback function
and some data that is always passed to the callback function. Change
execWithPulseProgress() to use execWithCallback(). The idea behind
execWithCallback() is to allow flexibility to creating non-pulse
progress bars or other UI indicators.
|
| |
|
|
|
|
|
|
|
|
|
| |
Because of 8bc669549ddcc7040a5ba56b8afafa18684bac4e and maybe others,
triggering reipl at the end of anaconda is no longer sufficient to be
hit in all different anaconda install paths. Therefore, move the triggering
right after having configured reipl in sysfs and do all in one place.
Now loader must no longer immediately relay SIGUSR1/2 to init,
since anaconda is not nearly finished with installation,
but only remember the state requested by anaconda. Only right before loader
terminates, it kills init with the remembered state to really reboot/halt.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
| |
Pop the stack only where the window pushing it is created and not
in called execWithPulseProgress which causes stack underflow and busy
cursor mess in repo editing.
|
| |
|
|
| |
same moment... (#506664)
|
| | |
|
| |
|
|
|
|
|
|
| |
mke2fs will finish it's work quickly, and anaconda will spend quite
sometime reading in the output, and updating the progress dialog in
certain cases - the attached patch adds a check to the read/progress
loop to check to see if the process has finished, and jumps out early
if that's the case.
|
| |
|
|
|
|
|
|
| |
Replaces previous post with fixed patch.
Assuming anaconda.id.bootloader.device is always a disk device
(not a partition) and it always contains the device /boot and hence the
zipl bootloader is located on, this fixes the back trace.
|
| |
|
|
|
| |
yum's rpmUtils.arch has the same bits as rhpl.arch, so use those
instead for writing out /etc/rpm/platform
|
| |
|
|
| |
Use python's gettext module instead of rhpl.translate
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Doing so sends a whole lot of spew to tty1 which not only looks bad, but
makes VNC and text installs look even worse than they already are. Also,
let's write output from execWithPulseProgress to the program.log too.
|
| |
|
|
|
|
| |
This is required when handling kickstart scriptlets that can write to
log files, since the log file will need to be created before it can
be opened.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
anaconda
fsset.py
iutil.py
iw/partition_gui.py
partedUtils.py
|
| | |
| |
| |
| | |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| | |
| |
| |
| |
| | |
This time I've tested them fairly well, so hopefully these
changes will be the last for a while.
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
| |
Remove statement without effect to make pychecker happy.
|
| | |
|