Commit Graph

198 Commits

Author SHA1 Message Date
oddlama b3324498fb
feat: generate ssh keys before generating initramfs in case sshd needs them 2022-07-01 14:10:38 +02:00
oddlama 998828fe9a
feat: networkd options and remote crypt unlocking 2022-07-01 02:04:23 +02:00
oddlama a97fcaabc8
feat: mount /run to suppress warnings (closes #44) 2022-06-30 21:22:57 +02:00
oddlama 0350ada8c3
fix: ZFS compression was not properly enabled on the rpool dataset 2022-06-29 02:15:32 +02:00
oddlama 944c745ce7
chore: enable portage testing after installation to hopefully ensure a better installation experience. 2022-06-09 18:44:08 +02:00
oddlama 5f36dfb3d0
feat: enable dracut zstd compression by default 2022-06-08 02:47:40 +02:00
oddlama 07799f47b3
fix: temporary workaround for dracut issue:
Dracut changed parameter interpretation in a new version,
causing this script to error out. To properly fix this,
we require a resolution of dracutdevs/dracut#1835.
Meanwhile, this is tracked internally by #41.
2022-06-05 13:20:14 +02:00
oddlama 3c8391789d
fix: remove invalid variable in check for rhash availability 2022-05-14 00:51:28 +02:00
oddlama 38bf1de80c
chore: improve wanted program check (remove array indirection) 2022-05-14 00:48:42 +02:00
oddlama 64218c9a5c
feat: fallback to sha512sum if rhash is not available. closes #36. 2022-05-14 00:29:50 +02:00
oddlama a73cdcf723
fix: adjust wrong function name 2022-05-13 22:56:25 +02:00
oddlama 6b3f9c2a76
feat: reduce length of device names if under /dev/disk/by-id/ 2022-05-13 22:55:15 +02:00
oddlama 50ec673974
feat: canonicalize devices before use to /dev/disk/by-id/ if possible.
This is beneficial for ZFS pools and for humans to see whether the
correct disk was selected.
2022-05-13 22:48:50 +02:00
oddlama 20a69f41ec
feat: implement better device selection dialog 2022-05-13 22:43:34 +02:00
oddlama 4949293ac1
fix: track whether partitioning is disallowed 2022-05-13 21:32:24 +02:00
oddlama 1dbb0b29d6
feat: add warning message to ensure users have freed devices before partitioning. Closes #22. 2022-05-13 21:28:23 +02:00
oddlama 2003738dca
feat: show added existing disks in action summary 2022-05-13 21:15:09 +02:00
oddlama 93f70f969c
feat: add new dummy partitioning scheme "existing_partitions", which skips all partitioning and formatting operations. 2022-05-13 20:41:24 +02:00
oddlama 547ca2e35d
fix: adjust DIGESTS verification for changed gentoo signature format 2022-05-12 23:24:40 +02:00
oddlama 82e32ffb1f
fix: don't kill gentoo install script if it errors before forking 2022-04-17 00:05:19 +02:00
oddlama f4040d9679
feat: save minimal scripts in boot partition to easily create a new initramfs or efiboot entry 2022-04-17 00:04:42 +02:00
oddlama eb067c5d6c
feat: remove unnecessary /EFI subdirectory in the efi partition 2022-04-16 15:31:11 +02:00
oddlama 1f3f5df584
feat: increase default efi/boot partition size to 512MiB to allow storing at least two bigger kernels 2022-04-16 15:28:43 +02:00
oddlama 1ecdf996a0
feat: add configuration option to enable/disable portage testing branch via ACCEPT_KEYWORDS="~$GENTOO_ARCH" 2022-04-16 15:26:31 +02:00
oddlama 02db85b545
chore: update DIGEST process to reflect upstream name changes 2022-02-28 17:38:04 +01:00
oddlama 871f962bca
fix: remove reference to old ROOT_HOME variable (fixes #27) 2022-02-10 14:37:41 +01:00
oddlama 27f71af0f6
fix: missing then after elif in utils.sh 2022-01-04 03:06:40 +01:00
oddlama 4ee9059f95
chore: more accurate check for ncurses availability 2021-12-06 13:34:27 +01:00
oddlama 5970601403
chore: don't enable unnecessary zfs services for OpenRC installs 2021-11-13 14:42:44 +01:00
oddlama d55ba9ea1e
fix: don't ask again for encryption key in chroot if it was already set when executing install 2021-10-27 13:27:54 +02:00
oddlama 1a920427a6
fix: test for DISK_ID_EFI and DISK_ID_BIOS variable existence before expansion (fixes #15) 2021-10-27 13:07:55 +02:00
oddlama 45719149ae
fix: adapt rhash verify to process digest files with absolute paths 2021-10-27 13:06:34 +02:00
oddlama ab96831953
Use try with ntpd so one can skip time syncing. 2021-06-06 19:12:00 +02:00
oddlama 55b12b4fc6
Use realpath to obtain partition number 2021-06-03 20:43:36 +02:00
oddlama 47ffc8a551
Use more robust device resolving by using blkid only as a fallback 2021-06-03 16:12:51 +02:00
oddlama 63025e83a4
Removed empty else clause 2021-06-02 17:36:36 +02:00
oddlama 7c3a0ea148
Switch to git portage tree after installing git. 2021-06-02 17:35:48 +02:00
oddlama 93bc667f91
Missing default for zfs_stdin added 2021-06-02 17:33:27 +02:00
oddlama a25a696ced
Don't access GENTOO_INSTALL_ENCRYPTION_KEY when not using zfs encryption. 2021-06-02 17:25:09 +02:00
oddlama b51f8daae9
Added missing compress option spec to create_zfs_centric_layout 2021-06-02 17:21:02 +02:00
oddlama 746137e4e4
Implemented portage git sync. Closes #8. 2021-06-02 17:16:47 +02:00
oddlama 953f5009e9
Check stage3 basename for systemd compliance 2021-06-02 16:38:47 +02:00
oddlama 264f811e9d
Added zfs compression settings to the standard pool creation function. Closes #10. 2021-06-02 16:18:31 +02:00
oddlama 2aa37e519e
Clarify reboot message 2021-06-01 03:27:02 +02:00
oddlama 6f25eae015
Use wipefs before creating partitions or formatting 2021-06-01 02:50:08 +02:00
oddlama ed602bf3e7
Break after pw ok 2021-05-31 20:21:41 +02:00
oddlama 303087aeaf
Fix reading encryption keys beginning with whitespace 2021-05-31 20:15:33 +02:00
oddlama b110b4e5dd
Visual linebreak after reading password 2021-05-31 17:27:13 +02:00
oddlama 7c9d001a20
Fix reverse condition in check_encryption_key 2021-05-31 17:25:08 +02:00
oddlama 0f0463ac15
First load disk_configuration then check for encryption key 2021-05-31 17:23:55 +02:00