| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#503310) (#503681)
Default clearPartType to None so that all devices are discovered during storage
initialization step, and UI parttype can be set to its default "Replace existing
linux system". Also set clearPartType appropriately when going back from partition dialog
so that all devices are discovered during storage reset.
There is one case that can't be resolved this way: clearpart --all or --linux
is set in ks and "Create custom layout" is selected in parttype UI step. Because of ks
setting, storage initialization doesn't discover devices (RAID, LVM) on
partitions that are to be cleared and therefore they are not present in custom
partition dialog. This can be workarounded by going back and than again to
custom partitioning dialog. I think we should grey-out type of partitioning
combo set to value from ks clearpart command.
|
|
|
|
|
| |
Also, add a weight method to the Platform classes and have it return an integer
for whatever fstype or mountpoint is provided.
|
|
|
|
|
|
|
| |
The crucial step here is making sure we set clearPartType to NONE in
setDefaultPartitioning when called with doClear=False. That's what we pass
in from the autopart kickstart command handler, and that's what forces you
to have to use clearpart if you want to remove existing partitions.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
anaconda
fsset.py
iutil.py
iw/partition_gui.py
partedUtils.py
|
| |
| |
| |
| | |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| |
| |
| |
| | |
pychecker fix.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Change minsize/maxsize to minSize/maxSize since that's the
convention elsewhere throughout the code.
- Redirect output from all external utilities to tty5, not
/dev/null.
- Don't waste calls to basename for debug log statements,
especially when the device can be None.
- Add lots of missing imports.
- Fix lots of remnants of previous code usage.
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
For Fedora, this means we will not allow upgrades of detected root filesystems
more than two releases old, or "upgrading" a newer install with an older one.
For RHEL, we don't yet know what to do so just allow things to continue as they
always have. Using "upgradeany" still circumvents this check.
|
|
|
|
|
|
| |
This patch also makes selecting /boot as mountpoint
to automatically select ext3 (in place of ext4)
in filesystem combo.
|
| |
|
|
|
|
|
|
| |
Add missing ':' to if statement in yuminstall.py
Remove 'import os,string' from security.py
Remove 'networkdevicecheck' from installclass.py
|
| |
|
|
|
|
|
|
|
|
| |
Different products and distributions could support completely different
bug filing system (or none at all, for that matter) so support an
abstraction that allows us to use multiple kinds of bug files. We still
need to commit that abstraction somewhere and also make sure we allow full
customization through the product.img.
|
|
|
|
|
| |
This avoids the problem of our imports failing due to typos and then
getting weird behavior non-obviously later
|
| |
|
| |
|
|
|
|
| |
* po/sk.po: Typo fix.
|
|
|
|
|
|
|
|
|
|
| |
Better fix for #408921. Using network.overrideDHCPhostname to set
the default behavior of requiring users to set a hostname. If the
user changed that to 'use DHCP', clicked Next, then clicked Back,
the network configuration screen would be back at manual for the
hostname. Fixed that by honoring overrideDHCPhostname. Also took
the opportunity to make overrideDHCPhostname a boolean since that's
how we are using it.
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| | |
We need to prepend the installclass path to the pythonpath like we do the
rest of our module paths
|
|/
|
|
| |
Also, remove ARC support while we're here - it's pointless.
|
|
|
|
|
|
| |
Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright
year ranges and listed authors (if they were in the comment section) under
the Red Hat Author(s) section.
|
| |
|
| |
|
|
|
|
|
|
| |
Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount
whatever contains the images, and /mnt/source is always the source mount
point. Also don't use methodstr where we don't have to.
|
|
|
|
|
|
| |
Remove method references from the Anaconda object, along with various support
functions that import methods and return instances of methods. This also
removes method instances from the backend.
|
|
|
|
|
|
| |
This commit removes the base InstallMethod class without removing the users
in other files, so obviously this commit cannot stand alone. installmethod.py
and image.py at the very least still need significant changes.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
instead of creating a new one.
|
|
|
|
| |
opposite operation from ignoredisk --drives (#198526).
|
|
|
|
|
|
| |
* installclass.py (BaseInstallClass.setSteps): Permanently skip
task selection and group selection if our backend doesn't support
package selection (#242083)
|
|
|
|
|
|
|
|
|
|
|
|
| |
when getDiscNums fails
* installclass.py (BaseInstallClass.getPackagePaths): make the return
dict's values always be lists of URIs
* yuminstall.py (AnacondaYum.doConfigSetup): make conf.reposdir a list
like in yum
* scripts/mk-images: make sure the MBD_FSIMAGE dir doesn't pre-exist
|
|
|
|
|
|
|
|
|
| |
* livecd.py (LiveCDImageMethod.postAction): Unmount filesystems
in the live case before continuing on.
* installclass.py (BaseInstallClass.postAction): Call the method
postAction
* installmethod.py (InstallMethod.postAction): Add a method to be
called in post action for unmounting things in the live case
|
|
|
|
|
| |
* anaconda (getInstClass): Don't duplicate code (Elliot Peele)
* installclass.py (getBaseInstallClass): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* backend.py (AnacondaBackend.initLog): Don't open the install log
twice (Elliot Peele)
* installclass.py (availableClasses): Log a warning when there's
an error loading an installclass; raise it in debug mode (Elliot Peele)
* exception.py: rpm import not used (Elliot Peele)
|