Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-extras: Commit

system/extras


Commit MetaInfo

Révision0eb5f3fbfbc7d321bd28aefdad6b27dce6cd57d4 (tree)
l'heure2015-10-06 01:51:54
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

mkuserimg.sh: enlarge extra size according to the targets

The 64-bit target needs more space to hold both 32-bit and 64-bit files.

Change Summary

Modification

--- a/ext4_utils/mkuserimg.sh
+++ b/ext4_utils/mkuserimg.sh
@@ -79,7 +79,8 @@ if [ -z $SIZE ]; then
7979 elif [ 0 -eq 0$SIZE ]; then
8080 s=$(du -sm $SRC_DIR | cut -f1)
8181 e=$(($s / 10))
82- [ $e -lt 80 ] && e=80
82+ echo $TARGET_PRODUCT | grep -q 64 && l=180 || l=100
83+ [ $e -lt $l ] && e=$l
8384 SIZE=$(($s + $e))M
8485 fi
8586
Afficher sur ancien navigateur de dépôt.