| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
We now use ksdata to store data and execute() methods of kickstart
commands to set the installed system up. In order to not place all
the code to kickstart.py, timezone.py module gathering all timezone
related code was created.
|
|
|
|
|
|
|
| |
We now don't use the system-config-date's timezone map and the only
remaining thing we use sdate for is determining if some string is a
valid timezone. This can be easily replaced and thus scdate can be
removed from anaconda dependencies and the installation image.
|
|
|
|
|
|
|
| |
Support in pyanaconda/kickstart.py is there since 08440435d06, but the support
in pykickstart was missing.
(ported 21d2ff99cc6ebae7c9b63229ab5f0b7d44959af4 from rhel6-branch)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LanguageSpoke inherits from the LanguageMixIn which is also used by the
WelcomeLanguageSpoke and contains the treeview with available languages and the
selection object. Obviously the selection doesn't stay selected when
WelcomeLanguageSpoke is hidden.
So in LanguageMixIn.initialize -- if there is nothing selected, try to use
self.data.lang.lang value first and if it is None, fallback to prefered_language
(English).
Fixes the issue with no translations and default language selected on the
SummaryHub before going to LanguageSpoke and back.
|
|
|
|
| |
The original date-time icon no longer exists in the package.
|
|
|
|
|
|
| |
http://docs.python.org/library/ctypes.html#specifying-the-required-argument-types-function-prototypes
and http://docs.python.org/library/ctypes.html#return-types need to be followed for the call to
nm_utils.nm_utils_ip4_prefix_to_netmask.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
rd.neednet is no longer in use by dracut. This is how you tell dracut
"definitely bring up the network interfaces, dammit" now.
Related: 861d6e3fc9d9cd3f719f7e2dbbff31244dc80142
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Argh I dropped a colon somehow. Whoops.
|
|
|
|
|
|
| |
Much like the btrfs hacks, we add "Unknown" onto the end of the list
only when the current device is unformatted and do not include it in
the list for other devices.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For devices whose formatting is swap, remove BTRFS from the device type
combo.
Whenever the device type is switched to BTRFS, set fstype to btrfs and
lock it in.
Do not include btrfs as fstype unless device type is BTRFS.
Note: I made this a bit simpler by making BTRFS the last item in the
device type list and doing the same for btrfs in the fstype list.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|