summaryrefslogtreecommitdiffstats
path: root/iutil.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't do the "exec shell on tty1" thing in vnc if we've got virtual terminals.Peter Jones2008-06-051-0/+6
|
* Can't reference iutil.whatever from inside iutil.py.Chris Lumens2008-06-041-9/+9
|
* Fix a couple typos in the getArch commit.Chris Lumens2008-06-041-1/+1
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-15/+108
| | | | * po/sk.po: Typo fix.
* Use the execWithCapture wrapper to be consistent.Joel Andres Granados2008-04-241-3/+1
|
* Lookinig for the capabilities file in xen is valid in more cases.Joel Andres Granados2008-04-231-1/+1
| | | | Thx to msivak for pointing this out. (#441729)
* Avoid putting virtualization option when in Xen or VMware. (#443373)Joel Andres Granados2008-04-231-0/+17
|
* Don't traceback if stdout is an fd eitherJeremy Katz2008-03-311-2/+3
|
* iutil doesn't need isys anymoreJeremy Katz2008-03-311-1/+1
|
* Make sure there's a stdout to write to.Chris Lumens2008-03-281-1/+3
|
* Make sure we give the command that's run on stdout so that it's loggedJeremy Katz2008-03-271-0/+2
|
* Rework isEfi() to be slightly more conservative.Peter Jones2008-03-041-5/+5
|
* Don't write out /etc/rpm/platform anymore.Jeremy Katz2008-02-281-3/+3
| | | | | | We used to need this for platforms like iSeries and pSeries to avoid crazy asm in rpm. These platforms all use the standard kernel now and so we _shouldn't_ need to know the variation. Let's see what happens
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | 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.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-7/+14
| | | | | | 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.
* Get out of the business of creating device nodes.Bill Nottingham2007-12-071-84/+0
|
* Remove final traces of /tmp/ramfs usageJeremy Katz2007-12-061-3/+0
| | | | | We used to need /tmp/ramfs since /tmp was from an initrd and thus had limited writable space. With initramfs, everything is already ramfs
* set stdin for pulse progress if neededJeremy Katz2007-11-291-0/+2
|
* add iutil.execWithPulseProgress to do a pulsing progress barJeremy Katz2007-11-291-0/+60
| | | | | this is helpful for operations like filesystem checking and resizing when we don't have a good way to do a nice bounded progress bar
* Inform user about the arch mismatch and offer to upgrade rpm platformmsivak2007-10-261-1/+1
| | | | | | | | | | | | | | | | | | 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)
* * iutil.py (makeDriveDeviceNodes): create all variations of tape drivedlehman2007-09-171-1/+5
| | | | | | | | device nodes * isys/devnodes.c (devMakeInode): support creation of the various 2.6 tape device nodes * isys/isys.py (driveDict): find the devices associated with tape drives since kudzu is unable to do so (#218816)
* * iutil.py (makeDriveDeviceNodes): Fix number of created scsimsivak2007-08-171-1/+1
| | | | | | | | | partition device files (#241439). * fsset.py (DevDevice.setupDevice): Better error reporting and when using DevDevice class, check for existence of device file. * rescue.py (runRescue): Better error reporting.
* Add API documentation to a couple files as examples.Chris Lumens2007-07-271-33/+72
|
* 2007-07-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* - fix error reporting in execWithRedirectPeter Jones2007-07-251-2/+3
|
* - add support for x86 machines with efiPeter Jones2007-07-181-0/+14
| | | | - add support for gpt on x86
* * urlinstall.py (UrlInstallMethod.filesDone): don't log errors whendlehman2007-07-111-0/+4
| | | | | | | | | | | | | | unmounting /mnt/source since it wasn't necessarily supposed to be mounted in the first place (#223059) * gui.py (InstallKeyWindow): handle F12 shortcut key (#210673) * iutil.py (makeDriveDeviceNodes): create device nodes for tape drives (#218816) * isys/isys.py (tapeDriveList): new function to list tape drives * isys/isys.py (driveDict): probe for tape drives, too
* Set preferred color on upgrades (#235757)Paul Nasrat2007-05-141-2/+15
|
* Log the failing command as well as raising an exception, as some callers justChris Lumens2007-05-011-0/+2
| | | | throw away the exception.
* Set preferred color (#235757)Paul Nasrat2007-05-011-0/+3
|
* Add support for spufs (#237725)Paul Nasrat2007-04-251-0/+20
|
* Make sure kickstart scripts execute with the correct cwd (#237317).Chris Lumens2007-04-231-3/+3
|
* - explicitly make argv a list in execWith{Capture,Redirect}Peter Jones2007-01-151-0/+2
|
* - Don't log an error just because we're making a directory that already exists.Peter Jones2007-01-041-1/+7
|
* Don't use all the complication of execWithRedirect so shells end up whereChris Lumens2006-12-151-4/+5
| | | | they're supposed to be (#210481, #216155).
* Fix traceback (#211830)Paul Nasrat2006-10-231-2/+2
|
* Here's a better fix.Chris Lumens2006-10-191-0/+6
|
* Tweak min/max swap numbers for the low memory case (#189490).Chris Lumens2006-10-121-3/+3
|
* 2006-09-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-211-2/+2
| | | | * iutil.py (writeRpmPlatform): Fix flags (#207594)
* 2006-09-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-201-2/+2
| | | | | | | * anaconda (Anaconda.setMethod): Allow passing --targetarch (#206881) * flags.py (Flags.__init__): Set targetarch as a flag * iutil.py (writeRpmPlatform): Use flag
* 2006-08-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-231-7/+6
| | | | | * iutil.py (cpuFeatureFlags): Add a method to get cpu feature flags, remove no longer used hasNX
* - don't call isys.flushDriveDict() from makeDriveDeviceNodes(), as itPeter Jones2006-08-181-2/+0
| | | | screws up dm devices in our cache
* Flush the drive cache so we don't mistake hard drives for CD/DVD drives.Chris Lumens2006-08-171-0/+2
|
* Capture stderr output too (useful for logging VNC error messages).Chris Lumens2006-08-111-1/+2
|
* 2006-07-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-241-8/+16
| | | | | * iutil.py (isMactel): Make this persist so we don't run dmidecode a bazillion times
* Check that any file given for stdin is available before trying to read from it.Chris Lumens2006-07-211-2/+8
| | | | Otherwise, use the regular stdin instead.
* Move path check into preexec_fn so absolute symlinks to things that don't existChris Lumens2006-07-171-2/+2
| | | | in the stage2 image work.
* 2006-07-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-131-1/+1
| | | | * iutil.py: Remove unused import.
* Removed getArch. Now to find some more stuff to deprecate.Chris Lumens2006-07-121-6/+1
|
* Removed iutil.copyFile.Chris Lumens2006-07-121-5/+0
|