Message ID | 8442f4a07a1f382dea9930aaf2045ff40ed2ca57.1650887383.git.jan.kiszka@siemens.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | Fix read-only rootfs setup /wrt etc overlay - and more | expand |
diff --git a/recipes-core/customizations/files/postinst b/recipes-core/customizations/files/postinst index 9b553da..6ca309a 100644 --- a/recipes-core/customizations/files/postinst +++ b/recipes-core/customizations/files/postinst @@ -17,3 +17,7 @@ echo "PermitRootLogin yes" >> /etc/ssh/sshd_config HOSTNAME=demo echo "$HOSTNAME" > /etc/hostname echo "127.0.0.1 $HOSTNAME" >> /etc/hosts + +# needed for read-only rootfs with writable /home +mv /root /home/ +ln -s /home/root /root