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 \
|
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 \
|
2024-01-19 05:44:23 +00:00
|
|
|
--package=grub \
|
2023-12-06 19:25:51 +00:00
|
|
|
--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 \
|
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 \
|
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
|
|
|
"$@"
|