Customizing Fedora IOT images - Problem with custom files

Hello.

I created a custom image of Fedora IOT for RPi 4.

Now I created a service file in /etc/systemd to do some automatic runtime configurations on first boot since I am using Yggdrasil for network communications and I do nor want to do this configuration manually on every device I set up.

The service file itself works and troies to start.

For the configuration I wrote a bash script which I try to install in /usr/local/bin directory. This file is NOT available in the Image after build and there is NO error message which tells me why.

Actually I use osbuild with wldr-client (composer-cli) to build these images.

Any hints or suggestions?

I am open to other ways of generating the images as long as I can switch the already existing devices without the need of re-installing them or touching the hardware. Remotely switching them via SSH is not a problem.

Thanks in advance.

Kind regards,
Dirk

Added iot, raspberry-pi