| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
This is to make way for the boot device picking option.
|
|
|
|
|
|
|
|
| |
packagesSeen is a value, that should not be changed in spokes. Using
it as a condition for the completed property results in no way of
completing software spoke in kickstart installation without %packages
section. Without %packages section in kickstart, SoftwareSpoke's
completed method should use the same code as in manual installations.
|
|
|
|
| |
Not just when we have old devices set up as mounts.
|
|
|
|
|
| |
If the device's formatting does not exist that necessarily means
the device is in use.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is pretty terrible, sorry.
Basically the problem is that we need to write out full locale settings to
/etc/sysconfig/i18n or lots and lots of things on the system are broken.
For instance, "de_DE.UTF-8" is good but "de.UTF-8" is not.
Unfortunately I can find no suitable way to extract this information via
python-babel. I think our intention is that using geoip will get us the
full locale, but there's no time to do that now. lang-table used to contain
this mapping for us, but I really don't want to add that file back. This
fix should be considered temporary.
|
| |
|
| |
|
|
|
|
|
| |
By always creating them outside the chroot, we can copy them into the
chroot later into a non tmpfs filesystem.
|
|
|
|
| |
It is connections that are relevant here.
|
|
|
|
|
|
|
| |
This avoids a confusing situation where you return to the hub and get an
error dialog you can only exit anaconda from. Also, put errors from
doAutoPartition into self.errors on the storage spoke so they are viewable
by clicking on the info bar.
|
|
|
|
|
|
|
| |
The idea here is that the dialog says you can make enough space to install by
resizing or deleting, but only ever mentions how much space is available if you
do resizing. That seems weird to me, so I've added another row that shows how
much space is in all the selected disks.
|
| |
|
| |
|
|
|
|
|
| |
With the resize dialog, we have UI for everything now and can send the user
through a path that'll allow them to make space.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This allows shrinking and deleting of individual partitions in order to make
enough room to do an installation. All shrinking and deleting happens as
scheduled actions which will be executed later, therefore eliminating the need
for progress and error reporting in this dialog.
It's not hooked up quite yet.
|
|
|
|
|
|
| |
Without this whole GUI hangs in case this dialog is run to choose
replacement for the last layout in the list of added layouts (minus
button clicked).
|
|
|
|
|
|
| |
This cleans up a lot of stuff in this file by making use of the spoke we
have instead of newt. There are also a few whitespace fixes and
removals of unnecessary imports.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Using "if flags.liveCDinstall or flags.imageInstall or flags.testing" over
and over is incovinient, one may forget to involve some of the conditions
and there is no logging of the skipped actions.
This patch adds flags.can_touch_runtime_system function, that can be used as
a guard and that logs skipped actions. It can also be easily mocked or
masked for the needs of testing.
|
|
|
|
|
|
| |
This gets used if text mode is requested or if X startup fails. We
don't (yet) prompt the user for advanced VNC configuration such as port
number or to connect to an existing system.
|
|
|
|
|
| |
cmdline means no prompting, so if we have spokes that are incomplete,
raise the error.
|
|
|
|
|
|
|
| |
cmdline mode means do not prompt for missing kickstart data. We need a
way to expose this setting to the interface, so create a flag for it.
"cmdline" cannot be used because that already exists as a flag, so
"ksprompt" is created as a bool. Defaults to true.
|
|
|
|
|
| |
createLuserConf needs to be called before the first use of User().
Also cleaned up some whitespace.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add/set mountpoint:
- new device
- add selector to new install page
- new filesystem on old device
- add selector to new install page
- remove selector(s) from old install root page(s)
- old filesystem on old device
- add selector to new install page
- leave selector(s) in old install root page(s)
Remove mountpoint from new install page:
- new device
- destroy the device (cancel its scheduled creation)
- remove the selector from the new install page
- new filesystem on old device
- reset the device to its initial state
- remove the selector from the new install page
- add the selector(s) back to any old install page(s)
- old filesystem on old device
- reset the device to its initial state (mountpoint)
- remove the selector from the new install page
- leave the selector(s) in any old install page(s)
Remove mountpoint from old install page:
- destroy the device
- remove selector(s) from any old or new install page(s)
Other changes:
- Remove remove_from_root method.
- We don't want to modify the Root instances. We won't be showing
devices that are no longer present, so there should be no harm
in leaving the Roots intact.
- Remove _update_ui_for_removals since it's only called from one method.
- Protect more signal handlers from running during refresh.
- Use constants for flipping pages in the partitionsNotebook.
|
| |
|
| |
|
|
|
|
| |
This allows users to assign mountpoints to existing devices.
|