modules/stage4_target.py: Allow stage4/users stage4-users
authorW. Trevor King <wking@tremily.us>
Fri, 1 Feb 2013 11:53:34 +0000 (06:53 -0500)
committerW. Trevor King <wking@tremily.us>
Fri, 1 Feb 2013 11:53:34 +0000 (06:53 -0500)
catalyst-spec(5) claims that stage4 supports the <target>/users
option, but it seems that the stage4_target module was not informed of
this ;).  The actual user addition happens in livecdfs-update.sh,
which is called by stage4-controller.sh.

modules/stage4_target.py

index ce41b2dacb5c15ecc6b0c995c4915f517745a161..2e7d52c6630c96d5d413909cb2035279dd020711 100644 (file)
@@ -17,7 +17,9 @@ class stage4_target(generic_stage_target):
                                "stage4/root_overlay","stage4/fsscript",\
                                "stage4/gk_mainargs","splash_theme",\
                                "portage_overlay","stage4/rcadd","stage4/rcdel",\
-                               "stage4/linuxrc","stage4/unmerge","stage4/rm","stage4/empty"])
+                               "stage4/linuxrc","stage4/unmerge","stage4/rm","stage4/empty",
+                               "stage4/users",
+                               ])
                generic_stage_target.__init__(self,spec,addlargs)
 
        def set_cleanables(self):