mirror of
https://github.com/rancher/os.git
synced 2025-09-23 03:20:07 +00:00
cleanup build a little
This commit is contained in:
@@ -36,7 +36,7 @@ $(DIST)/artifacts/initrd: bin/rancheros assets/docker $(BUILD)/kernel/ $(BUILD)/
|
|||||||
DFS_IMAGE=$(DFS_IMAGE) ./scripts/mk-initrd.sh
|
DFS_IMAGE=$(DFS_IMAGE) ./scripts/mk-initrd.sh
|
||||||
|
|
||||||
|
|
||||||
$(DIST)/artifacts/rancheros.iso: $(DIST)/artifacts/initrd $(DIST)/artifacts/vmlinuz
|
$(DIST)/artifacts/rancheros.iso: minimal
|
||||||
./scripts/mk-rancheros-iso.sh
|
./scripts/mk-rancheros-iso.sh
|
||||||
|
|
||||||
|
|
||||||
@@ -47,18 +47,16 @@ $(DIST)/artifacts/iso-checksums.txt: $(DIST)/artifacts/rancheros.iso
|
|||||||
version:
|
version:
|
||||||
@echo $(VERSION)
|
@echo $(VERSION)
|
||||||
|
|
||||||
installer: $(DIST)/artifacts/initrd $(DIST)/artifacts/vmlinuz
|
installer: minimal
|
||||||
docker build -t $(IMAGE_NAME):$(VERSION) .
|
docker build -t $(IMAGE_NAME):$(VERSION) .
|
||||||
|
|
||||||
build-all: \
|
build-all: minimal installer iso
|
||||||
installer \
|
|
||||||
bin/rancheros \
|
minimal: $(DIST)/artifacts/initrd $(DIST)/artifacts/vmlinuz
|
||||||
$(DIST)/artifacts/initrd \
|
|
||||||
$(DIST)/artifacts/vmlinuz \
|
iso: $(DIST)/artifacts/rancheros.iso $(DIST)/artifacts/iso-checksums.txt
|
||||||
$(DIST)/artifacts/rancheros.iso \
|
|
||||||
$(DIST)/artifacts/iso-checksums.txt
|
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
cd tests/integration && tox
|
cd tests/integration && tox
|
||||||
|
|
||||||
.PHONY: build-all installer version bin/rancheros integration-tests
|
.PHONY: build-all minimal iso installer version bin/rancheros integration-tests
|
||||||
|
Reference in New Issue
Block a user