make.sh: Build in ramdisk
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Dec 2018 16:50:13 +0000 (16:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Dec 2018 16:50:13 +0000 (16:50 +0000)
commit6174b7b1c72cd5141e04ac2621eef90d86987a91
treed5f3acd9f83c37442e95189cbef0a0dcbb23334c
parent53ac9dd222aac232b35d0c1ce453eaf4cacc3419
make.sh: Build in ramdisk

This is an experimental change that I want to trial to speed up
the nightly builds. The build environment will be mounted in a
ramdisk and the build will be performed in there.

This will hopefully reduce IO on the (slow) replicated disks.

If there is no significant performance gain from this, this
commit will be reverted.

To enable this, USE_RAMDISK must be set to 1 in .config.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh