mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 21:09:13 +00:00
This was done with the following "script":
git rm pkg/{auditd,binfmt,init}/Makefile
sed -e 's/IMAGE=/image: /g' -i pkg/*/Makefile
sed -e 's/NETWORK=1/network: true/g' -i pkg/*/Makefile
sed -e 's/ARCHES=x86_64/arches:\n - amd64/g' -i pkg/*/Makefile
sed -e '/DEPS:\?=/d' -i pkg/*/Makefile
sed -e '/ARCHES=SKIP/d' -i pkg/node_exporter/Makefile
sed -e 's/include \.\.\/package.mk//g' -i pkg/*/Makefile
sed -e '/^$/d' -i pkg/*/Makefile
git mv pkg/node_exporter/Makefile pkg/node_exporter/build.yml-skip
for i in pkg/*/Makefile ; do git mv $i ${i%Makefile}build.yml ; done
and manual update of pkg/Makefile.
Signed-off-by: Ian Campbell <ijc@docker.com>
20 lines
512 B
Makefile
20 lines
512 B
Makefile
DIRS = $(dir $(shell find . -maxdepth 2 -mindepth 2 -type f -name build.yml))
|
|
.PHONY: push force-push tag forcetag show-tag clean
|
|
|
|
push:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg push "$$d"; done
|
|
|
|
forcepush:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg push --force "$$d"; done
|
|
|
|
tag:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg build "$$d"; done
|
|
|
|
forcetag:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg build --force "$$d"; done
|
|
|
|
show-tag:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg show-tag "$$d"; done
|
|
|
|
clean:
|