From 748c3d0329e42c53670fa02cdc946a8b5746f410 Mon Sep 17 00:00:00 2001 From: Rohit Kushvaha Date: Sat, 11 Oct 2025 08:23:49 +0530 Subject: [PATCH 1/2] Update init-sandbox.sh --- src/plugins/terminal/scripts/init-sandbox.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/plugins/terminal/scripts/init-sandbox.sh b/src/plugins/terminal/scripts/init-sandbox.sh index 3f491f47d..3b8a7c3d8 100644 --- a/src/plugins/terminal/scripts/init-sandbox.sh +++ b/src/plugins/terminal/scripts/init-sandbox.sh @@ -39,16 +39,19 @@ fi ARGS="--kill-on-exit" -for system_mnt in /apex /odm /product /system /system_ext /vendor \ - /linkerconfig/ld.config.txt \ - /linkerconfig/com.android.art/ld.config.txt \ - /plat_property_contexts /property_contexts; do + + +for system_mnt in /apex /odm /product /system /system_ext /vendor /linkerconfig/ld.config.txt /linkerconfig/com.android.art/ld.config.txt /plat_property_contexts /property_contexts; do if [ -e "$system_mnt" ]; then system_mnt=$(realpath "$system_mnt") ARGS="$ARGS -b ${system_mnt}" fi done + + + + unset system_mnt ARGS="$ARGS -b /sdcard" From bfd0ec2546bb491991351a7ec80944d81bde0339 Mon Sep 17 00:00:00 2001 From: RohitKushvaha01 Date: Sat, 11 Oct 2025 08:27:50 +0530 Subject: [PATCH 2/2] chore: enforce LF endings for all shell scripts --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..dfdb8b771 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf