user might differ from user_id '1000'
IgorKerstges opened this issue · 2 comments
IgorKerstges commented
I was playing with the options of this script in dietpi.. The portion:
username=$(id -u -n 1000)
builddir=$(pwd)
grabs the first created user on the system which -in case of dietpi- might be a different user than the one which is used regularly. I created regular user 'igor' for which I had to change 1000 into 1001..
crazycheetah42 commented
Maybe do a pull request with the whoami command.
crazycheetah42 commented
I did a pull request already. If it gets approved it will be fixed with the whoami command.