[Build]: Clean up pip cache (#10143)

[Build]: Clean up pip cache
This commit is contained in:
xumia 2022-03-12 19:08:21 +08:00 committed by GitHub
parent 092b0b2ba1
commit ebe2d19623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -577,6 +577,9 @@ sudo LANG=C chroot $FILESYSTEM_ROOT bash -c 'rm -rf /usr/share/doc/* /usr/share/
## Clean up proxy ## Clean up proxy
[ -n "$http_proxy" ] && sudo rm -f $FILESYSTEM_ROOT/etc/apt/apt.conf.d/01proxy [ -n "$http_proxy" ] && sudo rm -f $FILESYSTEM_ROOT/etc/apt/apt.conf.d/01proxy
## Clean up pip cache
sudo LANG=C chroot $FILESYSTEM_ROOT pip3 cache purge
## Umount all ## Umount all
echo '[INFO] Umount all' echo '[INFO] Umount all'
## Display all process details access /proc ## Display all process details access /proc