From 9cc41c569556fbd19f4ed77fa9e8f2959855feb5 Mon Sep 17 00:00:00 2001
From: xunmod <116288337+xunmod@users.noreply.github.com>
Date: Sat, 3 Feb 2024 19:33:40 +0800
Subject: [PATCH] Add dependencies and debug

---
 .github/extras.xml          | 2 ++
 .github/workflows/build.yml | 8 +++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/extras.xml b/.github/extras.xml
index 6a7b756..a077a85 100644
--- a/.github/extras.xml
+++ b/.github/extras.xml
@@ -18,10 +18,12 @@
     <project path="external/python3" name="android_external_python3" remote="TeamWin" revision="android-9.0"/>
 
 <!-- Include external LineageOS repos for bash & nano -->
+    <project name="android_external_busybox" path="external/busybox" remote="LineageOS" revision="cm-12.1" />
     <project name="android_external_bash" path="external/bash" remote="LineageOS" revision="cm-12.1" />
     <project name="android_external_nano" path="external/nano" remote="LineageOS" revision="cm-12.1" />
     <project name="android_external_libncurses" path="external/libncurses" remote="LineageOS" revision="cm-12.1" />
     <project name="android_external_openssh" path="external/openssh" remote="LineageOS" revision="cm-12.1" />
+    <project name="android_external_ntfs-3g" path="external/ntfs-3g" remote="LineageOS" revision="cm-12.1" />
     <project name="android_device_ONDA_octopus-ibt" path="device/ONDA/octopus-ibt" remote="xunmod" revision="lollipop" />
 </manifest>
 
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 05df212..05a3e92 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,7 +19,12 @@ jobs:
     steps:
       - name: Get disk usage
         run: |
-          sudo du -hxd3 /__e
+          echo "==========  /  =========="
+          sudo du -hxd3 /
+          echo "========== __e =========="
+          sudo du -hxd2 /__e
+          echo "========== __w =========="
+          sudo du -hxd2 /__w
           df -h
       - name: Get source
         run: |
@@ -34,6 +39,7 @@ jobs:
           wget https://github.com/xunmod/android_device_ONDA_octopus-ibt/raw/lollipop/.github/extras.xml -O .repo/local_manifests/extras.xml
           repo sync -c -f --no-tags --no-clone-bundle -j16
           rm -r device/softwinner/octopus-ibt
+          curl https://github.com/xunmod/twrp_device_ONDA_octopus-ibt/raw/twrp-4.4/twrp_gdb.patch | patch -p1 -
       - name: Build
         shell: bash
         run: |