roundshot

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

commit 234e541bb424954cd531aafe4ce5101d565a22f6
parent 6134ec9a333d2698565c92d7ebc2553730bcd930
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 15 Dec 2017 15:07:45 +0100

Squashfs creation

Diffstat:
MMakefile | 9+++++++--
Asquashfs/Makefile | 18++++++++++++++++++
Asquashfs/config.mk | 3+++
Asquashfs/overlay/.keep | 0
4 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,18 +5,23 @@ all: cd toolchain && make cd initramfs && make cd linux && make + cp -ra linux/build/lib squashfs/overlay + cd squashfs && make dist: all mkdir -p dist - cp -ra linux/build dist/linux-build - cp -ra initramfs/initramfs.cpio.bz2 dist + cp -fra linux/build dist/linux-build + cp -fra initramfs/initramfs.cpio.bz2 dist + cp -f squashfs/filesystem.squashfs dist clean: make -C toolchain clean make -C initramfs clean make -C linux clean + make -C squashfs clean distclean: make -C toolchain distclean make -C initramfs distclean make -C linux distclean + make -C squashfs distclean diff --git a/squashfs/Makefile b/squashfs/Makefile @@ -0,0 +1,18 @@ +# roundshot +# See LICENSE file for copyright and license details + +include config.mk + +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 + +clean: + rm -rf $(shell basename $(ROOTFS_URL)) $(shell basename -s .tar.gz $(ROOTFS_URL)) + +distclean: clean + rm -f filesystem.squashfs diff --git a/squashfs/config.mk b/squashfs/config.mk @@ -0,0 +1,3 @@ +# See LICENSE file for copyight and license details + +ROOTFS_URL="https://pub.parazyd.cf/tmp/rootfs.tar.gz" diff --git a/squashfs/overlay/.keep b/squashfs/overlay/.keep