dre: update kernel scripts from fogos U1UGS34.23-110-2-1
Change-Id: I6e008352da977617e1b21c8e7b9f80df58cfdfbf
This commit is contained in:
parent
09e4c842fe
commit
384d8c5c98
4 changed files with 39 additions and 7 deletions
14
blob-patches/init-post-boot-blair.patch
Normal file
14
blob-patches/init-post-boot-blair.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- a/init.kernel.post_boot-blair.sh
|
||||
+++ b/init.kernel.post_boot-blair.sh
|
||||
@@ -32,11 +32,6 @@
|
||||
#=============================================================================
|
||||
|
||||
function configure_zram_parameters() {
|
||||
- # Moto yangbq2: Skip this if we are using zram from fstab.
|
||||
- using_zram_from_fstab=`getprop ro.boot.using_zram_from_fstab`
|
||||
- if [ "$using_zram_from_fstab" == "true" ]; then
|
||||
- return
|
||||
- fi
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
14
blob-patches/init-post-boot-holi.patch
Normal file
14
blob-patches/init-post-boot-holi.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- a/init.kernel.post_boot-holi.sh
|
||||
+++ b/init.kernel.post_boot-holi.sh
|
||||
@@ -32,11 +32,6 @@
|
||||
#=============================================================================
|
||||
|
||||
function configure_zram_parameters() {
|
||||
- # Moto yangbq2: Skip this if we are using zram from fstab.
|
||||
- using_zram_from_fstab=`getprop ro.boot.using_zram_from_fstab`
|
||||
- if [ "$using_zram_from_fstab" == "true" ]; then
|
||||
- return
|
||||
- fi
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue