| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
IT IS ACCOMPLISHED.
|
| |
|
|
|
|
|
| |
/mnt/sysimage stays where it is because that's fairly widely established and
known outside anaconda, whereas all these other mount points are private
anaconda knowledge. /mnt/source is somewhat widely used, but I have cautioned
people about getting used to that.
|
| |
|
|
|
|
|
|
|
|
|
| |
There were two kinds of unused but set variables:
- the really pointless ones
- the ones whose only purpose was to silence the warnings
about ignoring the return values from functions declared with
__attribute__((__warn_unused_result__))
Since gcc 4.5 the warnings can be disabled using -Wno-unused-result,
so the variables are no longer necessary.
Then -Wno-unused-but-set-variable is an overkill, so drop it.
|
| |
|
|
|
| |
Running the commands will now require operating on PyObjects, and I don't
want to expose that outside of kickstart.c.
|
| |
|
|
|
|
|
| |
Replace uses of mkdirChain() with g_mkdir_with_parents() and
remove the existing mkdirChain() code from isys/imount.*
Added a wrapper function for g_mkdir_with_parents() usage.
|
| |
|
|
|
|
|
|
| |
Simplify the archive extraction loop in explodeRPM() by using the
unpack.c helper functions. Add a new parameter to explodeRPM, the
destination to unpack the archive to. This was previously handled
by dlabelUnpackRPMDir() directly, but it made more sense to me to
move it in to the libarchive unpack helper.
|
| |
|
|
|
|
| |
Use glib functions to simplify the getPartitionsList() function in
loader. Also use the g_strfreev() and g_strv_length() functions to
eliminate the need for those equivalent functions in getparts.c.
|
| |
|
|
|
| |
Since mount can handle mounting files on loopback for us now, there's no
reason to continue doing so manually in loader.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Depmod doesn't support absolute paths so far, so we have to use small workaround. COnfigure it to prefer lib/modules/<kernel>/updates and make updates a symlink to /tmp/DD/lib/modules.
This way depmod -a should see the modules and modprobe too...
|
| |
|
|
|
|
| |
We used to have kernel-modules-<version> = anything, but we want to change it to make writing spec files more developer friendly. RPM exports the versions under different tag, so we basicly iterate over two arrays at once..
Related: rhbz#508242
|
| | |
|
| | |
|
| |
|
|
| |
We have to load all drivers to get access to devices containing driver discs. But when we copy the DD content into RAM, we have to reinitialize those drivers to pick up updated versions.
|
| |
|
|
| |
Backporting this revert from RHEL5 to get support for CD based driverdiscs back. We have to find a cleverer way how to check this as CDs have no partitions.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
| |
g_slist_alloc is only used to create a new entry in the list and it is not
needed to initialize the list (it actually inserted an empty item at the
beginning of the list).
Also use strdup to store a copy of the device name (+ cleanup code)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
And adapt it to use glib and better string handling functions
|
| |
|
|
|
|
|
|
|
| |
terminates program in OOM scenarios.
This is to avoid having to copy-paste the asprintf-log-abort if branch
all the time. This commit also modifies existing asprintf() calls to
use the new macro in places where the change wouldn't modify program's
semantics.
|
| |
|
|
|
| |
We have glib for other things, so we can use it for option parsing and
dump another library dependency.
|
| | |
|
| |
|
|
|
| |
We have lots of strings that we display to users which are unclear or
contain poor usage and grammar. That's bad.
|
| | |
|
| |
|
|
|
|
| |
This reverts commit 89652b6fbe65e5e7922d743a99b07104d071ef42. This patch
was not reviewed on the list and does not fix any emergency build breakage.
Thus, per policy is being reverted.
|
| | |
|
| | |
|
| | |
|
| |
|