summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/kickstart.py b/kickstart.py
index 46c748234..d13e47d16 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -6,6 +6,7 @@ from partitioning import *
from autopart import *
from fsset import *
from flags import flags
+from constants import *
import sys
import raid
import string
@@ -525,6 +526,12 @@ class KickstartBase(BaseInstallClass):
scriptInterp = arg
elif args and args[0] == "%packages":
+ if len(args) > 1:
+ if args[1] == "--resolvedeps":
+ id.handleDeps = RESOLVE_DEPS
+ elif args[1] == "--ignoredeps":
+ id.handleDeps = IGNORE_DEPS
+
if where =="pre" or where == "post":
s = Script(script, scriptInterp, scriptChroot)
if where == "pre":