| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Some info about the variables that dracut exports and uses.
This helps clarify the $netroot situation in anaconda-lib.sh a bit.
Bonus: add some links to Further Reading.
|
|
|
|
| |
You can't use 'eth0' with ifname=<name>:<MAC>. Use 'ksdev0' instead.
|
|
|
|
| |
We don't handle upgrades in anaconda anymore, so this isn't necessary.
|
|
|
|
|
| |
Dracut now passes $netif as the first argument to the script rather than
setting it in the scripts environment. So we need to do netif=$1.
|
|
|
|
|
|
|
|
|
|
|
|
| |
If we parse "ip=... gw=..." and emit a new "ip=..." line, we end up with
multiple conflicting ip= args for that device. This makes dracut panic
with:
"Sorry, 'ip=$p' does not make sense for multiple interface
configurations"
Luckily dracut handles old-style anaconda ip=... arguments now, so we
can just drop this block of code and fix the problem. Yay!
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since each hook is (basically) a separate shell, we need to import
anaconda-lib.sh at least once per hook.
Since anaconda-modprobe.sh runs before the other scripts, this covers
the whole hook.
Still, it's a good idea to leave the imports in place so future
maintainers know what functions come from where; clean up the existing
import in repo-genrules.sh to actually provide this info.
|
|
|
|
|
|
| |
'rd.neednet' is no longer used by dracut. Instead it checks for the
presence of /tmp/net.ifaces or $netroot. So, if we need network (and
$netroot isn't set), make sure /tmp/net.ifaces exists.
|
|
|
|
|
|
|
|
|
| |
save_netinfo moved into upstream dracut's net-lib.sh, so we don't need
our own version here.
The only place we currently use save_netinfo is in the initqueue/online
hook, which will always have sourced net-lib.sh first, so we don't need
to worry about changing anything else.
|
|
|
|
|
|
| |
a) cmdline happens before we start messing with devices, so we don't
really need to do modprobe here,
b) we don't care if the user doesn't have a floppy drive, that's OK
|
|
|
|
|
|
|
|
| |
Current dracut crashes (intentionally!) if you use 'ip=' arguments with
'BOOTIF='.
Until that's fixed upstream, add a temporary workaround that skips
writing 'ip=' arguments if 'BOOTIF' is present.
|
|
|
|
|
| |
Should be no actual behavior changes here, mostly just adding a bunch of
comments and clarifying the flow a bit.
|
|
|
|
|
|
|
|
|
| |
This is fix for F18 alpha. For better fix
* The Network() will be replaced with something like init_networking,
(perhaps with bringing up dhcp in thread). I have pending patches
that need some rework:
https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-July/000290.html
* default ifcfg files might be created in dracut
|
|
|
|
|
|
|
| |
#849095)
Due to commit 16a7c6e7af3df4816323a007f785155d307869bf,
SimpleConfigFile.write of nonexisting files is failling.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changing label, fstype, size all mostly work.
Changing device type between lvm and partition should mostly work.
RAID options are completely untested, as is changing to a device
type of RAID.
Changing to and from a device type of BTRFS should probably work,
but there's a SIGABRT from btrfs at filesystem/volume create time
that will prevent you from actually using it.
|
|
|
|
|
|
|
|
|
|
| |
Fix size spinner values for new devices.
Make sure the remove button is sensitive except on the "Create.." page.
At the moment, selecting a page automatically selects one of the
devices in that root, which means it's impossible to delete entire
roots with the remove button.
|
|
|
|
|
|
|
|
| |
For now, only connect the MountpointSelectors to button-press-event.
Also, don't run the handlers for them during _do_refresh because,
for some reason, they get triggered a whole bunch during setup of
the left-hand side.
|
|
|
|
|
|
|
| |
Build a list, in decreasing order of preference, of pages that make sense
to initially have selected. If a page was selected at the time of the
refresh, it should probably be still selected afterwards. If that page is
no longer present, no problem. Move on to the next one in the list.
|
|
|
|
| |
It means the train is off the track.
|
| |
|
| |
|
|
|
|
|
| |
This allows adjustment of a defined device instead of always having
to create one from scratch.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This was only needed in loader's media checking code we no longer
have.
|
|
|
|
|
|
|
| |
If there are no network devices available, itr returned from the
devices_store.get_iter_first() is None and unchecked use raises an
exception. This can happen e.g. when running 'make runhub' on a
system with NetworkManager.service not running.
|
| |
|
|
|
|
|
| |
Without WindowGroup, python-meh's window is insensitive if it appears
above a spoke.
|
| |
|
|
|
|
| |
we're setting up the UI.
|
|
|
|
|
|
| |
- s/desktop/environment/
- use the list of options for the environment, plus any user visible
groups, to populate the add-on list once an environment is selected
|
| |
|
| |
|
| |
|
|
|
|
| |
Other things may have descriptions later.
|
|
|
|
|
| |
Add a README containing some notes that should cover a lot of the common
questions people ask about how this thing works.
|
| |
|
|
|
|
|
|
| |
The mainframe no longer needs an overly complicated shell script to
bring up the complicated installation environment. It boots the way
other architectures do, except on punch cards and lab coats.
|
|
|
|
|
|
| |
We're going to be playing whack-a-mole here for a bit. Because each
stage of dracut is now a new shell we don't have access to things
sourced in previous stages.
|
|
|
|
|
|
|
|
| |
commit c1da5cd was originally part of an attempt to fix something else,
but the other patch (which introduced proc_cmdline) was rejected on
review.
This adds proc_cmdline so init_logger() won't traceback.
|
|
|
|
| |
This is all handled by lorax now, and having it in two places is confusing.
|
|
|
|
|
| |
See 87b825c5ac14dfa16985f3115bec66c7ade68be1 for the GUI commit that does
the same.
|
| |
|
| |
|
| |
|
| |
|