define systemd.log_target=console when used with systemd-debug
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 7 Jul 2016 12:59:37 +0000 (14:59 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 7 Jul 2016 12:59:37 +0000 (14:59 +0200)
PLC/Methods/GetBootMedium.py

index ebfaebf..368ae1e 100644 (file)
@@ -452,6 +452,7 @@ class GetBootMedium(Method):
                         build_sh_spec['kargs'].append('hcheck_reboot0')
                     elif tag['tagname'] == 'systemd-debug':
                         build_sh_spec['kargs'].append('systemd.log_level=debug')
+                        build_sh_spec['kargs'].append('systemd.log_target=console')
             # then options can override tags
             for option in options:
                 if option == "cramfs":