File config.sh of Package Renard-OS
#!/bin/bash # Import KIWI helpers test -f /.k3s_functions && . /.k3s_functions echo "Applying RenardOS Master Branding..." echo "--- DEBUG: Checking Wallpaper Path ---" ls -R /usr/share/wallpapers/ || echo "Wallpapers directory NOT found" find /usr -name "desert-wallpaper.png" || echo "Image file NOT found" echo "--------------------------------------" # 1. Create the directories for the dconf database # We need both the source (local.d) and the target (db) mkdir -p /etc/dconf/db/local.d/ mkdir -p /etc/dconf/profile/ # 2. Write the dconf profile (This tells the OS to look at our custom settings) if [ ! -f /etc/dconf/profile/user ]; then cat <<EOF > /etc/dconf/profile/user user-db:user system-db:local EOF fi # 3. Write the background policy cat <<EOF > /etc/dconf/db/local.d/00-renard-branding [org/gnome/desktop/background] picture-uri='file:///usr/share/wallpapers/desert-wallpaper.png' picture-uri-dark='file:///usr/share/wallpapers/desert-wallpaper.png' picture-options='zoom' [org/gnome/desktop/screensaver] picture-uri='file:///usr/share/wallpapers/desert-wallpaper.png' EOF # 4. Update the dconf database # The '|| true' ensures the build doesn't crash if the environment is restricted dconf update || true # 5. Set the system runlevel baseSetRunlevel 5 exit 0