From 0c07e8d2e04ffd73ba1df94a7e6f234ffe179823 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Tue, 14 May 2019 13:19:25 +0000 Subject: [PATCH 1/2] Update to v0.6 --- config/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/common.mk b/config/common.mk index 4a64ce7bf..39d8bf60c 100644 --- a/config/common.mk +++ b/config/common.mk @@ -244,7 +244,7 @@ endif DEVICE_PACKAGE_OVERLAYS += vendor/lineage/overlay/common PRODUCT_VERSION_MAJOR = 0 -PRODUCT_VERSION_MINOR = 5 +PRODUCT_VERSION_MINOR = 6 PRODUCT_VERSION_MAINTENANCE := 0 ifeq ($(TARGET_VENDOR_SHOW_MAINTENANCE_VERSION),true) -- GitLab From 30ccb483c59b586a775f32354db2279ac10ba4fd Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Wed, 15 May 2019 11:15:20 +0200 Subject: [PATCH 2/2] Backuptools: check Android version instead of /e/ version --- prebuilt/common/bin/backuptool.sh | 4 ++-- prebuilt/common/bin/backuptool_ab.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh index fa5ff7312..c93d46ee1 100755 --- a/prebuilt/common/bin/backuptool.sh +++ b/prebuilt/common/bin/backuptool.sh @@ -5,7 +5,7 @@ export C=/tmp/backupdir export S=/system -export V=0.5 +export V=8.1 export ADDOND_VERSION=1 @@ -48,7 +48,7 @@ check_prereq() { if [ ! -r /system/build.prop ]; then return 0 fi -if ! grep -q "^ro.lineage.version=$V.*" /system/build.prop; then +if ! grep -q "^ro.build.version.release=$V.*" /system/build.prop; then echo "Not backing up files from incompatible version: $V" return 0 fi diff --git a/prebuilt/common/bin/backuptool_ab.sh b/prebuilt/common/bin/backuptool_ab.sh index c738e446a..099b11f63 100755 --- a/prebuilt/common/bin/backuptool_ab.sh +++ b/prebuilt/common/bin/backuptool_ab.sh @@ -5,7 +5,7 @@ export S=/system export C=/postinstall/tmp/backupdir -export V=0.5 +export V=8.1 export ADDOND_VERSION=2 -- GitLab