bundles/raspberrypi: add options for camera and gpu_mem
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
f36e36d74a
commit
07dcb813f3
2 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,8 @@ max_framebuffers=2
|
|||
hdmi_drive=2
|
||||
force_turbo=1
|
||||
|
||||
gpu_mem=${node.metadata['raspberrypi'].get('gpu_mem', 128)}
|
||||
|
||||
% if node.os == 'debian':
|
||||
arm_64bit=1
|
||||
% endif
|
||||
|
@ -14,3 +16,7 @@ arm_64bit=1
|
|||
% for item in sorted(node.metadata['raspberrypi'].get('config.txt', set())):
|
||||
${item}
|
||||
% endfor
|
||||
|
||||
% if node.metadata['raspberrypi'].get('camera', False):
|
||||
start_x=1
|
||||
% endif
|
||||
|
|
|
@ -35,6 +35,9 @@ nodes['home.octoprint-vielschichtigkeit'] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
'raspberrypi': {
|
||||
'camera': True,
|
||||
},
|
||||
'vm': {
|
||||
'cpu': 4,
|
||||
'ram': 1,
|
||||
|
|
Loading…
Reference in a new issue