aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/build-static.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/build-static.sh')
-rwxr-xr-xbuild-aux/build-static.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/build-aux/build-static.sh b/build-aux/build-static.sh
index bf9cbf4..cacca1b 100755
--- a/build-aux/build-static.sh
+++ b/build-aux/build-static.sh
@@ -4,17 +4,4 @@ set -ex
${MAKE_CMD:-make} LDFLAGS="-all-static" blogc
-rm -rf root
-mkdir -p root
-
-install -m 755 blogc root/blogc
-install -m 644 src/blogc-github-lambda/lambda_function.py root/lambda_function.py
-install -m 644 ../LICENSE root/LICENSE
-strip root/blogc
-
-pushd root > /dev/null
-zip "../blogc-github-lambda-${PV}.zip" *
-popd > /dev/null
-
-install -m 755 root/blogc "blogc-static-amd64-${PV}"
-xz -z "blogc-static-amd64-${PV}"
+xz -zc blogc > "blogc-static-amd64-${PV}.xz"