keyboard-configuration keyboard-configuration/variant select English (US) - English (Macintosh)
endef
+ifndef rpivmem
+ rpivmem := 128
+endif
+
define RPICONFIG :=
${RPICONFIG}
-dtoverlay=vc4-fkms-v3d,cma-256
+dtoverlay=vc4-fkms-v3d,cma-${rpivmem}
endef
.PHONY: _debconf_selections _raspberry_config _keyboard
_raspberry_initrd: ${CFGROOT}
printf '${fstype}\n' >>"$${CFGROOT}/etc/initramfs-tools/modules"
- k="${kernel}"; \
- [ "$$k" ] || k="$$(echo "$${CFGROOT}"/lib/modules/*-v7+)"; \
+ k="$$(printf '%s\n' "$${CFGROOT}"/lib/modules/* |sed 's;^.*/;;; /-/d')"; \
+ [ "${kernel}" ] && k="${kernel}"; \
chroot $${CFGROOT} update-initramfs -c -k "$${k##*/}"; \
printf 'initramfs initrd.img-%s\n' "$${k##*/}" >>"$${CFGROOT}/boot/config.txt"