Commit Graph
140 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 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 0b3f5b75dd docs(iso): EFI System Partition capitalized (#5) 2023-10-27 02:14:36 +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 61c220afd7 feat(os): Add pacman hook to regen syslinux on upgrade (#5) 2023-10-26 02:32:26 +02: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 ffa322afdd refactor(iso): Fewer packages needed in ISO (#7) 2023-10-22 16:35:49 +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 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 a9c9b3d788 refactor(iso): Typo (#3) 2023-10-22 02:00:16 +02:00
hygienic-books d3be536516 refactor(iso): Typo (#3) 2023-10-22 01:59:42 +02:00
hygienic-books 5d359a3f39 refactor(iso): No kernel updates in ISO (#3) 2023-10-22 01:52:33 +02:00
hygienic-books 290e659d29 refactor(zfs): Single-quote dataset options for consistency (#3) 2023-10-22 01:39:57 +02:00
hygienic-books d1407f00a9 refactor(meta): Update function numbering (#3) 2023-10-21 05:14:38 +02:00
hygienic-books 767e9c3b42 refactor(meta): Reorder functions (#3) 2023-10-21 05:09:25 +02:00
hygienic-books 915ded9c1b refactor(zbm): Update UEFI boot entries when images are done (#3) 2023-10-21 05:08:22 +02:00
hygienic-books 598b176ec6 refactor(zbm): Add ZBM postconf hook (#3)
We're adding this to our chroot after we've
generated a ZBM UEFI image file /without/
this hook script. It's meant to run only in our real
OS.
2023-10-21 05:07:02 +02:00
hygienic-books dcc3cf7d93 refactor(zbm): Streamline ZBM image creation (#3) 2023-10-21 05:05:17 +02:00
hygienic-books be63ed90ad refactor(zbm): We're not building in Arch Linux live CD ISO image (#3)
We don't need rsync anymore either since we
won't have to shuffle UEFI images around.
2023-10-21 05:03:09 +02:00
hygienic-books b36d4d33c3 refactor(os): pacman install in one go (#3) 2023-10-21 01:54:28 +02:00
hygienic-books b0c50f3323 refactor(os): Get ZFS modules installed before we need them (#3) 2023-10-21 01:25:22 +02:00
hygienic-books da88ec53a6 refactor(meta): ZFS installs in one go should now work (#3) 2023-10-21 00:58:23 +02:00
hygienic-books e92a22c005 refactor(meta): Quoting because we can (#3) 2023-10-21 00:57:57 +02:00
hygienic-books de4f3f2066 refactor(os): Do normal pacman installs, don't prepend keyring nor ZFS installs (#3) 2023-10-21 00:57:32 +02:00
hygienic-books c7e59ba0cb refactor(meta): Explain fd 3 logging and add more of it (#3) 2023-10-21 00:56:26 +02:00
hygienic-books b5c9ba4127 refactor(meta): Print key log output to stdout without capturing it in subshells (#3) 2023-10-21 00:34:13 +02:00
hygienic-books 40948ddbae refactor(meta): Print key log output to stdout without capturing it in subshells (#3) 2023-10-21 00:32:16 +02:00
hygienic-books 8566b41452 refactor(iso): Inform user partition's missing (#3) 2023-10-21 00:19:30 +02:00
hygienic-books e08697b7fa feat(os): Add a few /etc/motd pointers (#3) 2023-10-20 23:34:31 +02:00
hygienic-books 589d66d22b fix(zfs): Make sure root dataset cannot be mounted on accident (#3) 2023-10-20 22:47:05 +02:00
hygienic-books 61be86a820 fix(zbm): Update ESP paths to images, install both recovery and release (#3) 2023-10-20 22:34:19 +02:00