gs101: remove init.ramoops.sh am: 982119744c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14278316 Change-Id: I5fed384e8eb484a743068bce3ca623188631a42d
This commit is contained in:
commit
df823b899f
2 changed files with 0 additions and 18 deletions
|
@ -209,7 +209,6 @@ PRODUCT_COPY_FILES += \
|
||||||
# Shell scripts
|
# Shell scripts
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/gs101/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \
|
device/google/gs101/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \
|
||||||
device/google/gs101/init.ramoops.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ramoops.sh
|
|
||||||
|
|
||||||
# insmod files
|
# insmod files
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/vendor/bin/sh
|
|
||||||
|
|
||||||
# Decrypt the keys and write them to the kernel
|
|
||||||
ramoops -D
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
# Pivot (and decrypt)
|
|
||||||
echo 1 > /sys/devices/virtual/ramoops/pstore/use_alt
|
|
||||||
else
|
|
||||||
setprop vendor.ramoops.decryption.error $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Trigger remount of pstore regardless of decryption state
|
|
||||||
setprop vendor.ramoops.decrypted true
|
|
||||||
|
|
||||||
# Generate keys (if none exist), and load the keys to carveout
|
|
||||||
ramoops -g -l -c
|
|
Loading…
Add table
Add a link
Reference in a new issue