Skip to content

Commit ee62938

Browse files
committed
rootfs/chromiumos: fix hard-coded user in build_board.sh
Use the ${USERNAME} variable in build_board.sh rather than the hard-coded "user" name. Fixes: 4f4eea2 ("kernelci.rootfs: add support for building chromiumos images") Signed-off-by: Guillaume Tucker <[email protected]>
1 parent 3a60796 commit ee62938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/rootfs/chromiumos/scripts/build_board.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ trap cleanup EXIT
1919

2020
echo "Preparing environment, branch ${BRANCH}"
2121
sudo mkdir chromiumos-sdk
22-
sudo chown user chromiumos-sdk
22+
sudo chown ${USERNAME} chromiumos-sdk
2323
cd chromiumos-sdk
2424
git config --global user.email "[email protected]"
2525
git config --global user.name "KernelCI Bot"

0 commit comments

Comments
 (0)