umorpha-boxes/images/bootstrap.sh

24 lines
576 B
Bash
Raw Normal View History

2023-11-08 05:07:45 +00:00
#!/bin/sh
2024-01-25 21:00:47 +00:00
# Copyright (C) 2023-2024 Umorpha Systems
2023-11-08 05:07:45 +00:00
# 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 \
2024-03-04 22:27:02 +00:00
--fmt=btrfs \
--fmtconf=size=2G \
2023-11-08 05:07:45 +00:00
--conf=hostname=umorpha-bootstrap \
\
--package=base \
2024-01-24 06:33:42 +00:00
--package=linux-libre \
2023-11-08 05:07:45 +00:00
\
--conf=bootloader=none \
--conf=genfstab=false \
\
--module=modules/umorpha-bootstrap.sh \
\
"$@"