SetupWizard is arch dependent

This commit is contained in:
Alessandro Astone
2021-01-02 20:08:35 +01:00
parent 926ebed063
commit 5e1c63d566
16 changed files with 49 additions and 19 deletions

View File

@@ -53,9 +53,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
@@ -79,6 +76,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