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

Commit 8820eaa5 authored by David Anderson's avatar David Anderson
Browse files

Move snapuserd into the vendor ramdisk.

For devices that are GKI capable, including virtual_ab_ota_compression
will now include snapuserd in the vendor ramdisk.

For devices that are not GKI-capable (eg do not have vendor_boot),
virtual_ab_ota_compression_retrofit.mk must be included in addition to
virtual_ab_ota_compression.mk. This structure is to avoid needing a
large combination of different Makefiles.

Bug: 173463595
Test: manual test
Change-Id: Idc740d3523c2d166dd578cee41ea07d7eaf8edfa
parent a39ec91f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,4 +18,4 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)

PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.enabled=true

PRODUCT_PACKAGES += snapuserd_ramdisk snapuserd
PRODUCT_PACKAGES += snapuserd.vendor_ramdisk snapuserd
+6 −4
Original line number Diff line number Diff line
@@ -14,9 +14,11 @@
# limitations under the License.
#

$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_retrofit.mk)

PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.enabled=true

PRODUCT_PACKAGES += snapuserd_ramdisk
# For devices that are not GKI-capable (eg do not have vendor_boot),
# snapuserd.ramdisk is included rather than snapuserd.vendor_ramdisk.
# When using virtual_ab_ota_compression_retrofit.mk, either
# virtual_ab_ota.mk or virtual_ab_ota_retrofit.mk must be inherited
# as well.
PRODUCT_PACKAGES += snapuserd.ramdisk snapuserd