Skip to content

Instantly share code, notes, and snippets.

@serverhorror
Created September 29, 2016 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serverhorror/01bfaad71eec331608f755e31d2077d7 to your computer and use it in GitHub Desktop.
Save serverhorror/01bfaad71eec331608f755e31d2077d7 to your computer and use it in GitHub Desktop.
acbuild.acbuild
all: clean aci run
run:
rkt --insecure-options=image run acbuild-0.4.0-linux-amd64.aci
clean:
rm -f acbuild-0.4.0-linux-amd64.aci
.ONESHELL:
SHELL = /bin/bash
SHELLFLAGS = -x
aci:
acbuild --debug begin
acbuild --debug set-name example.com/hello
acbuild --debug copy /usr/local/bin/acbuild /bin/acbuild
acbuild --debug copy /lib64/ld-2.23.so /lib64/ld-2.23.so
acbuild --debug copy /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
acbuild --debug copy /lib64/libpthread-2.23.so /lib64/libpthread-2.23.so
acbuild --debug copy /lib64/libpthread.so.0 /lib64/libpthread.so.0
acbuild --debug copy /lib64/libc-2.23.so /lib64/libc-2.23.so
acbuild --debug copy /lib64/libc.so.6 /lib64/libc.so.6
acbuild --debug set-exec /bin/acbuild
acbuild --debug label add version 0.4.0
acbuild --debug label add arch amd64
acbuild --debug label add os linux
acbuild --debug annotation add authors "Martin Marcher <martin@marcher.name>"
acbuild --debug write acbuild-0.4.0-linux-amd64.aci
acbuild --debug end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment