Remove live-config xinit script from installed system

- Remove zz-live-config_xinit.sh from /etc/profile.d in installed system
- This script can interfere with X startup and autologin behavior
- Ensures clean X environment for mbetterclient user autologin
- Prevents live-config scripts from overriding installed system configuration
parent d757a175
...@@ -731,6 +731,7 @@ NETEOF ...@@ -731,6 +731,7 @@ NETEOF
# Remove live-specific configurations # Remove live-specific configurations
rm -f "$TARGET_MOUNT/etc/systemd/system/getty@tty1.service.d/live-config.conf" 2>/dev/null || true rm -f "$TARGET_MOUNT/etc/systemd/system/getty@tty1.service.d/live-config.conf" 2>/dev/null || true
rm -rf "$TARGET_MOUNT/lib/live" 2>/dev/null || true rm -rf "$TARGET_MOUNT/lib/live" 2>/dev/null || true
rm -f "$TARGET_MOUNT/etc/profile.d/zz-live-config_xinit.sh" 2>/dev/null || true
print_status "Target system configuration completed" print_status "Target system configuration completed"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment