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
|
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
|
||||||
|
|
|
@ -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}" ]',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue