From 6399c8be4b7797f2923acd1930f6a9a05ab4641d Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 1 Apr 2015 05:30:52 +0300 Subject: [PATCH] Updates for cm-12.1 Change-Id: I3eefaadce417ed3802f31bd62ee57a3b18561839 --- README.mkdn | 4 ++-- prebuilt/common/bin/50-cm.sh | 2 +- prebuilt/common/bin/backuptool.functions | 2 +- prebuilt/common/bin/backuptool.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.mkdn b/README.mkdn index af7bff0d..f9612af8 100644 --- a/README.mkdn +++ b/README.mkdn @@ -11,7 +11,7 @@ You can do this by using these commands: (Go to repo you are patching, make your changes and commit) cmgerrit - repo start cm-12.0 . + repo start cm-12.1 . (Make your changes and commit) repo upload . Note: "." meaning current directory @@ -31,7 +31,7 @@ familiar with [Repo](https://source.android.com/source/using-repo.html) and [Ver To initialize your local repository using the CyanogenMod trees, use a command like this: - repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0 + repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1 Then to sync up: diff --git a/prebuilt/common/bin/50-cm.sh b/prebuilt/common/bin/50-cm.sh index 724c444a..59d9bc62 100755 --- a/prebuilt/common/bin/50-cm.sh +++ b/prebuilt/common/bin/50-cm.sh @@ -1,7 +1,7 @@ #!/sbin/sh # # /system/addon.d/50-cm.sh -# During a CM11 upgrade, this script backs up /system/etc/hosts, +# During a CM12.1 upgrade, this script backs up /system/etc/hosts, # /system is formatted and reinstalled, then the file is restored. # diff --git a/prebuilt/common/bin/backuptool.functions b/prebuilt/common/bin/backuptool.functions index 10d66a45..0b452479 100644 --- a/prebuilt/common/bin/backuptool.functions +++ b/prebuilt/common/bin/backuptool.functions @@ -5,7 +5,7 @@ export C=/tmp/backupdir export S=/system -export V=12 +export V=12.1 backup_file() { if [ -e "$1" ]; then diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh index bf711497..fa29ad2c 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=12 +export V=12.1 # Scripts in /system/addon.d expect to find backuptool.functions in /tmp cp -f /tmp/install/bin/backuptool.functions /tmp