From 92411c877a6a977de310c09e4edd8e57e64037f2 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Tue, 14 May 2019 13:21:21 +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 64bf2209..f1c812d7 100644 --- a/config/common.mk +++ b/config/common.mk @@ -229,7 +229,7 @@ endif DEVICE_PACKAGE_OVERLAYS += vendor/cm/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 095956ab88d776c85ddc04bf9f64e07cf67f1340 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Wed, 15 May 2019 11:13:27 +0200 Subject: [PATCH 2/2] Backuptools: check Android version instead of /e/ version --- prebuilt/common/bin/backuptool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh index 16c17610..acc61b16 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.1 +export V=7.1 # Scripts in /system/addon.d expect to find backuptool.functions in /tmp cp -f /tmp/install/bin/backuptool.functions /tmp @@ -34,7 +34,7 @@ check_prereq() { if [ ! -r /system/build.prop ]; then return 0 fi -if ( ! grep -q "^ro.cm.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 -- GitLab