printf '%s\n' "$${RPICONFIG}" >>"$${CFGROOT}/boot/config.txt"
_raspberry_initrd: ${CFGROOT}
- printf 'nilfs2\n' >>"$${CFGROOT}/etc/initramfs-tools/modules"
- k="$$(echo "$${CFGROOT}"/lib/modules/*-v7+)"; \
+ printf '${fstype}\n' >>"$${CFGROOT}/etc/initramfs-tools/modules"
+ k="${kernel}"; \
+ [ "$$k" ] || k="$$(echo "$${CFGROOT}"/lib/modules/*-v7+)"; \
chroot $${CFGROOT} update-initramfs -c -k "$${k##*/}"; \
printf 'initramfs initrd.img-%s\n' "$${k##*/}" >>"$${CFGROOT}/boot/config.txt"
printf '%s\n' "$${hostname}" >"$${CFGROOT}/etc/hostname"
sed -Ei "s;^127\.0\.0\.1.*$$;& $${hostname};" "$${CFGROOT}/etc/hosts"
+.PHONY: _systemd_timeout
+_config: _systemd_timeout
+_systemd_timeout: ${CFGROOT}
+ mkdir -p "$${CFGROOT}/etc/systemd"
+ printf 'DefaultTimeout%sSec=%s\n' Start 10s Stop 10s >>"$${CFGROOT}/etc/systemd/system.conf"
+
ifdef wifi
_config: ${CFGROOT}/etc/network/interfaces.d/wifi
ifdef wifipass