umorpha-boxes/images/mario.sh

31 lines
811 B
Bash
Raw Normal View History

2023-10-28 20:37:09 +00:00
#!/bin/sh
# Copyright (C) 2023 Umorpha Systems
# 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 \
2023-10-30 21:05:53 +00:00
--conf=format=erofs \
--conf=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 \
2023-10-29 07:58:53 +00:00
--package=linux-libre-vanilla \
2023-10-28 20:37:09 +00:00
--conf=initramfs=mkinitcpio \
2023-10-28 22:12:25 +00:00
\
2023-10-31 08:53:18 +00:00
--conf=bootloader=none \
--conf=genfstab=false \
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 \
2023-10-29 03:32:46 +00:00
--module=modules/service-gitea.sh \
2023-10-28 22:12:25 +00:00
\
2023-10-28 20:37:09 +00:00
"$@"