diff options
author | Erik Troan <ewt@redhat.com> | 1999-08-09 22:37:38 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-08-09 22:37:38 +0000 |
commit | a5abb572a8c219811a7014a74a208bde9a90aa42 (patch) | |
tree | 000fa6608870609b73501d940deeb73fda1554b2 /anaconda | |
parent | 1d079b790ed1a66c7ae2c1dca5c655762eb4523f (diff) | |
download | anaconda-a5abb572a8c219811a7014a74a208bde9a90aa42.tar.gz anaconda-a5abb572a8c219811a7014a74a208bde9a90aa42.tar.xz anaconda-a5abb572a8c219811a7014a74a208bde9a90aa42.zip |
added --traceonly
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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) |