From ad0fcaf14ceb0924d9f103fd173a47703d11ef56 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 23 Jun 2024 22:51:54 +0300 Subject: [PATCH] sm7325-common: Create rfs fsg symlink Change-Id: Id337670d40aeb598e4b2507bd94d4885344c675c --- Android.bp | 19 +++++++++++++++++++ Android.mk | 2 +- common.mk | 10 +++++++++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Android.bp b/Android.bp index 9515b25..8db201a 100644 --- a/Android.bp +++ b/Android.bp @@ -1,2 +1,21 @@ +// +// Copyright (C) 2022-2024 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + soong_namespace { } + +install_symlink { + name: "rfs_mdm_mpss_readonly_vendor_fsg_symlink", + vendor: true, + installed_location: "rfs/mdm/mpss/readonly/vendor/fsg", + symlink_target: "/vendor/fsg", +} + +install_symlink { + name: "rfs_msm_mpss_readonly_vendor_fsg_symlink", + vendor: true, + installed_location: "rfs/msm/mpss/readonly/vendor/fsg", + symlink_target: "/vendor/fsg", +} diff --git a/Android.mk b/Android.mk index 7a3d3bb..6c2f4ac 100644 --- a/Android.mk +++ b/Android.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2022-2023 The LineageOS Project +# Copyright (C) 2022-2024 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # diff --git a/common.mk b/common.mk index b8ca3c2..0c3544f 100644 --- a/common.mk +++ b/common.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2022 The LineageOS Project +# Copyright (C) 2022-2024 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -420,6 +420,14 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.renderscript@1.0-impl +# RFS MDM MPSS symlinks +PRODUCT_PACKAGES += \ + rfs_mdm_mpss_readonly_vendor_fsg_symlink + +# RFS MSM MPSS symlinks +PRODUCT_PACKAGES += \ + rfs_msm_mpss_readonly_vendor_fsg_symlink + # RIL PRODUCT_PACKAGES += \ android.hardware.radio@1.5.vendor \