Commit Graph

214 Commits

Author SHA1 Message Date
Nick Booker 1321769bb5
Fix booting from encrypted root filesystem with systemd (#78)
* Fix booting from encrypted root filesystem with systemd

systemd needs to be built with cryptsetup for it to work

* Limit cryptsetup USE flag and emerge to systemd
2023-03-28 16:10:41 +02:00
Carlos Prado b2ea9b360d
feat: hooks (#70)
* Hooks

Hook system to allow further customization at specific steps of the installation process.

- before/after_prepare_environment
- before/after_disk_configuration
- before/after_download_stage3
- before/after_extract_stage3

- before/after_install
- before/after_configure_base_system
- before/after_configure_portage
- before/after_install_kernel

* add hook examples

* fix: remove eval
2023-01-07 14:02:15 +01:00
Mathieu Gouttenoire 2036d785f1 Fix stage3 download on other architectures 2022-12-22 15:01:56 +01:00
oddlama dbb8b81c26
fix: missing /sys prefix when determining partition numbers 2022-12-21 14:10:47 +01:00
oddlama 2a2ef9abd7
fix: more robust way to extract efi partition and parent device (fixes #63) 2022-12-20 13:07:48 +01:00
oddlama 133fe3901a
fix: use 644 permissions on /etc/timezone, apparently some builds depend on it. Fixes #66 2022-12-20 12:51:25 +01:00
oddlama 2397569412
chore: adhere to shellcheck rules 2022-10-05 15:49:37 +02:00
oddlama 6c1a7e846b
fix: disable swap after creating to prevent some live environments from using the swap immediately (fixes #57) 2022-10-05 15:47:48 +02:00
oddlama 8919c61568
chore: clean ouput and add comments to installed scripts 2022-10-05 15:44:52 +02:00
Min Xu 3888a552fa
fix: Wait for device symlink after partitioning (#56)
Co-authored-by: Min Xu <min.xu.public@gmail.com>
2022-10-05 15:32:02 +02:00
oddlama d46010ba7b
fix(syntax): missing && (closes #55) 2022-10-01 13:33:55 +02:00
oddlama 7b9586ad30
fix: checkfile set even if tuple is not a expression (fixes #51) 2022-09-28 17:55:13 +02:00
oddlama 1975f75d02
feat: always install linux-firmware (fixes #50) 2022-09-28 17:51:53 +02:00
oddlama c56f1766cc
chore: update eoli3n zfs init script location
see 4d726eafbb
2022-08-31 20:55:44 +02:00
oddlama 70e51eaad8
fix: change into /tmp before downloading dracut-sshd 2022-07-01 19:55:13 +02:00
oddlama b78dea2dc7
fix: make all rbound mountpoints also rslaves. 2022-07-01 19:54:26 +02:00
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