|
|
|
@ -20,9 +20,18 @@ build_filesystem:
|
|
|
|
|
tar -czf rootfs.tar.gz *
|
|
|
|
|
mv filesystem.tmp/rootfs.tar.gz deps/
|
|
|
|
|
|
|
|
|
|
aci_build: |
|
|
|
|
aci_build_web: |
|
|
|
|
cd deps/ && \
|
|
|
|
|
mkdir -p stage.tmp/seedpod-layout/
|
|
|
|
|
mkdir -p stage.tmp/theme && \
|
|
|
|
|
wget -O stage.tmp/theme.tar.gz $(WEB_THEME) && \
|
|
|
|
|
tar -xzf stage.tmp/theme.tar.gz -C stage.tmp/theme --strip-components 1
|
|
|
|
|
mkdir -p seedpod-layout/rootfs/
|
|
|
|
|
tar -xzf deps/rootfs.tar.gz -C seedpod-layout/rootfs/
|
|
|
|
|
cp deps/config.ovpn seedpod-layout/rootfs/
|
|
|
|
|
cp deps/creds.x seedpod-layout/rootfs/
|
|
|
|
|
cp deps/settings.json seedpod-layout/rootfs/transmission/
|
|
|
|
|
cp -R deps/stage.tmp/theme/ seedpod-layout/rootfs/usr/share/transmission/web/
|
|
|
|
|
cp deps/run.sh seedpod-layout/rootfs/
|
|
|
|
|
|
|
|
|
|
docker_build: |
|
|
|
|
cd deps/ && \
|
|
|
|
@ -49,7 +58,8 @@ docker_run:
|
|
|
|
|
$(IMAGE_NAME)
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
|
rm -rf deps/stage.tmp
|
|
|
|
|
rm -rf deps/stage.tmp/
|
|
|
|
|
rm -rf seedpod-layout/
|
|
|
|
|
@if [ -d "filesystem.tmp/" ]; then \
|
|
|
|
|
$(OS_PERMS) rm -rf filesystem.tmp; \
|
|
|
|
|
fi
|
|
|
|
|