Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 266765c1 authored by Spandan Das's avatar Spandan Das
Browse files

Run mkdir before creating BuildManifest.apk

mkdir on the directory of a ninja output is usually not necessary, since
ninja creates the directory of all outputs of a build graph edge before
running the build graph cmd. However, the command of creating the
filesystem runs `rm -rf` on the intermediates filesystem directory,
undoing the mkdir created by ninja.

This is an issue for system_ext specifically. system does not run into
this issue because it includes a dep `fsverity-release-cert-der` which
installs a file  in /etc/security/fsverity.

Test: m out/soong/.intermediates/build/soong/fsgen/aosp_cf_x86_64_phone_generated_system_ext_image/android_common/aosp_cf_x86_64_phone_generated_system_ext_image.img
Bug: 383144733
Change-Id: Ia65346e0185b355ec3854427e5df7994160088d3
parent c8914a47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment