]> git.ipfire.org Git - ipfire-2.x.git/commit - make.sh
make.sh: Mount /usr/src in memory for faster build
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 8 May 2019 18:16:26 +0000 (19:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 May 2019 03:55:49 +0000 (04:55 +0100)
commit7c984de699951ef610158fce0dd6371f22eccb93
treeda1dde5e1501ee79a5ef7895247b0addc7dde3be
parent8c072c5c43a98c58017c5f3442d9e22920dba1a0
make.sh: Mount /usr/src in memory for faster build

This patch enables that /usr/src is a ramdisk which should
give us fewer I/O operations when extracting tarballs or
writing small intermediate files by the compiler.

In some virtualised environments this should bring a good
performance boost.

There is no persistent data stored in this directory and
some persistent directories are mounted over it.

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