Detect androidboot.bootchg=true
Observed on Samsung Galaxy S4
This commit is contained in:
parent
7c108d2a16
commit
b74bf01597
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgname=postmarketos-mkinitfs
|
||||
pkgver=0.6.6
|
||||
pkgrel=3
|
||||
pkgver=0.6.7
|
||||
pkgrel=0
|
||||
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
||||
url="https://postmarketos.org"
|
||||
# multipath-tools: kpartx
|
||||
|
@ -24,5 +24,5 @@ package() {
|
|||
mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
||||
}
|
||||
sha512sums="d5abfe9a1298069e6722555c6e16223b09b36af65d879feb64d540aa6cbc009a3aa7f00528bcf656370ec37cc64f925c72ebb77813961cd6ebf22107b57ea029 init.sh.in
|
||||
40beaa5e1e8f539b5c5ab1bb213fef95dd944ce808e99a9d36439a0f94d350b9a36e6760189a6c262eb64e73b14341e0833da2e2a19f390cfab2385a2493c2bd init_functions.sh
|
||||
3b029db5eea5f5f2ad486fdcd944340f5c8de04b0d46aaf63c69d181ba87c4d209e3e32d35c9a6f87f214a4303390bd61b5fe980cf533b17d479d42275a6f9ae init_functions.sh
|
||||
e6bf0d326297c7061275156eb9ff354662e740ee5c1ef9e0aab3be80aa50fd32ca5fdaa33a2dfb0431fece3c98c5fea3c40a6f706237aac256b05e92100b8381 mkinitfs.sh"
|
||||
|
|
|
@ -301,6 +301,7 @@ start_charging_mode(){
|
|||
androidboot.huawei_type=oem_rtc
|
||||
startup=0x00010004
|
||||
lpcharge=1
|
||||
androidboot.bootchg=true
|
||||
"
|
||||
# shellcheck disable=SC2086
|
||||
grep -Eq "$(echo $chargingmodes | tr ' ' '|')" /proc/cmdline || return
|
||||
|
|
Loading…
Reference in a new issue