From 4697725e8159c297c46d8b59c73b7b04925e9186 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Wed, 13 Apr 2022 16:41:34 -0700 Subject: [PATCH] Install .rc files for ramdisk variants Previously, we removed .rc files from ramdisk variants because init isn't reading them. But after generic_ramdisk is introduced, we might re-use ramdisk variant of snapuserd in recovery, and recovery will need those .rc fiels. So install .rc files again. Test: th Bug: 219841787 Bug: 228893064 Change-Id: I9e6e761f4f2b3a03693567c077c3225669398b86 --- android/androidmk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/androidmk.go b/android/androidmk.go index e9c63fb70..5c715b473 100644 --- a/android/androidmk.go +++ b/android/androidmk.go @@ -578,7 +578,7 @@ func (a *AndroidMkEntries) fillInEntries(ctx fillInEntriesContext, mod blueprint } } - if !base.InRamdisk() && !base.InVendorRamdisk() { + if !base.InVendorRamdisk() { a.AddPaths("LOCAL_FULL_INIT_RC", base.initRcPaths) } if len(base.vintfFragmentsPaths) > 0 {