Commit Graph

114 Commits

Author SHA1 Message Date
Kasper Færch Mikkelsen 87d508455d
Update main.sh
Fixed gnupg key file not readable by portage
2024-02-04 01:09:42 +01:00
Kasper Færch Mikkelsen 248e8cd375 Added support for binary portage packages 2024-02-04 00:30:58 +01:00
oddlama 3daf3132e7
fix: also search for kernel images named kernel-* 2024-02-03 15:58:16 +01:00
Oskar Nizioł 5fc7bfdcab
Add dracut use flag 2024-02-03 13:35:07 +01:00
thiblizz d0e8078927
fix: musl stage3 installation on the stable branch 2023-11-12 18:55:36 +01:00
thiblizz de8c16211b feat: support musl timezone 2023-11-05 15:51:12 +01:00
thiblizz e9f7f6603c
Revert to initial logic 2023-10-13 02:47:14 +02:00
thiblizz 5d27a4c1c9
Make musl variant optional 2023-10-13 02:28:23 +02:00
thiblizz d7ef780331
Fix musl stage3 variant 2023-10-13 01:18:00 +02:00
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
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 8919c61568
chore: clean ouput and add comments to installed scripts 2022-10-05 15:44:52 +02:00
oddlama 1975f75d02
feat: always install linux-firmware (fixes #50) 2022-09-28 17:51:53 +02:00
oddlama 70e51eaad8
fix: change into /tmp before downloading dracut-sshd 2022-07-01 19:55:13 +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 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 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 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 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 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 5970601403
chore: don't enable unnecessary zfs services for OpenRC installs 2021-11-13 14:42:44 +01:00
oddlama 55b12b4fc6
Use realpath to obtain partition number 2021-06-03 20:43:36 +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 746137e4e4
Implemented portage git sync. Closes #8. 2021-06-02 17:16:47 +02:00
oddlama 2aa37e519e
Clarify reboot message 2021-06-01 03:27:02 +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 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 09928ba3a5
Sanity check ./install -R that the directory is a mountpoint 2021-05-30 03:17:37 +02:00
oddlama ad7709d9dd
Fixed wrong script name in chroot call 2021-05-30 03:10:43 +02:00
oddlama a5cfe872a3
Added zfs pool creation 2021-05-27 20:35:28 +02:00
oddlama d229d5bdea
Set LANG on systemd profile 2021-05-02 15:35:20 +02:00
oddlama 6daa319c17
Use encryption key from environment variable; Adjust default ssh config; Remove ansible integration in favor of neutral installation 2021-05-02 15:29:56 +02:00
oddlama 09b920d6d4
Add some unnecessary checks to satisfy shellcheck 2021-04-28 16:06:52 +02:00
oddlama 23a5d33790
Test dialog package 2021-04-20 22:18:55 +02:00
oddlama 920e0f7f55
scripts/config.sh -> gentoo.conf 2021-04-20 16:55:38 +02:00
oddlama a531945dbb
Use sane script locations and add help menu 2021-04-20 00:51:48 +02:00