summaryrefslogtreecommitdiffstats
path: root/rescue.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix bringing up the network in rescue mode (#466523).Chris Lumens2008-10-101-44/+12
|
* Log error in rescue mode is network.bringUp() fails.David Cantrell2008-09-241-1/+2
| | | | For now just log a message if bringUp() fails.
* Fix problems with bringDeviceUp() calls (#463512)David Cantrell2008-09-241-9/+1
| | | | | | | Changed bringDeviceUp() in network.py to bringUp() since it really just writes out all new network configuration information and lets NetworkManager take over from there. Correct the calls to this method so we don't get tracebacks anymore.
* Call network.bringDeviceUp() instead of old isys functions.David Cantrell2008-09-151-33/+2
| | | | | Both isys.dhcpNetDevice() and isys.configNetDevice() have been replaced with network.bringDeviceUp().
* Fix a traceback when starting a shell in rescue mode (#462148).Chris Lumens2008-09-151-2/+2
|
* Use print() as a function.Peter Jones2008-09-081-3/+3
|
* Handle 'rescue' and %post in rescue modeAlexander Todorov2008-08-111-52/+83
| | | | All changes to handle the new rescue command and %post scripts when in rescue mode.
* A text message in rescue.py is not gettext-izedAlexander Todorov2008-07-231-1/+1
|
* Import missing module "network".Peter Jones2008-07-071-0/+1
|
* Rescue mode no longer needs access to a methodstr (#453044).Chris Lumens2008-06-271-10/+1
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-1/+3
| | | | * po/sk.po: Typo fix.
* Support stage2= for NFS installs.Chris Lumens2008-03-041-1/+1
|
* Do the man pages in rescue mode the right way.Joel Andres Granados2008-02-121-3/+0
|
* Add UI for passphrase prompting to rescue mode.David Lehman2008-02-051-1/+7
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-2/+2
| | | | | | | 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-8/+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.
* Begin removing references to anaconda.method and anaconda.methodstr.Chris Lumens2007-12-051-1/+0
| | | | | | 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.
* Lots of minor pychecker error fixes. Some of these are even real problems.Chris Lumens2007-09-191-0/+1
|
* Remove unused imports. Yes I know this is stupid nitpicky crap, but I likeChris Lumens2007-09-191-2/+0
| | | | it.
* resque.py: Make man pages work when chrooting to /mnt/sysimage.jgranado2007-08-281-2/+2
|
* * 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.
* 2007-07-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-251-5/+0
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* * rescue.py (runShell): mount /dev/pts in rescue mode (#228714)dlehman2007-05-311-0/+3
| | | | | | | * scripts/upd-instroot: include dmidecode on ia64 (#232947) * loader2/modules.c (scsiDiskCount): correctly count SCSI disk devices (#230526)
* 2007-04-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-301-9/+27
| | | | | * rescue.py (RescueInterface.messageWindow): Add support for custom_buttons (#238261)
* * rescue.py (startNetworking): Call the right functions to bring upDavid Cantrell2007-04-271-11/+7
| | | | | | | | | | | | | networking in rescue mode when booting from CD or DVD (#238080) * isys/isys.py: Remove pumpNetDevice, replace with dhcpNetDevice that can handle IPv4 and IPv6 (#238080). * isys/isys.c (doDhcpNetDevice): Handle IPv4 and IPv6 stacks (#238080). * isys/isys.c (doConfigNetDevice): Likewise. * loader2/net.c (setupNetworkDeviceConfig): The netmask will never be an IPv6 address.
* Knife goes in, guts come out. HATE INCONSISTENT USE OF TABS.David Cantrell2007-04-261-198/+192
|
* 2007-01-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-241-1/+2
| | | | | * rescue.py (runRescue): Fix fsystem mounting * anaconda: Pass instClass
* 2007-01-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-231-1/+0
| | | | * rescue.py (runRescue): We don't really use the method for rescue
* Make device nodes in anaconda instead of in runRescue so cachedDrives isn'tChris Lumens2006-12-141-4/+0
| | | | empty.
* Here's a better fix.Chris Lumens2006-10-191-5/+1
|
* Don't specify a stdout or stderr for shells on s390 (#210481).Chris Lumens2006-10-191-1/+5
|
* 2006-09-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-151-4/+6
| | | | * rescue.py (runRescue): Fix rescue mode for the early shell case
* - make /mnt/runtime symlink for mke2fs.conf where appropriatePeter Jones2006-08-211-1/+1
|
* That's what I meant.Chris Lumens2006-08-041-1/+1
|
* Look for ifconfig in the right place (#201372).Chris Lumens2006-08-041-1/+1
|
* 2006-07-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-261-1/+1
| | | | | | | * rescue.py (runRescue): Don't show onboot for rescue (#200237) * textw/network_text.py (NetworkGlobalWindow.__call__): Take (unused and optional) showonboot parameter
* Use subprocess instead of our own code. Fix all calls to execWith* soChris Lumens2006-07-121-1/+1
| | | | | the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
* See ChangeLog.David Cantrell2006-07-071-1/+1
|
* PSU, PSU wherefore art though...Paul Nasrat2006-07-071-6/+1
| | | | | | | rescue.py (runRescue): Move label reading to partedUtils.py. partedUtils.py (DiskSet.findExistingRootPartitions): Look up filesystem labels as we find root partitions, as we won't have LVM active if we wait until later (#196345).
* Display fs labels next to rescue choices (#196345).Chris Lumens2006-06-261-1/+9
|
* Fix rescue mode by using text install's runShell code instead. TestedChris Lumens2006-06-161-27/+23
| | | | #182222 as well, so everything should work as it's supposed to.
* Fix the first part of rescue mode brokenness.Chris Lumens2006-06-011-0/+1
|
* Don't try to mount protected partitions again, as this will cause an errorChris Lumens2006-05-261-2/+1
| | | | since they are already mounted as the installation source.
* Change findExistingRoots to use the anaconda class, which required aChris Lumens2006-05-171-28/+24
| | | | | | | | | | | bunch of changes elsewhere in upgrade.py to also use anaconda. This required fixing up rescue mode (which was broken anyway) in the same way, which then required the same sort of stuff done in anaconda. Oh, and all that was so we could disable a meaningless error message on searching for existing installations on hard drive installs/upgrades. I forgot what I was really working on.
* ChangeLogPaul Nasrat2006-03-141-0/+2
|
* * rescue.py: Added runShell() to handle spawning the tty1 shell forDavid Cantrell2006-03-031-4/+14
| | | | | | | rescue mode and set the controlling tty (#182222). * loader2/init.c: Do not disable Ctrl+C, Ctrl+Z, and friends if we're starting in rescue mode. Set controlling tty before dup2() calls.
* 2006-02-22 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-02-221-1/+9
| | | | * rescue.py (runRescue): Mount /selinux in the chroot
* Make /dev/input/event* device nodes needed for some laptop mice.Chris Lumens2005-10-141-0/+1
|
* Use new logging system.Chris Lumens2005-08-121-7/+9
|
* 2005-04-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-121-2/+2
| | | | * rescue.py (runRescue): Fix rescue mode network enabling (#153961)