Commit Graph
100 Commits
Author SHA1 Message Date
hygienic-books 1bc09b7f8b refactor(os): Install paru-bin instead of paru (#21)
We straight up install paru-bi via its PKGBUILD from
AUR, we skip the additional step we used to do
where we first installed paru from its GitHub
project. This saves time and most importantly
scarce RAM that Rust otherwise needs during
paru compilation.

On systems with little RAM (as in 4 GiB) paru's
compilation process would sometimes fail when
/etc/makepkg.conf when its MAKEFLAGS was
set to use many cores e.g. via "-j$(nproc --ignore 1)".

Without the manual paru compilation step we now
don't need the ability anymore to
--replace-conflicting packages.
2023-11-05 23:29:54 +01:00
hygienic-books 1b94e7e3b8 refactor(zbm): Ask for rerun (#21) 2023-11-05 16:57:50 +01:00
hygienic-books e39d60cb00 refactor(zbm): Exit after setting up vars (#21) 2023-11-05 16:55:06 +01:00
hygienic-books 055f970f43 docs(zbm): Render asciinema gif with larger typeface (#21) 2023-11-05 16:41:15 +01:00
hygienic-books 16e67c8b28 docs(zbm): Typo (#21) 2023-11-05 16:30:48 +01:00
hygienic-books 4fb7a91703 docs(zbm): Link to giv instead of mp4 (#21) 2023-11-05 16:30:16 +01:00
hygienic-books 2b5d4b4ec8 docs(zbm): Testing HTML image tag in Markdown (#21) 2023-11-05 16:28:17 +01:00
hygienic-books b885bde3c6 docs(zbm): Explain network device naming (#21) 2023-11-05 16:23:00 +01:00
hygienic-books 316aa56a55 docs(zbm): Explain interactive questionnaire (#21) 2023-11-05 16:04:57 +01:00
hygienic-books 39039ce3fd docs(zbm): No idea if IPv6 works (#21) 2023-11-05 04:53:52 +01:00
hygienic-books 1183f3f025 refactor(iso): Rename .gitignore file (#21) 2023-11-05 04:53:17 +01:00
hygienic-books be76d6b0f8 feat(meta): Ignore loca settings file while testing (#21) 2023-11-05 04:52:21 +01:00
hygienic-books 67ea72de51 feat(iso): Add setup function to generate answer file (#21) 2023-11-05 04:51:32 +01:00
hygienic-books 9f3ada2a36 feat(iso): Parse arguments (#21) 2023-11-05 04:50:31 +01:00
hygienic-books 28414af039 refactor(iso): Globally define name of settings file (#21) 2023-11-05 04:49:32 +01:00
hygienic-books 58da096eab docs(meta): Typo 2023-11-05 02:37:50 +01:00
hygienic-books 2b982be84e docs(meta): Bits and pieces updated (#6) 2023-11-05 02:35:03 +01:00
hygienic-books 782168c1b1 docs(zbm): Nudge user to work with Dropbear keepalives (#6) 2023-11-05 02:10:33 +01:00
hygienic-books 5cf4b2c325 docs(zbm): Let's not overpromise, the command stanza at first glance seems trickier than anticipated (#6) 2023-11-04 01:16:39 +01:00
hygienic-books a2cb784cb3 feat(zbm): In Syslinux/extlinux mode add KCL (#6) 2023-11-04 01:08:39 +01:00
hygienic-books 119be2b876 docs(zbm): Give an example ip= KCL (#6) 2023-11-04 00:46:44 +01:00
hygienic-books 9560677352 fix(zbm): Link to dropbear patch hooks (#6) 2023-11-04 00:41:37 +01:00
hygienic-books 52c09fc93f docs(zbm): Explain Syslinux KCL (#6) 2023-11-04 00:37:30 +01:00
hygienic-books 1181432add docs(iso): Explain sed in_array_remove_n mechanism (#6) 2023-11-04 00:32:16 +01:00
hygienic-books e3025883fa docs(iso): Explain sed insert_n_at_the_end mechanism (#6) 2023-11-04 00:32:01 +01:00
hygienic-books 79feaed5ac docs(iso): Explain sed insert_n_before_m mechanism (#6) 2023-11-04 00:20:39 +01:00
hygienic-books 7338924c82 docs(zbm): Explain networking and SSH (#6) 2023-11-04 00:08:48 +01:00
hygienic-books 924925e08e docs(iso): Do a pass over how we explain passwords for local accounts (#6) 2023-11-04 00:03:42 +01:00
hygienic-books 3030eb0f2d docs(iso): Use either an env options file or shell exports (#6) 2023-11-04 00:01:29 +01:00
hygienic-books 305e4191f1 docs(zfs): Correctly umount after maintenance (#6) 2023-11-04 00:00:03 +01:00
hygienic-books 7d5075a543 fix(ZBM): No KCL inside Syslinux (#6) 2023-11-03 23:43:06 +01:00
hygienic-books 003d3f4f2a fix(ZBM): Remove ZBM hook from correct file (#6) 2023-11-03 03:24:33 +01:00
hygienic-books ab5e79d838 refactor(iso): Parallelize pacman in ISO (#6) 2023-11-03 03:24:03 +01:00
hygienic-books 53f92032a4 feat(zbm): Add KCL to legacy BIOS ZBM (#6) 2023-11-03 01:40:24 +01:00
hygienic-books b160b4a1e1 feat(zbm): Prepare SSH in ZBM (#6) 2023-11-03 01:38:56 +01:00
hygienic-books 1690518197 feat(zbm): Define Dropbear's SSH pub keys (#6) 2023-11-03 01:38:28 +01:00
hygienic-books 732cc47405 feat(zbm): Add networking/IP addressing setup to ZBM (#6) 2023-11-03 01:38:11 +01:00
hygienic-books be668b1bdc feat(zbm): Add user's dropbear customizations (#6) 2023-11-03 01:37:38 +01:00
hygienic-books 53ed730957 feat(zbm): Add dropbear hook files (#6) 2023-11-03 01:37:15 +01:00
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 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 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 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 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
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 f2213c2ec2 refactor(meta): Unify ISO name (#3) 2023-10-22 01:38:59 +02:00
hygienic-books 4645a44333 docs(meta): UPdate lsblk output (#3) 2023-10-22 01:38:05 +02:00
hygienic-books 863cee4322 refactor(meta): Remove trailing whitespace (#3) 2023-10-22 01:35:45 +02:00
hygienic-books 9d41aabb3e docs(meta): Start with a one-liner (#3) 2023-10-22 01:34:49 +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 abffd08c1e feat(zbm): Add ZBM postconf hook to update UEFI bootnums (#3) 2023-10-21 04:48:11 +02:00