From 00b5d857040492ebdba82e8e79426a1dd533688d Mon Sep 17 00:00:00 2001 From: Zaunz Kenny Date: Mon, 1 Jan 2018 19:51:42 +0100 Subject: [PATCH] Added Natrium mountpoints (Xiaomi Mi5s Plus) --- fixup-mountpoints | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/fixup-mountpoints b/fixup-mountpoints index 3a6f1ee..2b58d8d 100755 --- a/fixup-mountpoints +++ b/fixup-mountpoints @@ -14,7 +14,7 @@ shift echo "Fixing mount-points for device $DEVICE" case "$DEVICE" in - "suzu") + "suzu") sed -i \ -e 's block/bootdevice/by-name/DDR mmcblk0p16 ' \ -e 's block/bootdevice/by-name/FOTAKernel mmcblk0p42 ' \ @@ -1034,6 +1034,21 @@ case "$DEVICE" in -e 's block/bootdevice/by-name/misc mmcblk0p9 ' \ "$@" ;; + "natrium") + sed -i \ + -e 's /dev/block/bootdevice/by-name/boot sde36 ' \ + -e 's /dev/block/bootdevice/by-name/recovery sda13 ' \ + -e 's /dev/block/bootdevice/by-name/cache sda14 ' \ + -e 's /dev/block/bootdevice/by-name/system sde39 ' \ + -e 's /dev/block/bootdevice/by-name/userdata sda15 ' \ + -e 's /dev/block/bootdevice/by-name/persist sda12 ' \ + -e 's /dev/block/bootdevice/by-name/dsp sde32 ' \ + -e 's /dev/block/bootdevice/by-name/modem sde35 ' \ + -e 's /dev/block/bootdevice/by-name/bluetooth sde26 ' \ + -e 's /dev/block/bootdevice/by-name/frp sda7 ' \ + -e 's /dev/block/bootdevice/by-name/misc sda9 ' \ + "$@" + ;; *) cat <