bundles/raspberrypi: things have changed since buster
This commit is contained in:
parent
95bb7c52fe
commit
242279636f
3 changed files with 12 additions and 2 deletions
|
@ -12,6 +12,7 @@ gpu_mem=${node.metadata['raspberrypi'].get('gpu_mem', 128)}
|
||||||
% if node.os == 'debian':
|
% if node.os == 'debian':
|
||||||
arm_64bit=1
|
arm_64bit=1
|
||||||
% endif
|
% endif
|
||||||
|
arm_boost=1
|
||||||
|
|
||||||
% for item in sorted(node.metadata['raspberrypi'].get('config.txt', set())):
|
% for item in sorted(node.metadata['raspberrypi'].get('config.txt', set())):
|
||||||
${item}
|
${item}
|
||||||
|
|
|
@ -15,11 +15,11 @@ actions = {
|
||||||
}
|
}
|
||||||
|
|
||||||
files = {
|
files = {
|
||||||
'/boot/cmdline.txt': {
|
'/boot/firmware/cmdline.txt': {
|
||||||
'content': ' '.join(sorted(node.metadata['raspberrypi']['cmdline'])),
|
'content': ' '.join(sorted(node.metadata['raspberrypi']['cmdline'])),
|
||||||
**file_perms,
|
**file_perms,
|
||||||
},
|
},
|
||||||
'/boot/config.txt': {
|
'/boot/firmware/config.txt': {
|
||||||
'content_type': 'mako',
|
'content_type': 'mako',
|
||||||
'context': node.metadata['raspberrypi'],
|
'context': node.metadata['raspberrypi'],
|
||||||
**file_perms,
|
**file_perms,
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
defaults = {
|
defaults = {
|
||||||
'apt': {
|
'apt': {
|
||||||
|
'clean_old_kernels': False,
|
||||||
'packages': {
|
'packages': {
|
||||||
'dhcpcd5': {
|
'dhcpcd5': {
|
||||||
'installed': False,
|
'installed': False,
|
||||||
|
@ -14,6 +15,14 @@ defaults = {
|
||||||
'installed': False,
|
'installed': False,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'repos': {
|
||||||
|
'raspi': {
|
||||||
|
'install_gpg_key': False,
|
||||||
|
'items': {
|
||||||
|
'deb http://archive.raspberrypi.org/debian/ {os_release} main',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'raspberrypi': {
|
'raspberrypi': {
|
||||||
'default-target': 'multi-user.target',
|
'default-target': 'multi-user.target',
|
||||||
|
|
Loading…
Reference in a new issue