| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is required so the source layout and package layout have a similar enough
structure to make our test setup work. Without this move, you can't run
"make check" or checkbot without getting error messages about no such module
pyanaconda.booty.
|
|
|
|
| |
It really is just another pyanaconda subpackage.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Loader does not need to handle or understand layer2 and portno so
consolidate that into opaque options. This will prevent issues such as
bug 577005 or commit 9caaca4 or bug 468755
and should be also transparent to future extensions in linuxrc.
Correctly parse OPTIONS whose value includes equal signs because
the values are attribute value pairs. See also bug 597205 and
commit 8549a36.
|
|
|
|
|
|
|
|
|
|
|
| |
how it fixes the bug: we import pyanaconda.languages during the build,
that does pyanaconda.__init__, that imports pyblock, we get that error
output:
dm.c: 1640: not running as root returning empty list
it ends up in the lang-names file, then the traceback at the anaconda
start.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Renames loglevels to have the same names as in syslog, so they read the
same locally and remotely. WARNING is now WARN, ERROR is now ERR, CRITICAL
is now CRIT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to activate just one device when enabling network,
so it was ok to use waitForConnection (wait just for any
connection). Now that more devices can be set to be activated
in nm-c-e (by checking [] Connect automatically), we should
(1) Wait for all devices activated by nm-c-e this way, otherwise
we can fail with traceback in next steps reading device
configuration.
(2) When enabling network make sure the device selected by user
in combobox was activated, not just any device.
|
|
|
|
| |
Otherwise they will end up in /tmp/syslog.
|
|
|
|
| |
Related: rhbz#549653
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to higher memory consumption of LVM, kernel, anaconda and other
running processes in general our current memory limits are insufficient
and the increase is neccessary. I am also introducing additional check for
URL installs which require another 108 MB from the ramdisk, no need to
penalize other install methods.
This is the current memory budget:
- unpacked initrd takes 63 MB
- running processes (anaconda, loader, udev, nm): 67 MB (estimate)
- peak LVM memory consumption: up to additional 56 MB
- with URL install install.img takes additional: 108 MB
- memory requriements of X additional: 256 MB (estimate)
Currently we always expect there will be calls to lvm (though we could do
another memory check just at the moment where the necessity arises). All
of the estimates are on the upper bound, still I am running into OOM
easily with text install+http stage2+lvm detection with the old limits.
|
|
|
|
|
|
| |
Instead of just forking, we fork() anaconda and then execv our custom
audit daemon. This saves us an extra anaconda process running permanently,
taking memory.
|
| |
|
|
|
|
| |
You know, like anaconda's any other python module.
|
|
|
|
|
| |
Since we're leaving the cd drive door locked in loader, we need to make
isys's eject routines unlock the door first, or eject will fail.
|
|
|
|
|
|
|
|
|
| |
str.c was from a time when loader was still a statically linked binary.
Times have changed. Removed str.c and replaced calls with either
string.h or glib.h functions.
For g_ascii_strup() and g_ascii_strdown(), those functions dup the
passed in string, change it, and return that.
|
|
|
|
|
|
| |
We can also call the isys' mount through python bindings. To log those calls,
init method has to be called from python beforehand. That's what this commit is
trying to do.
|
|
|
|
| |
Done by using the new logProgramMessage() function in log.c.
|
|
|
|
|
| |
Introduces logProgramMessageMethod() to do the logging for output of external
programs. New FILE has to be opened and held by log.c.
|
|
|
|
| |
So the code doesn't repeat itself as much.
|
|
|
|
| |
Part of the refactoring done to be able to correctly log program calls.
|
|
|
|
|
|
| |
This is in preparation to use logging from imount.c. We don't want a dependency
of isys on loader, instead move logging code into isys and change loader sources
to use the log.h header in isys.
|
|
|
|
| |
Remove unused code from isys.
|
|
|
|
| |
These functions are no longer called from anywhere inside anaconda.
|
|
|
|
|
|
| |
Remove the dasd.c file from the isys source tree. The only function
that was still used was getDasdPorts() and it is only called by Python
code, so we can move that functionality in to Python.
|
|
|
|
|
|
|
|
| |
Note this patch also removes the following line (in the middle of the EDD
block):
handleSegv = _isys.handleSegv
This is intentional, as that line was present in isys.py twice.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
A crash occurs after the IPv6 GUI has been enabled when we chose to configure
the network device manually. When the crash is fixed the screen still does not
appear. This patch fixes both the problems.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a read from a block device (like USB key) or a cdrom (USB cdrom) fails, sleep
a bit to give the device some time to initialize. Return status of the mount
command is checked so waiting occurs only if there is a reasonable chance that
the device might eventually come online. This required extending our existing
mounting methods to report the correct mount error code.
I tested that
* the installer still runs
* reading the kickstart from a usb works
* starting the installer with no USB key inserted but a command line argument pointing to a USB drive will trigger the waiting cycle and that when the key is inserted while waiting the kickstart is eventually found on the key.
|
|
|
|
|
| |
We have glib for other things, so we can use it for option parsing and
dump another library dependency.
|
|
|
|
|
|
| |
Somehow a debug printf of mine from developing:
"Fix EDD BIOS disk order detection in general and make it work with dmraid"
patch ended up in getting committed, this patch removes it.
|
| |
|