bundles/raspberrypi: improvements
This commit is contained in:
parent
81db0e6e44
commit
675f8beea9
2 changed files with 3 additions and 3 deletions
|
@ -9,6 +9,6 @@ max_framebuffers=2
|
|||
arm_64bit=1
|
||||
% endif
|
||||
|
||||
% for key, value in node.metadata['raspberrypi']['config.txt'].items():
|
||||
${key}=${value}
|
||||
% for item in sorted(node.metadata['raspberrypi']['config.txt']):
|
||||
${item}
|
||||
% endfor
|
||||
|
|
|
@ -10,7 +10,7 @@ file_perms = {
|
|||
actions = {
|
||||
'raspberrypi_assure_target': {
|
||||
'command': f'systemctl set-default {default_target}',
|
||||
'unless': f'[ $(systemctl get-default) = "{default_target}" ]',
|
||||
'unless': f'[ "$(systemctl get-default)" = "{default_target}" ]',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue