readme; also interactivity

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2021-03-06 07:31:06 +03:00
parent d42669565c
commit 125903dbcd
2 changed files with 13 additions and 1 deletions

12
autobuilder/README.md Normal file
View File

@ -0,0 +1,12 @@
Spark autobuilder
=================
To use the build scripts, grab the latest Spark rootfs in one of the following ways:
* `curl -sL https://spark.fleshless.org/rootfs/latest.tar.xz | podman import - localhost/spark`
* `git clone https://code.fleshless.org/Spark/spark-rootfs.git; cd spark-rootfs; podman build --rm -t localhost/spark .`
Then build a builder image from `./autobuilder`: `cd ./autobuilder; podman build --rm -t localhost/spark:autobuilder .`
Examples:
* `git clone https://code.fleshless.org/PKGBUILDs/ssm-git /tmp/ssm-git; cd /tmp/ssm-git; makepkg-podman -sL`
* `podman-ci /tmp/artifacts; makepkg-ci https://code.fleshless.org/PKGBUILDs/ssm-git`

View File

@ -3,7 +3,7 @@
image=${PODMAN_IMAGE:-localhost/spark:autobuilder} image=${PODMAN_IMAGE:-localhost/spark:autobuilder}
podman_cmd=( podman_cmd=(
podman run --rm -u root podman run --rm -it -u root
--userns=keep-id --userns=keep-id
-v "$PWD:/buildroot" -v "$PWD:/buildroot"
--workdir /buildroot --workdir /buildroot