diff options
Diffstat (limited to 'chapter6/file.sh')
-rw-r--r-- | chapter6/file.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chapter6/file.sh b/chapter6/file.sh new file mode 100644 index 0000000..bb13927 --- /dev/null +++ b/chapter6/file.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +mkdir build +pushd build > /dev/null + + ../configure --disable-bzlib \ + --disable-libseccomp \ + --disable-xzlib \ + --disable-zlib && + make && +popd > /dev/null + +./configure --prefix=/usr --host=${LFS_TGT} --build=$(./config.guess) && +make FILE_COMPILE=$(pwd)/build/src/file && +make DESTDIR=${LFS} -j1 install
\ No newline at end of file |