Skip to content

Package etc/cvd_config in /usr/lib/cuttlefish-common - #2969

Open
Databean wants to merge 1 commit into
google:mainfrom
Databean:package_cvd_config
Open

Package etc/cvd_config in /usr/lib/cuttlefish-common#2969
Databean wants to merge 1 commit into
google:mainfrom
Databean:package_cvd_config

Conversation

@Databean

@Databean Databean commented Aug 4, 2026

Copy link
Copy Markdown
Member

These files are included in cvd-host_package.tar.gz as etc/cvd_config/*. assemble_cvd uses these files. Running in --host_substitution=only mode produces this warning:

/var/tmp/cvd/270178/1785454400023677/artifacts/0/android-info.txt contains invalid config preset: 'phone'.
Config 'phone' not found: 1. config_flag.cpp:83 | ReadConfig | Could not read config file "/var/tmp/cvd/270178/1785454400023677/artifacts/host_tools/etc/cvd_config/cvd_config_phone.json"
 | cuttlefish/common/libs/utils/files.cpp:331
 | Result<std::string> cuttlefish::ReadFileContents(const std::string &)
 v CF_EXPECT(FileExists(filepath))
The file at "/var/tmp/cvd/270178/1785454400023677/artifacts/host_tools/etc/cvd_config/cvd_config_phone.json" does not exist.

These files are based on android17-release on android.googlesource.com, the most recently published version plus ag/41193528 and ag/41193529 which modify config_phone.json.

Bug: b/542721218

@Databean
Databean requested a review from jemoreira August 4, 2026 21:57
@Databean
Databean force-pushed the package_cvd_config branch from 3e16272 to cce136a Compare August 5, 2026 00:09
@Databean Databean added the kokoro:run Run e2e tests. label Aug 5, 2026
@Databean
Databean enabled auto-merge August 5, 2026 00:09
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Aug 5, 2026
These files are included in `cvd-host_package.tar.gz` as `etc/cvd_config/*`. `assemble_cvd` uses these files. Running in `--host_substitution=only` mode produces this warning:
```
/var/tmp/cvd/270178/1785454400023677/artifacts/0/android-info.txt contains invalid config preset: 'phone'.
Config 'phone' not found: 1. config_flag.cpp:83 | ReadConfig | Could not read config file "/var/tmp/cvd/270178/1785454400023677/artifacts/host_tools/etc/cvd_config/cvd_config_phone.json"
 | cuttlefish/common/libs/utils/files.cpp:331
 | Result<std::string> cuttlefish::ReadFileContents(const std::string &)
 v CF_EXPECT(FileExists(filepath))
The file at "/var/tmp/cvd/270178/1785454400023677/artifacts/host_tools/etc/cvd_config/cvd_config_phone.json" does not exist.
```

These files are based on android17-release on android.googlesource.com,
the most recently published version plus ag/41193528 and ag/41193529
which modify config_phone.json.

Bug: b/542721218
@Databean
Databean force-pushed the package_cvd_config branch from cce136a to 94afab6 Compare August 5, 2026 07:17
@Databean Databean added the kokoro:run Run e2e tests. label Aug 5, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Aug 5, 2026
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.

3 participants