Skip to content

Commit 2900ebe

Browse files
committed
Cleanup
1 parent 1d90ec2 commit 2900ebe

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ ENV := $(shell cat ../../.last_used_env || echo "not-set")
33

44
.PHONY: build
55
build:
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
914
upload:

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)