SetupWizard is arch dependent

This commit is contained in:
Alessandro Astone
2022-02-24 14:58:49 +01:00
parent d6035b9d9f
commit 177d1f1ce1
17 changed files with 46 additions and 18 deletions

View File

@@ -52,9 +52,6 @@ echo "endif" >> "$PRODUCTMK"
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
# Make Google SuW override Provision
sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
# We are done with common
write_footers
@@ -77,6 +74,9 @@ printf '\n%s\n' "\$(call inherit-product, vendor/gapps/common/common-vendor.mk)"
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
# Make Google SuW override Provision
sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
# We are done with target
write_footers