| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
- Splits doInstall to doInstall and doConfiguration
- Updates text and gui mode to use doConfiguration
|
|
|
|
|
|
|
| |
It doesn't make sense and can cause traceback when replacing the last
layout in the list of added layouts.
Resolves: rhbz#854643
|
|
|
|
|
| |
Instead of modifying passed iterator, iter_previous now returns a new
one.
|
|
|
|
|
|
|
|
| |
For yum payloads we write storage config before installing the payload
so %post scripts have access to the configuration files if needed. For
live installs, we have to write the config after installing the payload
since installing the payload would overwrite parts of the storage
configuration (notably /etc/fstab).
|
| |
|
|
|
|
|
|
| |
By hardcoding newlines in the source text, I made it difficult for translators
to correctly make sure their text wrapped. Instead, remove the newlines and
just have gtk figure out where the wrapping should go.
|
| |
|
|
|
|
|
|
| |
That is, when you start typing in the entry box it should filter the results in
the list instead of displaying a drop down. This also allows for typing either
the English or native names and having both work for filtering.
|
|
|
|
|
|
| |
Instead of constantly creating new Images and shoving them into a spot in
the notebook, I'm now just putting each rnote on its own page. Whether
it's better or not is up for debate, but at least this way works.
|
|
|
|
|
| |
Try to make it clear that activating the checkbutton opts out
of automatic partitioning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If automatic partitioning fails, we reset the storage instance to its
prior state. The custom spoke operates on a copy of the storage
instance, so that means it gets reset to whatever the state was upon
entering the custom spoke. For the storage spoke we have little choice
but to actually call self.storage.reset() which actually re-scans the
devices.
For other operations within the custom spoke, the goal is to restore
things to the state prior to the failed action. If that fails, the
custom spoke will simply reset its storage instance as described above
for automatic partitioning failures.
|
|
|
|
| |
Also remove unused PartitioningWarning exception.
|
| |
|
| |
|
|
|
|
|
| |
BTRFS default RAID level is single, so we need that to be a key in
the raid_level_features dict.
|
| |
|
|
|
|
|
|
|
| |
Using --force --force is not enough, 'lvm' still asks, if we really
want to remove PV used by some VG. Adding --yes fixes the issue.
Resolves: rhbz#853977
|
|
|
|
|
| |
Using GLib.idle_add for action that repeats means 100% CPU usage. So
let's use GLib.timeout_add with 250ms interval instead.
|
|
|
|
| |
Use desktop configuration tool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On F18 with Anaconda 18.6.5, adding new passphrase to LUKS format always fails:
----> 1 fmt.addPassphrase("XYZ")
/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/luks.pyc in addPassphrase(self, passphrase)
246 passphrase=self.__passphrase,
247 key_file=self._key_file,
--> 248 new_passphrase=passphrase)
249
250 def removeKeyFromFile(self, keyfile):
/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/crypto.pyc in luks_add_key(device, new_passphrase, passphrase, key_file)
133
134 cs = CryptSetup(device=device, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase)
--> 135 rc = cs.addPassphrase(passphrase = passphrase, newPassphrase = new_passphrase)
136
137 if rc<0:
In recent cryptsetup-python-1.5.0-2.fc18, cs.addPassphrase was replaced
probably by cs.addKeyByPassphrase (I'm just guessing by the name). I tested it
just in my dummy applications, take it with a grain of salt.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
|
|
|
|
|
|
| |
We've gotten some complaints that it's not obvious what to do with the left
side of the software screen. A radio button makes it obvious that (1) you
need to pick something, and (2) you can only pick one thing at a time.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
libuser checks the LIBUSER_CONF environmental variable and uses the
temporary config file it points to, but in order for this to work it
must be set before User() is run.
|
|
|
|
|
|
| |
Since we now use "en.UTF-8" as language instead of "en", we need
to reflect this also in expand_langs. Otherwise e.g. using 'lang en'
in kickstart wouldn't work.
|
|
|
|
| |
It doesn't make sense and causes hang.
|
|
|
|
|
|
| |
When using e.g. 'cs' as $LANG value, gettext tries to encode translated
strings with latin-1 encoding which leads to tracebacks. Using 'cs.UTF-8'
works.
|
|
|
|
| |
We need it for the live installation.
|
| |
|
|
|
|
|
|
| |
Lorax installs these packages for us, but not as Anaconda dependecies,
so if somebody does a compose without using Lorax, these packages might
be missing.
|
|
|
|
|
|
| |
This goes with a lorax patch that keeps the file around. Since dracut
doesn't expose these files via /run/ anymore we have to keep around the
file(s) we want to use from stage2 environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
|
|
|
|
|
|
| |
We were doing reboots before because there was not an obvious reboot/shutdown
button anywhere in the live environment. However, that is no longer the case.
I've left the end of installation as reboot because it's clearly labeled as
such and we shouldn't break the string now.
|
| |
|
|
|
|
|
|
| |
This only used to work because we ran all the btrfs/lvm/raid stuff before
we allocated partitions. At that point, the "pv.XX" names are no longer
valid and have been replaced by things like "sdX".
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
E.g. allow DVD installs without network.
|
| |
|
|
|
|
| |
Resolves: rhbz#853308
|
|
|
|
|
|
| |
This gets rid of storage references.
Related: rhbz#853308
|
|
|
|
|
|
|
|
| |
Turns out that while pykickstart objects will default to the lock being
False, there is an interactive-defaults.ks that is being loaded by
anaconda, and in /that/ file the root is default to --lock. Since we're
setting a password, it makes sense to ensure that the account is not
locked.
|
|
|
|
|
| |
Network Manager has split this out into its own rpm, built from the
network-manager-applet package.
|