Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/devtool
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,17 @@ cmd_build() {
# We don't need any special privileges for the build phase, so we run the
# container as the current user/group.
run_devctr \
--user "$(id -u):$(id -g)" \
--privileged \
--workdir "$workdir" \
${extra_args} \
-- \
./tools/release.sh --libc $libc --profile $profile
ret=$?

# Running as root would have created some root-owned files under the build
# dir. Let's fix that.
cmd_fix_perms

Comment on lines +519 to +522
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of scope but maybe we should run this always as part of run_devctr?

if [ ! -z "$revision" ]; then
popd
git branch -D $branch_name
Expand Down