mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
tools: Fix groupname if it differs from username
The script `tools/packaging/static-build/qemu/build-base-qemu.sh` previously failed on systems where the user's groupname differs from the username Fixes: #3461 Signed-off-by: Sebastian Hasler <sebastian.hasler@stuvus.uni-stuttgart.de>
This commit is contained in:
parent
ef835b5948
commit
e347694fff
@ -54,4 +54,4 @@ sudo "${container_engine}" run \
|
||||
-v "${PWD}":/share qemu-static \
|
||||
mv "${qemu_destdir}/${qemu_tar}" /share/
|
||||
|
||||
sudo chown ${USER}:${USER} "${PWD}/${qemu_tar}"
|
||||
sudo chown ${USER}:$(id -gn ${USER}) "${PWD}/${qemu_tar}"
|
||||
|
Loading…
Reference in New Issue
Block a user