Hi I am trying to install a script in a yacto project.
In a bb file, under do_install function like below
install -m 0755 ${WORKDIR}/my_script.sh ${D}/${datadir}/
But it installing the script as root user. I have another user in my project as user1. user1 only going to use this script. I wants to install this script as user1.
Can anyone help me to do this?
I am expecting how example function to add specific user while installing this script.