Skip to content

Revert "Do not preserve owner user/group when extracting tar archive"#2463

Merged
Databean merged 1 commit intogoogle:mainfrom
Databean:revert_no_same_owner
Apr 24, 2026
Merged

Revert "Do not preserve owner user/group when extracting tar archive"#2463
Databean merged 1 commit intogoogle:mainfrom
Databean:revert_no_same_owner

Conversation

@Databean
Copy link
Copy Markdown
Member

This reverts commit 75e592d.

This fixes mixed build boot tests:

$ cvd fetch --default_build=15280243/cf_x86_64_only_phone-trunk_staging-userdebug --host_package_build=15280243/cf_x86_64_only_phone-trunk_staging-userdebug --system_build=15280243/gsi_x86_64-trunk_staging-userdebug
$ cvd create --product_path=$PWD --host_path=$PWD

The reverted commit added a new flag --no-same-owner to a bsdtar invocation. The implementation of bsdtar used in Android CI does not support this flag and a mixed build test that invokes bsdtar fails.

Bug: b/506159631 and b/408497913
Test: repro given above

This reverts commit 75e592d.

This fixes mixed build boot tests:
```
$ cvd fetch --default_build=15280243/cf_x86_64_only_phone-trunk_staging-userdebug --host_package_build=15280243/cf_x86_64_only_phone-trunk_staging-userdebug --system_build=15280243/gsi_x86_64-trunk_staging-userdebug
$ cvd create --product_path=$PWD --host_path=$PWD
```

The reverted commit added a new flag `--no-same-owner` to a `bsdtar`
invocation. The implementation of `bsdtar` used in Android CI does not
support this flag and a mixed build test that invokes `bsdtar` fails.

Bug: b/506159631 and b/408497913
Test: repro given above
@Databean Databean requested review from 0405ysj and rmuthiah April 24, 2026 21:22
@Databean Databean added this pull request to the merge queue Apr 24, 2026
Merged via the queue into google:main with commit 0861e3e Apr 24, 2026
50 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants