umorpha-boxes/images/mario.sh

41 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2023-10-28 20:37:09 +00:00
#!/bin/sh
2024-01-19 05:44:23 +00:00
# Copyright (C) 2023-2024 Umorpha Systems
2023-10-28 20:37:09 +00:00
# SPDX-License-Identifier: AGPL-3.0-or-later
2023-10-31 07:43:40 +00:00
# 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
2023-10-28 20:37:09 +00:00
osi-mk \
2024-03-04 22:27:02 +00:00
--fmt=erofs \
--fmtconf=erofs_compression=lz4 \
2023-10-29 03:32:46 +00:00
--conf=hostname=mario.mothstuff.lol \
2023-10-28 22:12:25 +00:00
\
2023-10-28 20:37:09 +00:00
--package=base \
2024-01-24 06:33:42 +00:00
--package=linux-libre \
2023-10-28 22:12:25 +00:00
\
2023-10-31 08:53:18 +00:00
--conf=bootloader=none \
--conf=genfstab=false \
2024-01-19 05:44:23 +00:00
--package=grub \
--package-file=pkg/umorpha-disk.pkg.tar.zst \
2023-10-31 07:43:40 +00:00
--module=modules/umorpha-disk.sh \
2023-10-31 08:53:18 +00:00
\
2023-10-28 20:37:09 +00:00
--module=modules/umorpha-branding.sh \
2023-10-31 07:43:40 +00:00
--module=modules/umorpha-sshusers.sh \
2023-10-29 03:32:46 +00:00
\
--module=modules/base-net.sh \
2023-10-29 07:58:53 +00:00
--module=modules/base-acme.sh \
2024-02-12 19:39:33 +00:00
--module=modules/service-mothstuff-apex.sh \
2024-02-12 22:01:23 +00:00
--module=modules/service-umorpha-apex.sh \
2023-10-29 03:32:46 +00:00
--module=modules/service-gitea.sh \
2023-12-07 16:55:46 +00:00
--package-file=pkg/bookstack.pkg.tar.zst \
--module=modules/service-bookstack.sh \
2024-01-24 07:07:11 +00:00
--package-file=pkg/umorpha-avatard.pkg.tar.zst \
--module=modules/service-avatard.sh \
2023-10-28 22:12:25 +00:00
\
2023-11-05 07:49:29 +00:00
--conf=SOURCE_DATE_EPOCH=auto \
2023-11-04 08:42:45 +00:00
--module=modules/base-reproducible.sh \
\
2023-10-28 20:37:09 +00:00
"$@"