Commit 77fb877f authored by Guido Gunther's avatar Guido Gunther

Allow to compress image

parent f036bd10
*.deb
bootmp.img
bootmp.img.xz
bootmp.img.log
files/
# SPDX-License-Identifier: GPL-3.0+
IMAGE=bootmp.img
COMPRESSED=bootmp.img.xz
all: $(IMAGE)
all: $(COMPRESSED)
bootmp.img: lava.sh root.sh
$(IMAGE): lava.sh root.sh
./lava.sh
$(COMPRESSED): $(IMAGE)
xz -T0 --stdout $< > $@
clean:
rm -f *.deb bootmp.img bootmp.img.log
rm -f *.deb bootmp.img*
check:
bash -n lava.sh root.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment