From 368b9b40bb60dcceeedfda6468dce61dd91f9aab Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Fri, 29 Oct 2021 12:33:21 -0400 Subject: [PATCH] g12: Remove /data/media creation from fs.rc * Done by platform. Change-Id: Ia8f3cb91d967c3ec29ab4da50e7c4978ef0d5f43 --- extract-files.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index c91f31d..7a89c41 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -77,6 +77,9 @@ function blob_fixup() { vendor/bin/hw/android.hardware.graphics.allocator@3.0-service) "${PATCHELF}" --remove-needed "libhidltransport.so" "${2}" ;; + vendor/etc/init/fs.rc) + sed -i '/media 0770 media_rw media_rw/d' "${2}" + ;; vendor/etc/init/tee-supplicant.rc) sed -i s#/vendor/lib/#/vendor/lib/modules/#g "${2}" ;; -- 2.20.1