anestisb / android-prepare-vendor

Set of scripts to automate AOSP compatible vendor blobs generation from factory images
347 stars 155 forks source link

TMPDIR too small -- override necessary #129

Closed Rudd-O closed 6 years ago

Rudd-O commented 6 years ago
readonly TMP_WORK_DIR=$(mktemp -d /tmp/android_prepare_vendor.XXXXXX)

That should use $TMPDIR and fall back to /tmp if not set.

Most platforms mount a very limited ramfs /tmp nowadays. This causes builds to fail. Overriding this via the standard variable TMPDIR is the right thing to do.

Rudd-O commented 6 years ago

Same goes for scripts/extract-factory-images.sh.

anestisb commented 6 years ago

Yup, will do across the border.

anestisb commented 6 years ago

Done in https://github.com/anestisb/android-prepare-vendor/commit/b969a3237f7a5bb31b14306b7b9222d4f7a48c2f. Let me know if you still have issues.