termux-packages/scripts
sogaiu efe2d03821 Vagrantfile tweaks
Existing Vagrantfile lead to some problems here during provisioning:

  1. setup-ubuntu.sh would fail

and after:

  2. build-all.sh would run out of disk space
  3. build-all.sh would exit due to permission issues

Issue 1 can be addressed by running sudo apt-get update before setup-ubuntu.sh in the Vagrantfile.

One way to address issue 2 is to use the vagrant-disksize plugin:

  https://github.com/sprotheroe/vagrant-disksize

It can be installed by:

  vagrant plugin install vagrant-disksize

Then modifying Vagrantfile to contain a line like:

  config.disksize.size = '50GB'

causes the first partition to be enlarged to 50GB during provisioning.  Combined with an appropriate invocation of resize2fs:

  sudo resize2fs /dev/sda1

so that the filesystem in the partition is resized, the disk space issue seems alleviated.

Issue 3 can be addressed by changing the user from 'ubuntu' to 'vagrant' in the Vagrantfile -- at least that's what worked here.
2018-01-25 22:15:35 +01:00
..
apt-compare-versions
build-clang.sh
buildorder.py Modify python formatting 2017-12-05 23:30:44 +01:00
check-pie.sh
check-versions.sh Improve check-versions.sh 2017-11-07 04:58:09 +01:00
clang-pie-wrapper
config.guess
config.sub
Dockerfile Remove NDK gnu-libstdc from the docker image 2017-11-19 14:40:31 +01:00
lint-packages.py Add TERMUX_PKG_REVISION check to lint-packages.py 2017-12-20 00:13:01 +01:00
list-packages.sh Improve scripts/list-packages.sh 2017-12-05 22:36:18 +01:00
meson-android.patch Fix meson patch (fixes #2051) 2018-01-21 20:45:35 +01:00
run-docker.ps1 Add PowerShell script to run Docker (#815) 2017-03-04 22:20:43 +01:00
run-docker.sh Docker: login as "builder" even if run-docker.sh is run as root. 2017-07-22 18:52:08 +02:00
setup-android-sdk.sh Update NDK used to r16 2017-11-15 16:48:35 +01:00
setup-archlinux.sh Enable ghostscript (#1135) 2017-08-11 13:25:55 +02:00
setup-ubuntu.sh Slim down the setup created by setup-ubuntu.sh 2017-11-26 00:43:19 +01:00
test-runner.sh
update-docker.sh
Vagrantfile Vagrantfile tweaks 2018-01-25 22:15:35 +01:00