roundshot

n/a
git clone git://parazyd.org/roundshot.git
Log | Files | Refs | LICENSE

commit a423aff09320fc757e287621b115762a3bc963ca
parent 3b41dd30ad587b6a17cc75e2ca286ea92868a5b2
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 15 Jan 2018 19:55:35 +0100

rootfs tarball is now considered a tarbomb.

Diffstat:
Msquashfs/Makefile | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/squashfs/Makefile b/squashfs/Makefile @@ -7,12 +7,13 @@ all: filesystem.squashfs filesystem.squashfs: wget -c $(ROOTFS_URL) - tar xf $(shell basename $(ROOTFS_URL)) - cp -frav overlay/* $(shell basename -s .tar.gz $(ROOTFS_URL)) - mksquashfs $(shell basename -s .tar.gz $(ROOTFS_URL)) $@ -comp xz + mkdir -p rootfs + cd rootfs && tar xf ../$(shell basename $(ROOTFS_URL)) + cp -frav overlay/* rootfs + mksquashfs rootfs $@ -comp xz clean: - rm -rf $(shell basename $(ROOTFS_URL)) $(shell basename -s .tar.gz $(ROOTFS_URL)) + rm -rf rootfs $(shell basename -s .tar.gz $(ROOTFS_URL)) distclean: clean rm -f filesystem.squashfs