From 25b65436b5f5f4a4f886d28744db041f793e7951 Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 29 Aug 2024 17:35:03 +0200 Subject: [PATCH] sm8450-common: Unify how lines are deleted in blob_fixup Change-Id: I4d943a4bad184bbca9029ac4ce3c423755e1a267 --- extract-files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 5f9c9b2..0806dfe 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -71,7 +71,7 @@ function blob_fixup() { grep -q "android.hardware.security.rkp-V1-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V1-ndk.so" "${2}" ;; vendor/etc/init/init.embmssl_server.rc) - sed -i -n '/interface/!p' "${2}" + sed -i '/interface/d' "${2}" ;; vendor/etc/media_codecs_c2_audio.xml) sed -i '/media_codecs_dolby_audio/d' "${2}" @@ -83,7 +83,7 @@ function blob_fixup() { sed -i '/persist.vendor.radio.redir_party_num/ s/true/false/g' "${2}" ;; vendor/etc/vintf/manifest/c2_manifest_vendor.xml) - sed -ni '/dolby/!p' "${2}" + sed -i '/dolby/d' "${2}" ;; esac }