mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 05:14:18 +08:00
Build minimal and minimal-net images
This commit is contained in:
parent
209961eb97
commit
38e0f178fb
6
mk/ci.mk
6
mk/ci.mk
@ -4,17 +4,17 @@ IMG_TAG?=$(shell git describe --tags)
|
||||
IMG_SEPARATOR?=_
|
||||
IMG_DIR?=build/img/$(ARCH)
|
||||
|
||||
# CI image target - build desktop, server and demo images
|
||||
# CI image target - build standard images
|
||||
# To leave out the build tag, set both IMG_TAG and IMG_SEPARATOR to null
|
||||
ci-img: FORCE
|
||||
rm -rf $(IMG_DIR)
|
||||
mkdir -p $(IMG_DIR)
|
||||
$(MAKE) server desktop demo
|
||||
$(MAKE) minimal minimal-net server desktop demo
|
||||
cd $(IMG_DIR) && zstd --rm *
|
||||
cd $(IMG_DIR) && sha256sum -b * > SHA256SUM
|
||||
|
||||
# The name of the target must match the name of the filesystem config file
|
||||
server desktop demo: FORCE
|
||||
minimal minimal-net server desktop demo: FORCE
|
||||
rm -f "build/$(ARCH)/$@/harddrive.img" "build/$(ARCH)/$@/livedisk.iso"
|
||||
$(MAKE) CONFIG_NAME=$@ build/$(ARCH)/$@/harddrive.img build/$(ARCH)/$@/livedisk.iso
|
||||
mkdir -p $(IMG_DIR)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user