diff options
| author | 2022-12-30 11:53:56 +0000 | |
|---|---|---|
| committer | 2022-12-30 11:53:56 +0000 | |
| commit | 22f8b3d9bc9f70d0bd097108ab7501dbcac002a4 (patch) | |
| tree | 17394cd076c58b0d271fdde48e2c407d0699dda2 /filesystem/filesystem.go | |
| parent | 87c149dccbde5f9ce85351f38c199dc3eaf901ba (diff) | |
| parent | 519015f99dd19328e806e0ce363d3c1005436f32 (diff) | |
Merge "Run host_init_verifier when building filesystem"
Diffstat (limited to 'filesystem/filesystem.go')
| -rw-r--r-- | filesystem/filesystem.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index e123f24f9..d01608f33 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -264,6 +264,14 @@ func (f *filesystem) buildImageUsingBuildImage(ctx android.ModuleContext) androi Input(rootZip). Input(rebasedDepsZip) + // run host_init_verifier + // Ideally we should have a concept of pluggable linters that verify the generated image. + // While such concept is not implement this will do. + // TODO(b/263574231): substitute with pluggable linter. + builder.Command(). + BuiltTool("host_init_verifier"). + FlagWithArg("--out_system=", rootDir.String()+"/system") + propFile, toolDeps := f.buildPropFile(ctx) output := android.PathForModuleOut(ctx, f.installFileName()).OutputPath builder.Command().BuiltTool("build_image"). |