Skip to content

Commit

Permalink
get more disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
0312birdzhang authored Apr 4, 2023
1 parent 4aff733 commit fe9c122
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-hal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ echo 'AUDIOPOLICYSERVICE_ENABLE := 1' >> external/droidmedia/env.mk
#manually clone gpg
git clone https://github.com/fredldotme/android_external_gpg.git --depth=1 external/gpg

# for more space
rm -rf .repo

source build/envsetup.sh
virtualenv --python 2.7 ~/python27
source ~/python27/bin/activate
Expand Down
4 changes: 4 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ function makeFlashableZip(){
zip -r $LOCAL_WORKDIR/$zipfolder.zip halium-boot.img rootfs.img.gz system.img.gz META-INF
}

function cleanSpace(){
cd $LOCAL_WORKDIR
rm -rf kernel device vendor .repo prebuilts
}

function main(){
cd $LOCAL_WORKDIR
Expand Down

0 comments on commit fe9c122

Please sign in to comment.