umorpha-boxes/images/mario.sh

41 lines
1.2 KiB
Bash
Executable File

#!/bin/sh
# Copyright (C) 2023-2024 Umorpha Systems
# SPDX-License-Identifier: AGPL-3.0-or-later
# deflate takes about twice as long (2m vs 1m) to compress as lz4, but
# gives 15% smaller results (1G vs 1.2G). Consider switching to
# deflate when that extra minute will be less of a pain for me.
#
# --conf=erofs_compression=deflate,9
osi-mk \
--fmt=erofs \
--fmtconf=erofs_compression=lz4 \
--conf=hostname=mario.mothstuff.lol \
\
--package=base \
--package=linux-libre \
\
--conf=bootloader=none \
--conf=genfstab=false \
--package=grub \
--package-file=pkg/umorpha-disk.pkg.tar.zst \
--module=modules/umorpha-disk.sh \
\
--module=modules/umorpha-branding.sh \
--module=modules/umorpha-sshusers.sh \
\
--module=modules/base-net.sh \
--module=modules/base-acme.sh \
--module=modules/service-mothstuff-apex.sh \
--module=modules/service-umorpha-apex.sh \
--module=modules/service-gitea.sh \
--package-file=pkg/bookstack.pkg.tar.zst \
--module=modules/service-bookstack.sh \
--package-file=pkg/umorpha-avatard.pkg.tar.zst \
--module=modules/service-avatard.sh \
\
--conf=SOURCE_DATE_EPOCH=auto \
--module=modules/base-reproducible.sh \
\
"$@"