]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ci: Makefile: Expose the CI_USER_LOGIN variable for users to use
authorErik Skultety <eskultet@redhat.com>
Wed, 10 Feb 2021 07:27:29 +0000 (08:27 +0100)
committerErik Skultety <eskultet@redhat.com>
Fri, 12 Feb 2021 16:01:41 +0000 (17:01 +0100)
commitf28a652a32e0764e1ab528a004c33a49937a0c45
tree749a47302412f738f27c665e5980cf6e63f4c21e
parent321293e2a32f5c2db1fd0fe2ec0f43040fece527
ci: Makefile: Expose the CI_USER_LOGIN variable for users to use

More often than not I find myself debugging in the containers which
means that I need to have root inside, but without manually tweaking
the Makefile each time the execution would simply fail thanks to the
uid/gid mapping we do. What if we expose the CI_USER_LOGIN variable, so
that when needed, the root can be simply passed with this variable and
voila - you have a root shell inside the container with CWD=~root.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
ci/Makefile