summaryrefslogtreecommitdiffstats
path: root/iutil.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use subprocess instead of our own code. Fix all calls to execWith* soChris Lumens2006-07-121-128/+38
| | | | | the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
* - don't error if dm control node is already presentPeter Jones2006-06-161-1/+4
|
* 2006-06-09 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-091-0/+12
| | | | * iutil.py (isMactel): Add a way to check if a box is a mactel
* Get ready for a surprise...David Cantrell2006-03-241-6/+6
| | | | not really. It's just iutil.getArch() -> rhpl.getArch() updates.
* * iutil.py: Change isys.mknod to os.mknod. Change isys.makedev toDavid Cantrell2006-03-241-3/+3
| | | | os.makedev.
* Create a dictionary in flags.py for storing /proc/cmdline. Nuke allChris Lumens2006-03-221-7/+2
| | | | references to /proc/cmdline from everywhere else in favor of this dict.
* Rip out the guts of iutil. Die die die.Chris Lumens2006-03-211-188/+17
|
* - fix partition naming for dm devicesPeter Jones2006-02-061-0/+2
|
* 2005-12-20 Bill Nottingham <notting@redhat.com>Bill Nottingham2005-12-201-0/+4
| | | | * iutil.py (getPPCMachine): Be silent on non-ppc arches.
* Wrap the rhpl functions instead of copying.Chris Lumens2005-12-151-59/+7
|
* * iutil.py (execWithRedirect): Not the right place to write outDavid Cantrell2005-12-141-6/+0
| | | | the vnc shell pid.
* * anaconda: Record the PID of the forked process that handlesDavid Cantrell2005-12-131-1/+7
| | | | | | | | | | | | | | spawning the shell when you are using the VNC mode. * iutil.py (execWithRedirect): If we see /tmp/vncshell.pid, record the PID of whatever we just spawned. * exception.py (handleException): If we see /tmp/vncshell.pid, open it and kill everything listed. Attempt to reclaim std IO. Drop to pdb after we have made sure the shell and spawning loop are dead. Generic comment: Statements like "if not child:" are misleading because that test would be true if it actually was the child. I have changed a few to "if child == 0:" to make it more readable.
* 2005-11-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-11-151-0/+21
| | | | | | | * yuminstall.py (YumBackend.getBestKernelByArch): Install smp kernel if NX is present (#172345) * iutil.py (hasNX): Add a method to find out if we have NX
* Make /dev/input/event* device nodes needed for some laptop mice.Chris Lumens2005-10-141-0/+4
|
* Add support for Pegasos machine (dwmw2, #166013).Chris Lumens2005-08-161-0/+1
|
* Use new logging system.Chris Lumens2005-08-121-10/+12
|
* 2005-04-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-271-1/+4
| | | | | | | | * iutil.py (writeRpmPlatform): patch from Joe Pruett to improve rpmarch= support (#101971) * iw/ipwidget.py (IPEditor.dehydrate): Make sure people get decimal IP addrs. (#122038)
* remove Size changes until I'm ready to commit them to more of the treePeter Jones2005-03-141-24/+27
|
* fix the typo I just checked in. swapAmount() has been tested since then ;)Peter Jones2005-03-091-1/+1
|