| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We have to potentially unmangle a lang value from say es_ES.UTF-8 down
to just "es" in order to find the group within comps.
|
| |
|
|
|
|
|
|
| |
This will require lorax to actually put the plugin files in the image,
but once they are there we get all the benefit of somebody else's code
managing conditional package installs.
|
| |
|
|
|
|
|
| |
rsync tries to remove xattrs even though -x has been specified. They
don't need to be copied anyway so exclude /dev/ /proc/ and /sys/
|
|
|
|
|
|
|
| |
This is an ugly hack, but it gets nfsiso working. You can switch from
NFSISO to another source, and back to the same NFSISO, just not to a
different NFSISO. That's going to have to be a "known issue" for F18
Beta.
|
|
|
|
|
| |
This adds a thread that uses os.statvfs to monitor the amount data
that has been copied to the destination mountpoints.
|
|
|
|
|
|
|
|
|
|
|
| |
Two fixes here, one set the path to INSTALL_TREE because we haven't
moved anything over to ISO_DIR yet. Two account for the isys mount
count for paths. When we move a mount point the isys count must be
updated so that an attempt later to mount the iso into the INSTALL_TREE
won't be short circuited.
One could create an (_)isys call that does the move and does the
accounting, but that would add more C code, which is an anti-goal.
|
|
|
|
|
| |
It can get it as an attribute off the Payload object, now that setup is
always being called.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Otherwise, previously selected packages will have their "selected" attribute
set, so we will not try to mark them for installation again. This leads to
some very strange log output.
|
|
|
|
|
|
|
|
|
|
|
| |
All this does is set skip_broken and yum does all the rest. Note that we
are still doing dep solving a second time, when the progress hub is up, but
adding this setting to the Payload object means skip_broken will be in effect
there too. We still need proper error handling for other errors that might
occur at that point.
This should take care of #865073. I can't think of any cases where you can
get past the first hub with a dep solving error.
|
|
|
|
|
| |
This is a different path than that originally reported, but the
same fundamental cause.
|
|
|
|
|
|
|
|
|
| |
move doesn't work because /run/ is a shared filesystem. So do as
systemd suggests, mark the filesystem as private. We don't know of any
reason in anaconda for the filesystem to be shared anyway.
This hack can go away if/when the kernel ever allows moving mounts
within a shared filesystem.
|
| |
|
|
|
|
|
| |
Otherwise, you'll end up in a situation where packages the previous and
current environment share will not get installed.
|
|
|
|
|
| |
Our forced packages should be marked for installation after all removals
have taken place.
|
|
|
|
|
| |
We're going to convert the full ksdata selection into yum again
anyway, so there's no reason to be delicate about it.
|
| |
|
| |
|
|
|
|
|
| |
We need this to quit when handling errors, since doing a sys.exit() from a
thread only kills the thread and not the main program.
|
|
|
|
|
|
| |
kickstart.selectPackages can go away entirely, since all it does is add stuff
to ksdata and we've got that anyway. Having done that, the handling for
--ignoremissing then needs to move into _applyYumSelections.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
liveinst:
use /dev/mapper/live-osimg-min as the install source. This is the original
filesystem before changes made by the live boot scripts.
updates overwrite unconditionally
anaconda:
handle livecd: method, set method to 'livecd' and partition to the path.
packaging:
Move new-kernel-pkg creation into a helper method, _recreateInitrds
Add a flag to prevent running new-kernel-pkg more than once
livepayload:
mount the install source on INSTALL_TREE and rsync it to the ROOT_PATH
Don't use verbose with rsync, results in huge program.log and slows
down install. Error will be logged.
Ignore rsync errors. It has problems with selinux xattrs. Log the
return value, but continue.
Call _recreateInitrds to create the initrd (#853988)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides a way to opt-out of the check for existing mounted media.
If a user has gone into the source spoke and picked a mirror, we
shouldn't ignore that choice by checking for valid mounted media.
In the case of a network stage2 that has a valid repo, we'll find that
when the hub / spokes are initialized. If a user visits the source
spoke and just clicks back (leaving autodetect selected, but no media)
we just return from apply() so that initial discovery of working stage2
should remain.
|
|
|
|
|
|
| |
The new option, which can be a boot arg or an option to kickstart's
packages section, is --multilib. What it does is set yum's
multilib_policy to "all". The default is "best".
|
| |
|
| |
|
|
|
|
| |
(default or manadtory packages).
|
| |
|
| |
|
|
|
|
|
|
| |
Various parts of anaconda either call these methods or expect them to return
certain values (so, not NotImplementedError) and it's just easier to have them
return default values than create new implementations.
|
| |
|
|
|
|
|
| |
/ is always mounted for us anyway, and since we're using rsync it's just a
simple matter of copying from that directory to our destination.
|
| |
|
|
|
|
|
|
|
| |
This prevents trying to mount the device a second time. If it's already
mounted, and is a valid source of repodata, use it from the path it's
already mounted on. Otherwise go ahead and mount the selected optical
drive where we want it.
|
|
|
|
| |
This will return a list of places a particular device might be mounted.
|
|
|
|
|
| |
We're unsetting method there too, we need to unset the install_device so
that we don't try and mount it later.
|
| |
|
|
|
|
|
| |
Do locking inside release since it gets called from outside of
YumPayload.
|
|
|
|
|
| |
This reverts commit d82ee4a818be9db7b65282fad7de3c8bf872a6f3.
There is a better way to do this.
|
|
|
|
|
|
|
|
| |
This recovers some logic from yuminstall.py, only use /run/install/repo
if there is metadata there.
This is related to bug 851274 , but only fixes part of it. It gets
booting from boot.iso working again, but leaves booting from DVD broken.
|
|
|
|
|
|
| |
Anaconda uses yum's getPackage() function to grab packages. It needs to
have a function passed to it in order to verify the package checksum
against the metadata.
|
|
|
|
|
| |
Trying to remount was causing an exception which meant the DVD got thrown
out as a possible installation source, so we were trying to use the network.
|
| |
|
| |
|
|
|
|
| |
Other things may have descriptions later.
|
|
|
|
|
| |
This is a hammer. A more subtle fix could be done to tie into yum's
logging infrastructure and do something sensible with it.
|
| |
|