diff options
author | Martin Sivak <msivak@redhat.com> | 2013-03-26 15:40:58 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2013-03-26 15:40:58 +0100 |
commit | 723500bd942bd4f98df752a507ab494f6fb97faf (patch) | |
tree | 9043267c648f52c098bf0832a89aa2315ee1dd93 | |
parent | 386836d7f49c6f0adc6a917b4ae1008d012ea4d2 (diff) | |
download | firstboot2-723500bd942bd4f98df752a507ab494f6fb97faf.tar.gz firstboot2-723500bd942bd4f98df752a507ab494f6fb97faf.tar.xz firstboot2-723500bd942bd4f98df752a507ab494f6fb97faf.zip |
Modify the ROOT_PATH properly
-rw-r--r-- | initial_setup/__main__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/initial_setup/__main__.py b/initial_setup/__main__.py index c2ea58d..d240758 100644 --- a/initial_setup/__main__.py +++ b/initial_setup/__main__.py @@ -17,8 +17,11 @@ if mode == "gui": # set the root path to / so the imported spokes # know where to apply their changes -from pyanaconda.constants import ROOT_PATH -ROOT_PATH = "/" +from pyanaconda import constants + +# this has to stay in the form constants.ROOT_PATH so it modifies +# the scalar in anaconda, not the local copy here +constants.ROOT_PATH = "/" from pyanaconda.addons import collect_addon_paths |