commit | 824eb0c6ade808c4501e62fbcf0025f4e694cd11 | [log] [tgz] |
---|---|---|
author | yuezonghe <zh.yue@mobiletek.cn> | Thu Jun 27 02:32:26 2024 -0700 |
committer | yuezonghe <zh.yue@mobiletek.cn> | Thu Jun 27 02:44:13 2024 -0700 |
tree | 13cee949649ece72b1c31aba2eea600eea6614d6 | |
parent | 703a1d3d22068e43b7bb3d63b3020b975fee9c3f [diff] [blame] |
zte's code,first commit Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/fix_userdata_link.sh b/ap/build/fix_userdata_link.sh new file mode 100755 index 0000000..67d23c7 --- /dev/null +++ b/ap/build/fix_userdata_link.sh
@@ -0,0 +1,6 @@ +#!/bin/bash + +DEST_DIR=$1 + +rm -fv $DEST_DIR/cache $DEST_DIR/var $DEST_DIR/etc_rw +cd $DEST_DIR && ln -s /mnt/userdata/cache cache && ln -s /mnt/userdata/var var && ln -s /mnt/userdata/etc_rw etc_rw