Skip to main content

max / mountaineer

2.2 KB · 76 lines History Blame Raw
1 # mkimg.mountaineer-server.sh
2 #
3 # Mountaineer Server profile for Alpine's mkimage. Consumed by
4 # aports/scripts/mkimage.sh — build.sh copies this and
5 # genapkovl-mountaineer-server.sh into a checked-out aports tree's
6 # scripts/ directory before invoking mkimage.
7 #
8 # Status: MVP. The package list pulls from the apkovl's etc/apk/world at
9 # build time (via the genapkovl script) so the live ISO and the installed
10 # system can drift independently if needed.
11
12 profile_mountaineer_server() {
13 profile_base
14 title="Mountaineer Server"
15 desc="Mountaineer Server installer ISO — ZFS-on-root, s6-rc, hardened defaults."
16
17 # Shorter than $PROFILE for gen_volid() which truncates at 32 chars.
18 # "alpine-mountaineer v3.23 x86_64" = 31 chars; no trailing-space mismatch.
19 profile_abbrev="mountaineer"
20 arch="x86_64"
21 image_ext="iso"
22 image_name="mountaineer-server"
23
24 kernel_flavors="lts"
25 kernel_cmdline="console=tty0 console=ttyS0,115200"
26 initfs_cmdline="modules=loop,squashfs,sd-mod,usb-storage,zfs quiet"
27 initfs_features="ata base bootchart cdrom dhcp ext4 keymap kms mmc nvme raid scsi squashfs usb virtio nfit zfs"
28
29 # apkovl: name of the gen-script in scripts/. mkimage's build_apkovl()
30 # runs this with hostname as argv1 and expects $hostname.apkovl.tar.gz
31 # in cwd. The MOUNTAINEER_SRC env var (set by build.sh) tells the
32 # gen-script where to find the Mountaineer source tree.
33 apkovl="genapkovl-mountaineer-server.sh"
34 hostname="mountaineer"
35
36 # Package list for the *live installer environment*. The installed
37 # system's packages come from the apkovl's etc/apk/world; this list is
38 # what the ISO itself needs to boot and run the installer.
39 apks="
40 alpine-base
41 linux-lts
42 linux-firmware-none
43 busybox
44 busybox-suid
45 openssh-server
46 openssh-keygen
47
48 zfs
49 zfs-lts
50
51 nftables
52 chrony
53 unbound
54
55 sgdisk
56 dosfstools
57 e2fsprogs
58 efibootmgr
59 mkinitfs
60
61 dhcpcd
62 ifupdown-ng
63 wpa_supplicant
64
65 dialog
66 ncurses
67 less
68 nano
69
70 curl
71 wget
72 ca-certificates
73 ca-certificates-bundle
74 "
75 }
76