Changes for December 2021
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
From ff787114856cc9ccb057cf524e7089f7aed558cc Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 8 Dec 2021 07:04:53 +0000
|
||||
Subject: [PATCH] Remove init.vndk-nodef.rc
|
||||
|
||||
This partially reverts "Deprecate VNDK-lite support from Legacy GSI".
|
||||
|
||||
Paired with https://github.com/LineageOS/android_system_core/commit/0b265e35ddf42638fa807f5349a10c40e3d46446, it kicks permissive devices into bootloader.
|
||||
Given that GSI+permissive won't ever be a Lineage official scenario, revert this only on our side.
|
||||
Thanks @Kethen for the insight!
|
||||
|
||||
Change-Id: I7c14fe5229e953f620bb225fa5c981752d0ac5f9
|
||||
---
|
||||
target/product/gsi/Android.mk | 12 ------------
|
||||
target/product/gsi/init.gsi.rc | 2 --
|
||||
target/product/gsi/init.vndk-nodef.rc | 3 ---
|
||||
target/product/gsi_release.mk | 3 +--
|
||||
4 files changed, 1 insertion(+), 19 deletions(-)
|
||||
delete mode 100644 target/product/gsi/init.vndk-nodef.rc
|
||||
|
||||
diff --git a/target/product/gsi/Android.mk b/target/product/gsi/Android.mk
|
||||
index cb4fdcb33..f2c0f212c 100644
|
||||
--- a/target/product/gsi/Android.mk
|
||||
+++ b/target/product/gsi/Android.mk
|
||||
@@ -228,15 +228,3 @@ LOCAL_SYSTEM_EXT_MODULE := true
|
||||
LOCAL_MODULE_RELATIVE_PATH := init
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
-
|
||||
-
|
||||
-include $(CLEAR_VARS)
|
||||
-LOCAL_MODULE := init.vndk-nodef.rc
|
||||
-LOCAL_LICENSE_KINDS := legacy_restricted
|
||||
-LOCAL_LICENSE_CONDITIONS := restricted
|
||||
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
||||
-LOCAL_MODULE_CLASS := ETC
|
||||
-LOCAL_SYSTEM_EXT_MODULE := true
|
||||
-LOCAL_MODULE_RELATIVE_PATH := init
|
||||
-
|
||||
-include $(BUILD_PREBUILT)
|
||||
diff --git a/target/product/gsi/init.gsi.rc b/target/product/gsi/init.gsi.rc
|
||||
index f48284322..c6faba78d 100644
|
||||
--- a/target/product/gsi/init.gsi.rc
|
||||
+++ b/target/product/gsi/init.gsi.rc
|
||||
@@ -1,5 +1,3 @@
|
||||
#
|
||||
# Android init script for GSI required initialization
|
||||
#
|
||||
-
|
||||
-import /system/system_ext/etc/init/init.vndk-${ro.vndk.version:-nodef}.rc
|
||||
diff --git a/target/product/gsi/init.vndk-nodef.rc b/target/product/gsi/init.vndk-nodef.rc
|
||||
deleted file mode 100644
|
||||
index efeef117b..000000000
|
||||
--- a/target/product/gsi/init.vndk-nodef.rc
|
||||
+++ /dev/null
|
||||
@@ -1,3 +0,0 @@
|
||||
-on early-init
|
||||
- # Must define BOARD_VNDK_VERSION
|
||||
- exec - root -- /system/bin/reboot bootloader
|
||||
diff --git a/target/product/gsi_release.mk b/target/product/gsi_release.mk
|
||||
index d924d0bc1..5c3e10de7 100644
|
||||
--- a/target/product/gsi_release.mk
|
||||
+++ b/target/product/gsi_release.mk
|
||||
@@ -59,8 +59,7 @@ PRODUCT_PACKAGES += com.android.apex.cts.shim.v1_with_prebuilts.flattened
|
||||
# GSI specific tasks on boot
|
||||
PRODUCT_PACKAGES += \
|
||||
gsi_skip_mount.cfg \
|
||||
- init.gsi.rc \
|
||||
- init.vndk-nodef.rc \
|
||||
+ init.gsi.rc
|
||||
|
||||
# Support additional P, Q and R VNDK packages
|
||||
PRODUCT_EXTRA_VNDK_VERSIONS := 28 29 30
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
From 3b33cbc0f0f6642bcb609a3d88e516452147debe Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 5 Oct 2020 01:51:46 +0000
|
||||
Subject: [PATCH] build: Don't handle apns-conf
|
||||
|
||||
Leave it to vendor/lineage instead
|
||||
|
||||
Change-Id: I51fb1436ee0ee2e33b20ca0810b69e827f3f34dc
|
||||
---
|
||||
target/product/aosp_product.mk | 7 -------
|
||||
target/product/full_base_telephony.mk | 5 -----
|
||||
2 files changed, 12 deletions(-)
|
||||
|
||||
diff --git a/target/product/aosp_product.mk b/target/product/aosp_product.mk
|
||||
index b41c35fb7..bdaa57aac 100644
|
||||
--- a/target/product/aosp_product.mk
|
||||
+++ b/target/product/aosp_product.mk
|
||||
@@ -37,10 +37,3 @@ PRODUCT_PACKAGES += \
|
||||
PhotoTable \
|
||||
preinstalled-packages-platform-aosp-product.xml \
|
||||
WallpaperPicker \
|
||||
-
|
||||
-# Telephony:
|
||||
-# Provide a APN configuration to GSI product
|
||||
-ifeq ($(LINEAGE_BUILD),)
|
||||
-PRODUCT_COPY_FILES += \
|
||||
- device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml
|
||||
-endif
|
||||
diff --git a/target/product/full_base_telephony.mk b/target/product/full_base_telephony.mk
|
||||
index e4f5a162b..5470ad2be 100644
|
||||
--- a/target/product/full_base_telephony.mk
|
||||
+++ b/target/product/full_base_telephony.mk
|
||||
@@ -26,10 +26,5 @@ PRODUCT_VENDOR_PROPERTIES := \
|
||||
PRODUCT_COPY_FILES := \
|
||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
||||
|
||||
-ifeq ($(LINEAGE_BUILD),)
|
||||
-PRODUCT_COPY_FILES += \
|
||||
- device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||
-endif
|
||||
-
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk)
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user