summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-09 22:37:38 +0000
committerErik Troan <ewt@redhat.com>1999-08-09 22:37:38 +0000
commita5abb572a8c219811a7014a74a208bde9a90aa42 (patch)
tree000fa6608870609b73501d940deeb73fda1554b2 /anaconda
parent1d079b790ed1a66c7ae2c1dca5c655762eb4523f (diff)
downloadanaconda-a5abb572a8c219811a7014a74a208bde9a90aa42.tar.gz
anaconda-a5abb572a8c219811a7014a74a208bde9a90aa42.tar.xz
anaconda-a5abb572a8c219811a7014a74a208bde9a90aa42.zip
added --traceonly
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda9
1 files changed, 7 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 558aec099..cb2b68062 100755
--- a/anaconda
+++ b/anaconda
@@ -9,7 +9,7 @@ _ = gettext.gettext
(args, extra) = getopt.getopt(sys.argv[1:], 'p:GTtdr:f',
[ 'gui', 'text', 'test', 'debug', 'rootpath=',
- 'testpath=', 'mountfs' ])
+ 'testpath=', 'mountfs', 'traceonly' ])
# remove the arguments - gnome_init doesn't understand them
for arg in sys.argv[1:]:
@@ -23,6 +23,7 @@ rootPath = '/mnt/sysimage'
localInstall = 0
forceMount = 0
mode = 'g'
+traceOnly = 0
for n in args:
(str, arg) = n
@@ -41,6 +42,8 @@ for n in args:
imagepath = arg
elif (str == '--mountfs'):
forceMount = 1
+ elif (str == '--traceonly'):
+ forceMount = 1
if (debug):
import pdb
@@ -51,7 +54,6 @@ if (not test and not localInstall and os.getpid() > 50):
sys.exit(1)
if (os.path.exists('rpmmodule')):
- sys.path.append('balkan')
sys.path.append('rpmmodule')
sys.path.append('isys')
sys.path.append('libfdisk')
@@ -217,6 +219,9 @@ if test:
if forceMount:
setupFilesystems = 1
+if traceonly:
+ sys.exit(0)
+
try:
todo = ToDo(intf, method, rootPath, installSystem = installPackages,
setupFilesystems = setupFilesystems)