I think my problem is that the do_image_* are running as fakeroot/pseudo.
Is there a way to run this task as a normal local user.
I read that I should create the socket when not running under local user with
gpgconf --create-socketdir
But this fails too although I set permissions for all on the gpg files and directories:
'''
| gpgconf: socketdir is '/test-warrior/build-jetson-xavier/tmp/work/jetson_xavier-poky-linux/test-image/1.0-r0/my_img/home' | gpgconf: no /run/user dir | gpgconf: using homedir as fallback | gpgconf: error creating socket directory | gpgconf: fatal error (exit status 1)
'''
Basically I need to, as a normal user, run gpg after do_image_tegra.