Skip to content

Commit

Permalink
add lilydevos-vm zip compression
Browse files Browse the repository at this point in the history
  • Loading branch information
fedelibre committed Jul 13, 2017
1 parent 2f673db commit 15b1ed1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ RELEASE = 0.1

SOURCES = mkosi.fedora mkosi.postinst $(wildcard mkosi.extra/*)

.PHONY: all
all: lilydevos-$(RELEASE) lilydevos-vm-$(RELEASE)

lilydevos-$(RELEASE): $(SOURCES)
Expand All @@ -11,6 +12,11 @@ lilydevos-vm-$(RELEASE): $(SOURCES)
sudo mkosi --checksum --default mkosi.fedora-lxqt -o lilydevos-vm-$(RELEASE).raw

.PHONY: release
release:
release: lilydevos-$(RELEASE).tar.xz lilydevos-vm-$(RELEASE).zip

lilydevos-$(RELEASE).tar.xz:
sudo tar -cJf lilydevos-$(RELEASE).tar.xz lilydevos-$(RELEASE)

lilydevos-vm-$(RELEASE).zip:
sudo zip lilydevos-vm-$(RELEASE).zip SHA256SUMS lilydevos-vm-$(RELEASE).raw

0 comments on commit 15b1ed1

Please sign in to comment.