ci: Makefile cleanup
This commit is contained in:
parent
e1934a992b
commit
7890cfb794
7
Makefile
7
Makefile
@ -11,9 +11,10 @@ CF_DIST := E1YFUJXMCXT2RN
|
||||
BUILDER_RELEASE = $(shell echo $(BUILDER) | sed -e 's/-.*$$//')
|
||||
RELEASE := $(shell echo $(BUILDER_RELEASE) | sed -e 's/\.[0-9]$$//')
|
||||
|
||||
.PHONY: aarch64-toolchain packages distfiles aports apk
|
||||
|
||||
aarch64-toolchain:
|
||||
@podman run -it --rm \
|
||||
podman run -it --rm \
|
||||
-v ${PWD}/distfiles:/var/cache/distfiles \
|
||||
-v ${PWD}/packages:/home/alpine/packages \
|
||||
-v ${PWD}/aports:/home/alpine/aports \
|
||||
@ -28,8 +29,8 @@ distfiles:
|
||||
mkdir -p distfiles
|
||||
|
||||
aports:
|
||||
@[ -d aports/.git ] && { cd aports; git pull origin $(BUILDER_RELEASE); }
|
||||
@[ -d aports/.git ] || { git clone https://gitlab.alpinelinux.org/alpine/aports.git && \
|
||||
[ -d aports/.git ] && { cd aports; git pull origin $(BUILDER_RELEASE); }
|
||||
[ -d aports/.git ] || { git clone https://gitlab.alpinelinux.org/alpine/aports.git && \
|
||||
cd aports && git checkout $(BUILDER_RELEASE); }
|
||||
|
||||
apk: packages distfiles
|
||||
|
Loading…
Reference in New Issue
Block a user