Skip to content

Select emulated camera apex via assemble_cvd.#2295

Open
ser-io wants to merge 2 commits intogoogle:mainfrom
ser-io:apex-select
Open

Select emulated camera apex via assemble_cvd.#2295
ser-io wants to merge 2 commits intogoogle:mainfrom
ser-io:apex-select

Conversation

@ser-io
Copy link
Member

@ser-io ser-io commented Mar 20, 2026

No description provided.

@ser-io ser-io enabled auto-merge March 20, 2026 16:20
@Databean Databean added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Mar 20, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Mar 20, 2026
@ser-io ser-io marked this pull request as draft March 23, 2026 17:11
auto-merge was automatically disabled March 23, 2026 17:11

Pull request was converted to draft

@ser-io ser-io marked this pull request as ready for review March 23, 2026 17:36
@ser-io ser-io removed request for Databean and rmuthiah March 23, 2026 17:38
@ser-io ser-io force-pushed the apex-select branch 2 times, most recently from 41d8e97 to 15d81a7 Compare March 23, 2026 20:07
ser-io added 2 commits March 23, 2026 16:14
Pass builtin bootconfig args to the logic of building the bootconfig
args at launch time to avoid kernel error:

```
Failed to parse bootconfig: Value is redefined at XXX.
```

Create new library to resolve cyclic dependency scenario.

Bug: 485605842
Comment on lines +47 to +50
CF_EXPECT(UnpackVendorBootImageIfNotUnpacked(instance.vendor_boot_image(), tmpdir),
"Failed to extract the vendor boot image");
std::unordered_map<std::string, std::string> args;
std::string content = ReadFile(tmpdir + "/bootconfig");
Copy link
Member

Choose a reason for hiding this comment

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

Rather than use UnpackVendorBootImageIfNotUnpacked, can this use

  • VendorBootImage::Read
  • VendorBootImage::BootConfig()
  • ReadToString(Reader)

That avoids having to go through creating new files in /tmp.

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.

4 participants