| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces the iscsi.py code with new code using libiscsi, getting
rid of the awefull configfile mangling to set auth info hack, and in general
making it much cleaner.
Fixes:
-Report error when we cannot add a disk instead of silently failing (461830)
-Report error when trying to use iscsi from kickstart without having an
iscsiname directive first (463156)
-Better feedback while scanning iscsi disks
-Make ibft work with chap and 2-way chap
-Make ibft configured disks available for upgrades and in rescue mode
-Make ibft boot work even when iscsi-initiator-utils is installed after the
kernel in the transaction
Note:
libiscsi is available in Fedora now
|
|
|
|
|
|
|
| |
Add a basic way to query a backend for how much space is needed on a
per-partition basis. This isn't always able to be known and if it's
unknown, then you'll get back 0. Add the implementation for / on
livecd
|
|
|
|
|
| |
Add a basic reset method to reset the set of installed packages to be
nothing. This is one part of fixing #457583
|
| |
|
|
|
|
|
|
|
|
| |
This fixes a bug where yum wants all the repos set up before it does sack
setup that only appears with the blacklist/whiteout plugins enabled. It
also brings us more in line with how yum really works - where the two are
completely separate steps. backend.doRepoSetup has also been renamed to
backend.doBackendSetup to sound a little less yum-specific.
|
|
|
|
|
|
| |
The only reason we copy the install.img over to the hard drive is because we
need to free up the CD/DVD device for switching media. If we don't need to
do that, then there's no reason to do the copy.
|
| |
|
| |
|
|
|
|
|
| |
will always result in a harder to diagnose error later. So raise the exception
here.
|
|
|
|
| |
* po/sk.po: Typo fix.
|
| |
|
| |
|
|
|
|
|
| |
Move backend specific bits of method complete into a backend.complete() method
to avoid tracebacks with installs on other backends
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug #217132
2007-10-26 Martin Sivak <msivak@redhat.com>
* backend.py (doRepoSetup): Update the platform file if necessary
* dispatch.py: Add new step for detecting platform upgrade
* flags.py (Flags): Add flag for controlling the rpm platform update
* iutil.py (writeRpmPlatform): Now controlled by the updateRpmPlatform
flag
* upgrade.py: Add isUpgradingArch, queryUpgradeArch and add the
upgradearchitecture step (#217132)
|
| |
|
|
|
|
| |
instead of creating a new one.
|
|
|
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend.kernelVersionList): Check the rpmdb
of the installed root (based on feedback from Jerry Vonau)
* backend.py (AnacondaBackend.kernelVersionList): Take the
rootPath as an argument
* yuminstall.py (YumBackend.kernelVersionList): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
From Jane Dogalt <jdogalt AT yahoo DOT com>
* fsset.py: Add case for skipping formatting the rootfs dependent
on backend so that we don't format the rootfs for live images. A
little bit of a hack, but good enough for now
* backend.py: Add skipFormatRoot attribute, defaults to False
* livecd.py: Add skipFormatRoot attribute = True
* packages.py: Pass skipFormatRoot
|
|
|
|
| |
enabled add-on repositories (#206152).
|
|
|
|
|
|
| |
installation method and removes the old way completely. Now, drivers will
be tracked on the running system by installing a package. We can also copy
firmware over to the installed system as well.
|
| |
|
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend.doRepoSetup): Check that we have
sufficient disk space for the os.img. (#230943)
* backend.py (doRepoSetup): If repo setup fails, go back.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
| |
* backend.py (AnacondaBackend.copyDriverDiskModules): Move to here so
that it can be used generically or overridden per-backend
(AnacondaBackend.doPostInstall): And call it.
* yuminstall.py (YumBackend.doPostInstall): Remove specific module
copy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* syslogd.py (InstSyslog.start): Ensure that we have a syslogd or
don't try to start. Otherwise, we end up hanging things
* yuminstall.py (YumBackend.__init__): yum installs can do package
selection
* livecd.py: Add live CD image copy backend and install method.
* installclasses/fedora.py: Handle installclass API changes; allow
livecd method
* installclass.py (BaseInstallClass.setSteps): Take anaconda
instead of dispatch as an argument; use so that the backend
upgrade allowing + package selection can work
(BaseInstallClass.setDefaultPartitioning): Make it easier to
default to no-LVM
* kickstart.py (Kickstart.setSteps): Tweak for calling change
* upgradeclass.py (InstallClass.setSteps): Likewise.
* installclasses/rhel.py (InstallClass.setSteps): Likewise.
* anaconda: Pass anaconda to instClass.setSteps; don't depend on
the existence of /mnt/runtime/... with x_already_set
* backend.py (AnacondaBackend.__init__): Let the backend define
whether or not upgrades are supported
(AnacondaBackend.doPreInstall): postInstall kills the log, start
it in the pre
(AnacondaBackend.initLog): Ensure the dir we want to use exists
(writeConfiguration): Write instdata before backend bits
|
|
|
|
|
|
|
|
| |
From Elliot Peele <elliot@rpath.com>
* backend.py (AnacondaBackend.getRequiredMedia): Abstract into the
backend
* yuminstall.py (YumBackend.getRequiredMedia): Add implementation
* image.py (presentRequiredMediaMessage): Use the backend method
|
|
|
|
| |
we can display them (#212511)
|
|
|
|
|
| |
* backend.py (AnacondaBackend.doInitialSetup): Add missing self
(from Elliot Peele <elliot@rpath.com>)
|
| |
|
|
|
|
|
| |
same sort of stuff anyway. Don't run libuser.admin until after /etc/shadow
has been created in the install root so root's password gets set.
|
| |
|
|
|
|
| |
kickstart.
|
| |
|
|
|
|
|
|
| |
* backend.py (doPostSelection): Pass direction
* dispatch.py (installSteps): Likewise.
* yuminstall.py (doPostSelection): Likewise.
|
|
|
|
| |
(#183878).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* backend.py (writeConfiguration): Include writing out instdata so
that things like root password, etc all work again (#180310)
* dispatch.py (installSteps): Pass id and instPath to writeconfig again
|
|
|
|
|
|
| |
* yuminstall.py (YumBackend.getDefaultGroups): Select lang groups
by default too (#178673). Fix a typo.
* backend.py (writeConfiguration): And another typo.
|
| |
|