Builder scripts
Go to file
fbt b42e62d9d6 Fleshless mirrorlist
Signed-off-by: fbt <fbt@fleshless.org>
2022-12-16 13:09:53 +00:00
autobuilder Fleshless mirrorlist 2022-12-16 13:09:53 +00:00
makepkg-ci cleanup with a trap 2021-03-06 11:29:30 +03:00
makepkg-podman work with no keep-id 2021-10-06 10:57:26 +03:00
pkgbuilder this is a bit simpler 2021-03-06 06:41:56 +03:00
pkgbuilder.config pkgbuilder 2021-03-06 08:55:16 +03:00
README.md Arch 2021-03-06 09:28:11 +03:00

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
# or
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 .

Example for Arch images:

cd autobuilder
podman build --build-arg BASEIMAGE=docker.io/archlinux:base-devel --rm -t localhost/arch:autobuilder .

PODMAN_IMAGE=localhost/arch:autobuilder makepkg-ci /tmp/pkg https://code.fleshless.org/PKGBUILDs/ssm-git

makepkg-podman

Builds Arch packages using podman. Takes the image name in the PODMAN_IMAGE env var.

Usage:

[PODMAN_IMAGE=<image>] makepkg-podman [makepkg_args]

Example:

git clone https://code.fleshless.org/PKGBUILDs/ssm-git /tmp/ssm-git
cd /tmp/ssm-git
makepkg-podman -sL

makepkg-ci

Builds Arch packages from a git repo using makepkg-podman and puts the packages into dest.

Usage:

[PODMAN_IMAGE=<image>] makepkg-ci <dest> <url>

Example:

makepkg-ci /tmp/artifacts https://code.fleshless.org/PKGBUILDs/ssm-git

pkgbuilder

Tracks given git repos for changes and builds packages on updates. pkgbuilder.conf goes into $XDG_CONFIG_HOME/pkgbuilder/config

Usage:

pkgbuilder