From 1a103249d7961b5204ec1cb79b40cb7f001700be Mon Sep 17 00:00:00 2001 From: Dany LE Date: Mon, 3 Nov 2025 22:03:40 +0100 Subject: [PATCH] fix: create xdg user after format the home partition --- recipes-diya/diya-overlay/files/confd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-diya/diya-overlay/files/confd b/recipes-diya/diya-overlay/files/confd index 8d9e40c..0ab1eb4 100644 --- a/recipes-diya/diya-overlay/files/confd +++ b/recipes-diya/diya-overlay/files/confd @@ -34,6 +34,10 @@ case "$1" in mkdir -p /home/diya chown -R diya:diya /home/diya fi + if [ ! -d "/home/xdg" ]; then + mkdir -p /home/xdg + chown -R diya:diya /home/xdg + fi if ls /boot/*.nmconnection > /dev/null 2>&1 ;then mv /boot/*.nmconnection /etc/NetworkManager/system-connections/ chmod 600 /etc/NetworkManager/system-connections/*.nmconnection