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

Commit 62c3fc70 authored by Łukasz Patron's avatar Łukasz Patron Committed by dk1978
Browse files

FP3: Drop /product support

* These device's /product partition has a size of only 128MB which
  is not enough for modules such as external/chromium-webview.

* Secondly, known existing packages don't handle real /product
  in a smart way, e.g. OpenGapps used to modify /product for
  quite some time, but since then the change has been reverted
  for an unknown reason.

  Ideally installable-in-recovery packages should:
    - mount rootfs aka /system and check whether
      /<real_rootfs>/product is a symlink to
      /system/product or a mount point,
    - mount /product block device if needed,
    - modify files in appropriate location.

  That way both worlds — /product and /system/product would
  be happy ^.^

Change-Id: I15327473fa39177853c46b1e5162503d8604d3ef
parent 40053935
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
#
# Copyright (C) 2019 The LineageOS Project
# Copyright (C) 2019-2020 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.
@@ -106,10 +106,6 @@ BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
TARGET_NO_RECOVERY := true
BOARD_USES_RECOVERY_AS_BOOT := true
TARGET_COPY_OUT_VENDOR := vendor
# BOARD_USES_PRODUCTIMAGE := true
BOARD_PRODUCTIMAGE_PARTITION_SIZE := 134217728
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_PRODUCT := product

# Audio
BOARD_USES_ALSA_AUDIO := true
+1 −2
Original line number Diff line number Diff line
@@ -39,8 +39,7 @@ AB_OTA_PARTITIONS += \
    dtbo \
    system \
    vbmeta \
    vendor \
    product
    vendor

# Default A/B configuration.
ENABLE_AB ?= true