bundles/raspberrypi: improvements

This commit is contained in:
Franzi 2020-09-27 17:18:05 +02:00
parent 81db0e6e44
commit 675f8beea9
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 3 additions and 3 deletions

View file

@ -9,6 +9,6 @@ max_framebuffers=2
arm_64bit=1 arm_64bit=1
% endif % endif
% for key, value in node.metadata['raspberrypi']['config.txt'].items(): % for item in sorted(node.metadata['raspberrypi']['config.txt']):
${key}=${value} ${item}
% endfor % endfor

View file

@ -10,7 +10,7 @@ file_perms = {
actions = { actions = {
'raspberrypi_assure_target': { 'raspberrypi_assure_target': {
'command': f'systemctl set-default {default_target}', 'command': f'systemctl set-default {default_target}',
'unless': f'[ $(systemctl get-default) = "{default_target}" ]', 'unless': f'[ "$(systemctl get-default)" = "{default_target}" ]',
}, },
} }