Replace numbered build scripts with updated ones

This commit is contained in:
2014-12-26 15:04:41 +01:00
parent 86776154c8
commit 4c35d6757c
21 changed files with 34 additions and 29 deletions

13
build/scripts/hosts.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
source /build/config
set -x
## Hosts file hack
LD_LIBRARY_PATH=/root/lib
mkdir -p $LD_LIBRARY_PATH
cp /lib/x86_64-linux-gnu/libnss_files.so.2 $LD_LIBRARY_PATH
sed -i 's,/etc/hosts,/tmp/hosts,' $LD_LIBRARY_PATH/libnss_files.so.2
## Environment variable
echo -n $LD_LIBRARY_PATH > /etc/container_environment/LD_LIBRARY_PATH