From f83787bac4a775f4b49f71ccb32d774ea1622a70 Mon Sep 17 00:00:00 2001 From: Mingyang Li Date: Sat, 30 May 2026 09:36:52 -0700 Subject: [PATCH] fix: UID reference in `override.sh`. `sudo -u#1000` requires UID 1000 to exist in passwd, but the build container only has `root`. Fixed by replacing those two `sudo -u#1000 -g#1000 mkdir -p` calls with `install -d -o 1000 -g 1000 -m 0755` in override.sh. --- os-brainux/override.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-brainux/override.sh b/os-brainux/override.sh index e28c617..9efb4d2 100755 --- a/os-brainux/override.sh +++ b/os-brainux/override.sh @@ -14,8 +14,8 @@ install -g root -o root -m 0644 $SRC/etc/X11/Xsession.d/96calibrate $DST/etc/X11 install -g root -o root -m 0644 -D $SRC/etc/xdg/weston/weston.ini $DST/etc/xdg/weston/weston.ini install -g 1000 -o 1000 -m 0644 $SRC/home/user/.xprofile $DST/home/user/.xprofile -sudo -u#1000 -g#1000 mkdir -p $DST/home/user/.config/fcitx +install -d -o 1000 -g 1000 -m 0755 $DST/home/user/.config/fcitx install -g 1000 -o 1000 -m 0644 $SRC/home/user/.config/fcitx/profile $DST/home/user/.config/fcitx/profile -sudo -u#1000 -g#1000 mkdir -p $DST/home/user/lxterminal +install -d -o 1000 -g 1000 -m 0755 $DST/home/user/lxterminal install -g 1000 -o 1000 -m 0644 $SRC/home/user/lxterminal/lxterminal.conf $DST/home/user/lxterminal/lxterminal.conf install -g root -o root -m 0644 -D $SRC/etc/jwm/system.jwmrc $DST/etc/jwm/system.jwmrc