| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Initial support for upgrades again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* installclasses/fedora.py (InstallClass.setGroupSelection): Get
default groups from the backend
* backend.py (AnacondaBackend.getDefaultGroups): Support for
getting default groups
* iw/GroupSelector.py: Guts of new group/package selection code.
Eventually will live in son of s-c-packages.
* ui/GroupSelector.glade: glade file for new group selection code
* iw/package_gui.py: Basic shell for GroupSelector use in anaconda
* yuminstall.py: Update for yum 2.5 API changes. Note that we now
*require* yum-2.5.0-0.20051207 or newer
(isPackageInstalled): Add method to see if package is installed
for group selection.
(_catchallCategory): Add method to take uncategorized groups and
stick them somewhere
(getDefaultGroups): Backend method for finding the default
selected groups based on what comps says
* gui.py (stepToClass): Move to new group selection code.
|
| |
|