Commit Graph

186 Commits

Author SHA1 Message Date
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
oddlama 68a128153c
Read encryption key when starting installation if not given otherwise;
Clarify readme
2021-05-31 17:12:19 +02:00
oddlama 533ddc22f7
Don't omit systemd module in dracut 2021-05-31 16:30:02 +02:00
oddlama fa050ae95a
Proper spacing in cmdline; no root= needed for zfs 2021-05-31 16:29:22 +02:00
oddlama 5c1d81d650
Exec chroot 2021-05-30 22:52:28 +02:00
oddlama 4d276dbc6c
Don't add fstab entry for zfs 2021-05-30 22:39:41 +02:00
oddlama f77f2a7955
Ignore partprobe output 2021-05-30 21:30:45 +02:00
oddlama 7133ff4484
Fixed ignoring type output 2021-05-30 21:28:06 +02:00
oddlama 0ca4967160
Added root= parameter for zfs 2021-05-30 21:13:27 +02:00
oddlama 053f7b90d0
Updated readme, added zfs tools to new system if required 2021-05-30 21:01:41 +02:00
oddlama 91dfff58c1
Execute partprobe only if it exists (not given in gentoo chroot) 2021-05-30 03:18:45 +02:00
oddlama 09928ba3a5
Sanity check ./install -R that the directory is a mountpoint 2021-05-30 03:17:37 +02:00
oddlama 86e4a32fd0
Remove exec from chroot to allow post-chroot unmount 2021-05-30 03:15:06 +02:00