f5vmr / svxlinkbuilder

Scripted build for Svxlink
GNU General Public License v3.0
3 stars 3 forks source link

Remove requirement to use "pi" user. #10

Closed brian32768 closed 3 months ago

brian32768 commented 3 months ago

Remove all hardcoded references to /home/pi

f5vmr commented 3 months ago

In the initial compilation I strongly recommended that the user be "pi" to standardise a build, in order that I can help with debugging later. That said, for individual preference later I have pointed out on the facebook page svxlink amateur radio users that 'sudo nmtui' can be deployed to change user if required. Although this is not foolproof and requires the /etc/hosts to be edited. Alternatively sudo raspi-config can be used more effectively. In the svxlinkbuilder script, I found that I had to keep track of where the shell was going in and out of the functions, so adding /home/pi was as way to reset (in my head) the pointer. I had removed some of them. There are other ways to run the script as another user. But in this case uniformity was key.

brian32768 commented 3 months ago

On 2024-06-02 15:03, Chris G4NAB_F5VMR wrote:

Closed #10 as completed.

This approach does not fit into the overall build strategy we've been using so far. But we can adapt.