summaryrefslogtreecommitdiff
path: root/contrib/build-env-setup/setup
diff options
context:
space:
mode:
authorhiddenalpha.ch2026-08-30 00:01:23 +0200
committerhiddenalpha.ch2026-08-30 00:01:23 +0200
commit5e97eeceb9dec727fe1bce20660069b5f69a5d8a (patch)
treecc9c5c99408cc16faec6f83e73ad4644bc0a2051 /contrib/build-env-setup/setup
parent48d5db8a3303a862d1a2a89eecfd7c7409c3d4f2 (diff)
downloadbulk-ln-5e97eeceb9dec727fe1bce20660069b5f69a5d8a.tar.gz
bulk-ln-5e97eeceb9dec727fe1bce20660069b5f69a5d8a.zip
de-clutter whole project
Diffstat (limited to 'contrib/build-env-setup/setup')
-rw-r--r--contrib/build-env-setup/setup27
1 files changed, 0 insertions, 27 deletions
diff --git a/contrib/build-env-setup/setup b/contrib/build-env-setup/setup
deleted file mode 100644
index f5f51ce..0000000
--- a/contrib/build-env-setup/setup
+++ /dev/null
@@ -1,27 +0,0 @@
-
-echo "WARN: read (AND UNDERSTAND) the README before running this script!"
-sleep 3
-exit 1
-
-
-true \
- && GIT_TAG="master" \
- && CONFIGURE_OPTS= \
- && WORKDIR="${HOME:?}/work" \
- && PKGS_TO_ADD="ca-certificates curl gcc git make libc-dev tar" \
- && SUDO=sudo \
- && PKGINIT="$SUDO apt update" \
- && PKGADD="$SUDO apt install -y --no-install-recommends" \
- && `# prepare` \
- && mkdir -p "${WORKDIR:?}" && cd "${WORKDIR:?}" \
- && ${PKGINIT:?} && ${PKGADD:?} $PKGS_TO_ADD \
- && git clone --depth 42 --branch "${GIT_TAG:?}" https://github.com/hiddenalpha/bulk-ln.git . \
- && git config advice.detachedHead false \
- && git checkout "${GIT_TAG:?}" \
- && ./configure $CONFIGURE_OPTS \
- && make clean && make -j$(nproc) \
- && $SUDO make install \
- && dirOfDistBundle="$(realpath dist)" \
- && printf '\n SUCCESS :) Distribution bundle is ready in:\n\n %s\n\n Tip: Before pulling out your hair about how to get that archive out of\n your qemu VM. STOP kluding around with silly tools and learn how\n basic tools do the job perfectly fine:\n\n ssh %s@localhost -p%d -T '\''true && cd "%s" && tar c *'\'' | tar x\n\n BTW: In addition bulk-ln got installed and is ready-to-use.\n\n' "${dirOfDistBundle:?}" "$USER" "$(env|grep SSH_CLIENT|cut -d' ' -f3)" "${dirOfDistBundle:?}" \
- && true
-