Updates for cm-12.1
Change-Id: I3eefaadce417ed3802f31bd62ee57a3b18561839
This commit is contained in:
parent
ee4c710f7b
commit
6399c8be4b
|
@ -11,7 +11,7 @@ You can do this by using these commands:
|
||||||
(Go to repo you are patching, make your changes and commit)
|
(Go to repo you are patching, make your changes and commit)
|
||||||
cmgerrit <for(new)/changes(patch set)> <branch/change-id>
|
cmgerrit <for(new)/changes(patch set)> <branch/change-id>
|
||||||
|
|
||||||
repo start cm-12.0 .
|
repo start cm-12.1 .
|
||||||
(Make your changes and commit)
|
(Make your changes and commit)
|
||||||
repo upload .
|
repo upload .
|
||||||
Note: "." meaning current directory
|
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:
|
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:
|
Then to sync up:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/sbin/sh
|
#!/sbin/sh
|
||||||
#
|
#
|
||||||
# /system/addon.d/50-cm.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.
|
# /system is formatted and reinstalled, then the file is restored.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
export C=/tmp/backupdir
|
export C=/tmp/backupdir
|
||||||
export S=/system
|
export S=/system
|
||||||
export V=12
|
export V=12.1
|
||||||
|
|
||||||
backup_file() {
|
backup_file() {
|
||||||
if [ -e "$1" ]; then
|
if [ -e "$1" ]; then
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
export C=/tmp/backupdir
|
export C=/tmp/backupdir
|
||||||
export S=/system
|
export S=/system
|
||||||
export V=12
|
export V=12.1
|
||||||
|
|
||||||
# Scripts in /system/addon.d expect to find backuptool.functions in /tmp
|
# Scripts in /system/addon.d expect to find backuptool.functions in /tmp
|
||||||
cp -f /tmp/install/bin/backuptool.functions /tmp
|
cp -f /tmp/install/bin/backuptool.functions /tmp
|
||||||
|
|
Loading…
Reference in New Issue