New comment by tsndqst on void-packages repository https://github.com/void-linux/void-packages/pull/33556#issuecomment-1072868753 Comment: I recall being surprised that I had to add a `linux` package too. My `rp64_post_cmd` script has some setup stuff that I got tired of running on my three rockpro64s after install. Half of is it prepping for installing kubernetes. ``` #!/bin/bash chroot $1 /bin/bash <> /etc/dhcpcd.conf echo "Set up salt" sed -i '/^#master:/s/\#//' /etc/salt/minion ln -s /etc/sv/salt-minion /etc/runit/runsvdir/current echo "Set up containerd" mkdir -p /etc/containerd containerd config default > /etc/containerd/config.toml ln -s /etc/sv/containerd /etc/runit/runsvdir/current echo "Set up containerd modules" cat < /etc/modules-load.d/containerd.conf overlay br_netfilter EOF echo "Setup required sysctl params" mkdir -p /etc/sysctl.d cat < /etc/sysctl.d/99-kubernetes-cri.conf net.bridge.bridge-nf-call-iptables = 1 net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 1 EOF echo "Create /etc/crictl.yaml" echo "runtime-endpoint: unix:///run/containerd/containerd.sock" > /etc/crictl.yaml echo CGROUP_MODE=unified >> /etc/rc.conf echo "Mount / as rshared" sed -i -e '/\//s/defaults/defaults,rshared/' /etc/fstab mkdir -p /etc/kubernetes/manifests # # Update kubelet config.yaml to use cgroupfs cgroupDriver # cat < /etc/kubernetes/kubelet-config.yaml apiVersion: kubelet.config.k8s.io/v1beta1 cgroupDriver: cgroupfs serverTLSBootstrap: true EOF sync EOT ```