| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a cleanup for the po files. xgettext displays the following
messages for some Python files:
warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
This patch modifies the reported format strings to use named parameters
per the warning message. We were already using these style format
strings in users.py and possibly other files. Basically when there is
more than one parameter in the format string, we should use a hash table
with named parameters.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use True/False over 1/0. It's the future.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If you have a split media set for an Everything install, you end up with a
whole bunch of CDs that could be required. This could make the dialog scroll
off the bottom of the screen.
|
| |
|
|
|
|
| |
Reference install.img in anaconda rather than stage2.img.
|
| |
|
| |
|
|
|
|
|
| |
This has the side effect of making it possible to switch from a URL
installation repo to a CD and back during stage2.
|
| |
|
| |
|
| |
|
|
|
|
| |
* po/sk.po: Typo fix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Anyway, right now the .discinfo file that is on the DVD has "ALL" in it.
This just comes from the normal tree. When anaconda is looking for info
about the iso images or discs it gets it looks at the .discinfo file to
see what number it is. We used to munge the DVD and put in
1,2,3,4,etc.. for how many discs there are. This kind of sucks, 1)
munging files blows. 2) requires you to know ahead of DVD creation time
how many split isos it would equal. Pungi code got rearranged to where
2 isn't a trivial fix right now, and I realized that we could probably
just fake anaconda into thinking that "ALL" == 1, as it's essentially
the first of a single DVD sized iso set.
|
|
|
|
|
|
|
| |
Sometimes, we can have a device without the leading /dev (method= or stage2=
for compatibility) and doing strrchr breaks on cciss too. So just pass whatever
we got to the second stage and deal with it where we can at least use
python string handling
|
| |
|
| |
|
|
|
|
| |
Patch from Jesse Keating <jkeating@redhat.com>
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Rework image.py into a support file with no InstallMethod subclasses in it.
Move the media switching code into a yum callback and make sure our base
repos have the correct attribute set to trigger using this callback. Be more
careful to only attempt ejecting a CD when we're using a method that has a
CD device.
|
| |
|
|
|
|
|
|
| |
None of the following functions were even being called, so they can be
removed easily: getFilename, copyFileToTemp, urlretrieve, systemUnmounted,
getTempPath, and FileCopyException. Now only the hard parts are left.
|
|
|
|
| |
* image.py (CdromInstallMethod.filesDone): Copy media.repo if it exists
|
| |
|
|
|
|
|
|
|
|
|
| |
* yuminstall.py (AnacondaYum._handleFailure): Don't use a method
specific string that's 99% the same. Instead, just make the
string work for everything.
* installmethod.py (InstallMethod.badPackageError): Remove
* image.py (badPackageError): Likewise.
* urlinstall.py (badPackageError): Likewise.
|
|
|
|
|
|
|
|
| |
* yuminstall.py (AnacondaCallback): Remove without using the
installmethod's unlinkFilename
* image.py (unlinkFilename): Remove method
* installmethod.py (unlinkFilename): Remove
* urlinstall.py (unlinkFilename): Remove
|
| |
|
|
|
|
| |
out of space (#250954).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fsset.py (allocateLoopback): Use /dev/loopX instead of /tmp/loopX
* urlinstall.py (UrlInstallMethod.systemMounted): Use /dev/loop0
instead of /tmp/loop.
(UrlInstallMethod.systemUnmounted): Likewise.
* rescue.py (runRescue): Loop devices made generally now.
* harddrive.py (HardDriveInstallMethod.mountMedia): Use /dev/loop3
instead of /tmp/loop
(HardDriveInstallMethod.umountMedia): Likewise.
* image.py (CdromInstallMethod.systemUnmounted): Use /dev/loop0
instead of /tmp/loop
(CdromInstallMethod.systemMounted): Likewise.
(NfsIsoInstallMethod.mountImage): Likewise for /dev/loop3
(NfsIsoInstallMethod.umountImage): Likewise.
(findIsoImages): Likewise for /dev/loop2.
* iutil.py (makeDriveDeviceNodes): Make loop devices.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autopart.py: Change references of "Reboot" -> "Exit installer"
to make more sense in live install case.
* exception.py: Likewise.
* fsset.py: Likewise.
* gui.py: Likewise.
* harddrive.py: Likewise.
* image.py: Likewise.
* packages.py: Likewise.
* upgrade.py: Likewise.
* urlinstall: Likewise.
* yuminstall.py: Likewise.
* livecd.py (LiveCDCopyBackend.doRepoSetup): Add mnemonics
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* urlinstall.py (UrlInstallMethod.systemMounted): Don't copy
stage2.img if we can't find it
* image.py (CdromInstallMethod.systemMounted): Likewise.
* anaconda (setupEnvironment): Make sure we have /sbin and
/usr/sbin in our path
|
|
|
|
| |
* image.py (findIsoImages): Translate the string
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
* image.py (presentRequiredMediaMessage): Don't say that cd #99 is
needed
|
| |
|
|
|
|
| |
This fixes NFS ISO installs.
|