158 Commits

Author SHA1 Message Date
67ea72de51 feat(iso): Add setup function to generate answer file (#21) 2023-11-05 04:51:32 +01:00
9f3ada2a36 feat(iso): Parse arguments (#21) 2023-11-05 04:50:31 +01:00
28414af039 refactor(iso): Globally define name of settings file (#21) 2023-11-05 04:49:32 +01:00
a2cb784cb3 feat(zbm): In Syslinux/extlinux mode add KCL (#6) 2023-11-04 01:08:39 +01:00
9560677352 fix(zbm): Link to dropbear patch hooks (#6) 2023-11-04 00:41:37 +01:00
52c09fc93f docs(zbm): Explain Syslinux KCL (#6) 2023-11-04 00:37:30 +01:00
1181432add docs(iso): Explain sed in_array_remove_n mechanism (#6) 2023-11-04 00:32:16 +01:00
e3025883fa docs(iso): Explain sed insert_n_at_the_end mechanism (#6) 2023-11-04 00:32:01 +01:00
79feaed5ac docs(iso): Explain sed insert_n_before_m mechanism (#6) 2023-11-04 00:20:39 +01:00
7d5075a543 fix(ZBM): No KCL inside Syslinux (#6) 2023-11-03 23:43:06 +01:00
003d3f4f2a fix(ZBM): Remove ZBM hook from correct file (#6) 2023-11-03 03:24:33 +01:00
ab5e79d838 refactor(iso): Parallelize pacman in ISO (#6) 2023-11-03 03:24:03 +01:00
53f92032a4 feat(zbm): Add KCL to legacy BIOS ZBM (#6) 2023-11-03 01:40:24 +01:00
b160b4a1e1 feat(zbm): Prepare SSH in ZBM (#6) 2023-11-03 01:38:56 +01:00
1690518197 feat(zbm): Define Dropbear's SSH pub keys (#6) 2023-11-03 01:38:28 +01:00
732cc47405 feat(zbm): Add networking/IP addressing setup to ZBM (#6) 2023-11-03 01:38:11 +01:00
be668b1bdc feat(zbm): Add user's dropbear customizations (#6) 2023-11-03 01:37:38 +01:00
53ed730957 feat(zbm): Add dropbear hook files (#6) 2023-11-03 01:37:15 +01:00
9a89ce4f75 fix(os): Remove zfsbootmenu hook from ZFSBootMenu (#6)
While unintuitive this prevents us from having to
move this hook to the end of the HOOKS array.
If user wants SSH in ZBM we first append 'net' to
the HOOKS array then append 'dropbear'. At this
point the explicit 'zfsbootmenu' hook is no longer
last in line in 'HOOKS' array. This causes ZBM to
trip and to not correctly load net and dropbear.

Since the 'zfsbootmenu' hook is added implicitly
by generate-zbm we don't need the explicit hook
at all. Better remove it. This way it doesn't get in
the way.
2023-11-01 03:53:18 +01:00
3cb68406ed feat(os): Add SSH to ZBM if requested by user (#6) 2023-11-01 03:49:46 +01:00
33966071ce refactor(os): Simplify mkinitcpio.conf manipulation (#6) 2023-11-01 03:49:05 +01:00
4e734330da feat(os): Add helper functions to manipulate HOOKS array (#6) 2023-11-01 03:47:34 +01:00
f1bab6bc60 refactor(os): Simplify extended regex (#6) 2023-11-01 03:05:43 +01:00
5d03799dae refactor(meta): Renumber functions (#9) 2023-10-27 04:24:40 +02:00
cf50632b6c feat(iso): Allow supplementary password/settings file (#9) 2023-10-27 04:23:11 +02:00
0b3f5b75dd docs(iso): EFI System Partition capitalized (#5) 2023-10-27 02:14:36 +02:00
844f574e2d refactor(meta): Renumber functions (#5) 2023-10-27 01:47:53 +02:00
b0842ac9ba refactor(zbm): ZBM image names are now static, no need to regen UEFI boot entries (#5) 2023-10-27 01:46:56 +02:00
03ed6e076d fix(zbm): Use stub file, not its parent directory for image rebuilds (#5) 2023-10-27 01:43:20 +02:00
b5666493f1 feat(zbm): Add pacman hook to auto-regen ZBM image files after package upgrade (#5) 2023-10-27 01:41:19 +02:00
81a7fcd64c fix(zbm): ZBM now comes with an EFI stub loader file, we use that (#5) 2023-10-27 00:23:33 +02:00
a0a05b60d1 fix(os): For BIOS/syslinux hook add rsync dependency (#5) 2023-10-26 03:04:37 +02:00
61c220afd7 feat(os): Add pacman hook to regen syslinux on upgrade (#5) 2023-10-26 02:32:26 +02:00
33e7498529 fix(iso): export vars we'll be needing inside a subshell (#7) 2023-10-23 23:53:11 +02:00
d059cb6ae0 fix(iso): Try and improve mirrorlist handling (#7) 2023-10-23 03:02:23 +02:00
e3d5f2b939 fix(iso): Try and improve mirrorlist handling (#7) 2023-10-23 02:52:10 +02:00
615b8c0e95 fix(iso): Find zfs partition on legacy BIOS machine (#7) 2023-10-23 02:28:01 +02:00
d685431684 feat(iso): Use jq only after it's installed (#7) 2023-10-23 02:16:02 +02:00
2f41de67c6 feat(os): Finalize and umount on legacy BIOS machine (#7) 2023-10-23 02:05:25 +02:00
84266e66cf feat(os): Create syslinux boot loader for legacy BIOS machine (#7) 2023-10-23 02:01:36 +02:00
a654f1ad14 feat(iso): Mount drives on legacy BIOS machine (#7) 2023-10-23 01:18:38 +02:00
78053e813a feat(iso): Select correct partition for zpool on a legacy BIOS machine (#7) 2023-10-23 01:01:18 +02:00
3eee3cbe6b feat(iso): Crudely detect BIOS vs. UEFI intent (#7) 2023-10-23 00:46:15 +02:00
ffa322afdd refactor(iso): Fewer packages needed in ISO (#7) 2023-10-22 16:35:49 +02:00
1a138068d1 refactor(zbm): No ZBM image versioning beyond a main and a backup file (#3) 2023-10-22 15:47:24 +02:00
214f82becf fix(zbm): Use a known good stub loader file (#3)
This works around https://github.com/zbm-dev/zfsbootmenu/issues/503
2023-10-22 14:41:46 +02:00
a9c9b3d788 refactor(iso): Typo (#3) 2023-10-22 02:00:16 +02:00
d3be536516 refactor(iso): Typo (#3) 2023-10-22 01:59:42 +02:00
5d359a3f39 refactor(iso): No kernel updates in ISO (#3) 2023-10-22 01:52:33 +02:00
290e659d29 refactor(zfs): Single-quote dataset options for consistency (#3) 2023-10-22 01:39:57 +02:00