Commit Graph
221 Commits
Author SHA1 Message Date
hygienic-books 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
hygienic-books 3cb68406ed feat(os): Add SSH to ZBM if requested by user (#6) 2023-11-01 03:49:46 +01:00
hygienic-books 33966071ce refactor(os): Simplify mkinitcpio.conf manipulation (#6) 2023-11-01 03:49:05 +01:00
hygienic-books 4e734330da feat(os): Add helper functions to manipulate HOOKS array (#6) 2023-11-01 03:47:34 +01:00
hygienic-books f1bab6bc60 refactor(os): Simplify extended regex (#6) 2023-11-01 03:05:43 +01:00
hygienic-books a41d0599e6 Merge pull request '9-settings-file' (#14) from 9-settings-file into main
Reviewed-on: #14
2023-10-27 03:05:46 +00:00
hygienic-books d1ad95dc76 docs(meta): Explain password requirement (#5) 2023-10-27 05:02:53 +02:00
hygienic-books 5d03799dae refactor(meta): Renumber functions (#9) 2023-10-27 04:24:40 +02:00
hygienic-books cf50632b6c feat(iso): Allow supplementary password/settings file (#9) 2023-10-27 04:23:11 +02:00
hygienic-books b83cce2aec docs(meta): Link to hook Git repos (#5) 2023-10-27 03:14:20 +02:00
hygienic-books bb8c052f8b Merge pull request '5-auto-regen-zbm' (#13) from 5-auto-regen-zbm into main
Reviewed-on: #13
2023-10-27 01:09:08 +00:00
hygienic-books edd104ed1c docs(meta): Adjust for UEFI/legacy BIOS difference (#5) 2023-10-27 02:49:03 +02:00
hygienic-books 9f0f19355e docs(iso): Master Boot Record capitalized (#5) 2023-10-27 02:15:46 +02:00
hygienic-books 0b3f5b75dd docs(iso): EFI System Partition capitalized (#5) 2023-10-27 02:14:36 +02:00
hygienic-books 04f206129f docs(iso): Typo (#5) 2023-10-27 02:12:36 +02:00
hygienic-books e42e92874e docs(iso): Explain UEFI/legacy BIOS reqirements (#5) 2023-10-27 02:12:09 +02:00
hygienic-books 56dc2f85a6 docs(iso): Homogenize MBR partition type codes (#5) 2023-10-27 02:11:27 +02:00
hygienic-books a00b8e8009 refactor(meta): Update lsblk UEFI/GPT output (#5) 2023-10-27 01:55:35 +02:00
hygienic-books 844f574e2d refactor(meta): Renumber functions (#5) 2023-10-27 01:47:53 +02:00
hygienic-books 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
hygienic-books 03ed6e076d fix(zbm): Use stub file, not its parent directory for image rebuilds (#5) 2023-10-27 01:43:20 +02:00
hygienic-books b5666493f1 feat(zbm): Add pacman hook to auto-regen ZBM image files after package upgrade (#5) 2023-10-27 01:41:19 +02:00
hygienic-books 81a7fcd64c fix(zbm): ZBM now comes with an EFI stub loader file, we use that (#5) 2023-10-27 00:23:33 +02:00
hygienic-books a0a05b60d1 fix(os): For BIOS/syslinux hook add rsync dependency (#5) 2023-10-26 03:04:37 +02:00
hygienic-books 5f98a971ec fix(os): Specify maintenance instructions for UEFI/BIOS (#5) 2023-10-26 03:02:34 +02:00
hygienic-books 61c220afd7 feat(os): Add pacman hook to regen syslinux on upgrade (#5) 2023-10-26 02:32:26 +02:00
hygienic-books 544b0074e2 Merge pull request '7-add-legacy-bios-support' (#8) from 7-add-legacy-bios-support into main
Reviewed-on: #8
2023-10-24 00:25:34 +00:00
hygienic-books 33e7498529 fix(iso): export vars we'll be needing inside a subshell (#7) 2023-10-23 23:53:11 +02:00
hygienic-books d059cb6ae0 fix(iso): Try and improve mirrorlist handling (#7) 2023-10-23 03:02:23 +02:00
hygienic-books e3d5f2b939 fix(iso): Try and improve mirrorlist handling (#7) 2023-10-23 02:52:10 +02:00
hygienic-books 615b8c0e95 fix(iso): Find zfs partition on legacy BIOS machine (#7) 2023-10-23 02:28:01 +02:00
hygienic-books d685431684 feat(iso): Use jq only after it's installed (#7) 2023-10-23 02:16:02 +02:00
hygienic-books 2f41de67c6 feat(os): Finalize and umount on legacy BIOS machine (#7) 2023-10-23 02:05:25 +02:00
hygienic-books 84266e66cf feat(os): Create syslinux boot loader for legacy BIOS machine (#7) 2023-10-23 02:01:36 +02:00
hygienic-books a654f1ad14 feat(iso): Mount drives on legacy BIOS machine (#7) 2023-10-23 01:18:38 +02:00
hygienic-books 78053e813a feat(iso): Select correct partition for zpool on a legacy BIOS machine (#7) 2023-10-23 01:01:18 +02:00
hygienic-books 3eee3cbe6b feat(iso): Crudely detect BIOS vs. UEFI intent (#7) 2023-10-23 00:46:15 +02:00
hygienic-books 73001c8e95 docs(iso): Differentiate between UEFI and legacy BIOS (#7) 2023-10-23 00:08:27 +02:00
hygienic-books ffa322afdd refactor(iso): Fewer packages needed in ISO (#7) 2023-10-22 16:35:49 +02:00
hygienic-books 38396d7ccf Merge pull request '3-xen-orchestra-install' (#4) from 3-xen-orchestra-install into main
Reviewed-on: #4
2023-10-22 14:23:53 +00:00
hygienic-books 4e795c9cb7 docs(zfs): Export zpool when done working on it (#3) 2023-10-22 16:04:43 +02:00
hygienic-books 2e39075273 docs(zfs): Fewer single quotes (#3) 2023-10-22 15:50:45 +02:00
hygienic-books 4dab010efd docs(zfs): Export zpool when done working on it (#3) 2023-10-22 15:48:33 +02:00
hygienic-books 1a138068d1 refactor(zbm): No ZBM image versioning beyond a main and a backup file (#3) 2023-10-22 15:47:24 +02:00
hygienic-books 7133883a5e docs(zfs): Explain how to mount externally (#3) 2023-10-22 15:29:46 +02:00
hygienic-books ae00207947 refactor(zbm): Point to chroot (#3) 2023-10-22 15:26:50 +02:00
hygienic-books 108883fd11 docs(meta): Update lsblk output (#3) 2023-10-22 14:48:46 +02:00
hygienic-books cc6e17f06c fix(zbm): Correctly set EFI loader paths (#3) 2023-10-22 14:42:24 +02:00
hygienic-books 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
hygienic-books 0fa1564405 fix(zbm): We may want to actually run our ZBM postconf hook (#3) 2023-10-22 03:22:12 +02:00