File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,12 @@ ENV := $(shell cat ../../.last_used_env || echo "not-set")
33
44.PHONY : build
55build :
6- ./build.sh
6+ @versions_json=$$(./scripts/parse-versions-with-hash.sh firecracker_versions.txt ) ; \
7+ echo " $$ versions_json" | jq -r ' .[] | "\(.version)|\(.hash)|\(.version_name)"' | \
8+ while IFS=' |' read -r version hash version_name; do \
9+ echo " Building $$ version_name..." ; \
10+ ./build.sh " $$ version" " $$ hash" " $$ version_name" ; \
11+ done
712
813.PHONY : upload
914upload :
Original file line number Diff line number Diff line change @@ -17,11 +17,9 @@ This project automates the building of custom Firecracker. It supports building
1717
1818 ``` sh
1919 make build
20- # or directly
21- ./build.sh
2220 ```
2321
24- The built firecrackers will be placed in ` builds/firecracker-<version >/firecracker ` .
22+ The built firecrackers will be placed in ` builds/<version_name >/firecracker ` .
2523
2624## Development Workflow
2725
You can’t perform that action at this time.
0 commit comments