summaryrefslogtreecommitdiff
path: root/src/prepare_environment.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 00:40:22 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 00:40:22 +0000
commit2c82b81fcd8fc723712ac605041da5142f765730 (patch)
treeda3ebf0f981d9f6e6bf4ccecef4ba55c044ae0a3 /src/prepare_environment.sh
parent0b0913a10d6714015f1d1afa1a737086e20bac41 (diff)
moved src files to xibuild files
Diffstat (limited to 'src/prepare_environment.sh')
-rwxr-xr-xsrc/prepare_environment.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/prepare_environment.sh b/src/prepare_environment.sh
deleted file mode 100755
index 1f4952d..0000000
--- a/src/prepare_environment.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-export MAKEFLAGS="-j$(grep "processor" /proc/cpuinfo | wc -l)"
-export LDFLAGS="-liconv"
-#export LDFLAGS=""
-
-export XIB_DIR="/var/lib/xib"
-export XIB_BUILDFILES="$XIB_DIR/buildfiles"
-export XIB_CHROOT="$XIB_DIR/chroot"
-export XIB_EXPORT="$XIB_DIR/export"
-
-export PRIV_KEY="/home/david/.ssh/xi.pem"
-export DEVELOPMENT_BUILDFILES="/home/david/docs/proj/xilinux/buildfiles"
-
-export BUILDFILES_GIT_REPO="https://xi.davidovski.xyz/git/buildfiles.git"
-
-mkdir -p $XIB_DIR $XIB_BUILDFILES $XIB_CHROOT $XIB_EXPORT
-
-if [ -d $DEVELOPMENT_BUILDFILES ]; then
- cp -r $DEVELOPMENT_BUILDFILES/* $XIB_BUILDFILES/
-else
- if [ -d $XIB_BUILDFILES/.git ]; then
- cd $XIB_BUILDFILES
- git pull
- cd $OLDPWD
- else
- git clone $BUILDFILES_GIT_REPO $XIB_BUILDFILES
- fi
-fi
-
-
-cp /etc/resolv.conf $XIB_CHROOT/etc/resolv.conf