Commit Graph

222 Commits

Author SHA1 Message Date
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
oddlama ad7709d9dd
Fixed wrong script name in chroot call 2021-05-30 03:10:43 +02:00
oddlama 45636bb82d
Allow "false" value for chroot check to mean not in chroot 2021-05-30 03:03:04 +02:00
oddlama 9985bfa5f0
Fixed missing m in ANSI format string 2021-05-30 03:01:45 +02:00
oddlama ba60924bbc
Fix unset variable access when checking chroot 2021-05-30 03:00:29 +02:00
oddlama 4fac67ebdb
Use correct zfs mountpoint 2021-05-30 02:56:53 +02:00
oddlama d75128a0f1
Changed status symbol 2021-05-30 02:54:38 +02:00
oddlama 5288f58b72
Remove mountpoint from rpool/ROOT 2021-05-30 02:51:51 +02:00
oddlama 6f702f578f
Forgot line escape 2021-05-30 02:46:07 +02:00
oddlama c6d037f95f
Create rpool/ROOT dataset automatically, and supply password
automatically.
2021-05-30 02:44:26 +02:00
oddlama bae9e41741
Default for disk_action_summarize_only 2021-05-30 02:37:18 +02:00
oddlama a20e50f117
Use ntp package instead of openntpd on arch; Fix set -u in dynamic case labels 2021-05-30 02:33:45 +02:00
oddlama 05bd2f465c
Fixed case confusion 2021-05-30 02:30:02 +02:00
oddlama 80e4bcbf90
make pacman package mapping associative 2021-05-29 22:59:38 +02:00
oddlama 762c879497
Arch pacman package name remappings and zfs installation script 2021-05-29 22:56:32 +02:00
oddlama 1b7fc257e2
Fix program existence check 2021-05-29 22:26:39 +02:00
oddlama f03f4a99ab
add program check debug 2021-05-29 22:23:18 +02:00
oddlama a6023eba13
Apply disk configuration function in installer 2021-05-29 22:18:39 +02:00
oddlama 0b1f8b5c6c
Skip install question if every required program is installed 2021-05-29 22:16:05 +02:00
oddlama 401e427b8e
Ask to install missing programs 2021-05-29 22:14:46 +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 9ebdbfe8a1
Prepare zfs functions (format is currently a dummy) 2021-04-28 14:56:38 +02:00
oddlama 525e7668d8
set -e is staight from hell. [[ $CONFIG_VAR == 1 ]] && do_smth is now
wrong, need for command && ret=$? || ret=$?. I'm out.
2021-04-26 23:48:30 +02:00
oddlama 5f7acc58c5
Begin cleaning disk definitions, finish all menu points except disk. 2021-04-23 01:33:46 +02:00
oddlama d446af1d6a
Begin partitioning scheme selector 2021-04-22 21:09:11 +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
oddlama a7225d68a5
Update readme wording 2021-04-19 20:33:47 +02:00
oddlama caf9051930
Fixed missing swap false check for single disk layouts 2020-12-01 15:07:20 +01:00
oddlama 8ff794567a
Wording 2020-11-26 13:48:11 +01:00
oddlama 5999211430
set ansible=false by default, most users won't need it. 2020-11-26 13:45:03 +01:00
oddlama 48db35cc76
Actually select keymap and timezone on systemd configurations. Fixes #4. 2020-11-26 13:29:47 +01:00
oddlama b7b3d9c529
Added mirrorselect switch and mirrorselect large file switch. Closes #3 2020-11-26 12:44:59 +01:00
oddlama 1e1cf038fd
Clarify disk formatting explanation 2020-11-25 15:56:46 +01:00
oddlama b54079b0b4
Move configs -> contrib to avoid confusion 2020-11-25 14:45:46 +01:00
oddlama edfd4e621d
Oopsie lol 2020-11-18 15:38:10 +01:00
oddlama 70d252584c
Fix 20-wired-dhcp.network permissions 2020-11-18 15:31:04 +01:00
oddlama fa94a29d63
Fix wrong parameter in config.sh 2020-11-18 14:24:21 +01:00
oddlama e30956abf4
Fix ext4 case 2020-11-18 14:23:35 +01:00
oddlama fbad0e2184 Add partprobe before blkid invocation, and use compress-force for btrfs fstab 2020-11-06 22:48:38 +01:00
oddlama 375825c1e8
Fix wrong partition types 2020-10-29 01:19:45 +01:00
oddlama 65e4ccd4a8
Add todo 2020-10-12 20:59:10 +02:00
oddlama 7db2c3c6f3
Add systemd networking config 2020-10-12 01:18:39 +02:00
oddlama a59090ab9d
Install btrfs-progs and omit systemd in dracut because it fails (surprise lol) 2020-10-11 21:45:26 +02:00
oddlama 19b4f1d80c
Added systemd's version of enabling services 2020-10-10 17:08:54 +02:00
oddlama fdbc6fb3aa
cache lsblk output 2020-10-08 22:16:26 +02:00
oddlama 87b75b2466
Add debug 2020-10-06 21:26:13 +02:00
oddlama 6f427dc92e
Systemd is such a lovely tool. It cannot run hostnamectl/localectl/timedatectl without pid 1. 2020-10-06 19:25:10 +02:00
oddlama ed87a77c13
Added proper btrfs mount options 2020-10-05 22:28:32 +02:00
oddlama e1fc6cf9eb
Fixed old use of $id in disk_create_luks 2020-10-03 19:10:54 +02:00
oddlama 1c476cef17
systemd's setup deviates. #1 2020-10-03 19:04:55 +02:00
oddlama c61515e4e5
Fix missing luks argument evaluation 2020-10-03 18:29:09 +02:00
oddlama 6859a384f6
Print directly used devices 2020-10-03 17:59:45 +02:00
oddlama 627289d911
Actually using root_id would be great 2020-10-03 16:42:03 +02:00
oddlama 89cbd4ae9c
Minor typs and fixes 2020-10-03 16:40:47 +02:00
oddlama 64251a3d31
WIP: Implement btrfs raid layout 2020-10-03 16:32:14 +02:00
oddlama 19c030c4b2
Implement btrfs 2020-10-01 15:46:51 +02:00
oddlama fad5c06199
fstab swap entry by uuid 2020-05-02 12:22:43 +02:00
oddlama 07db67534b
Better vfat fstab entry (permission masks) 2020-05-01 12:15:37 +02:00
oddlama 56cea7d8ee
Create dracut with default modules; fix initramfs.img location in syslinux.cfg 2020-04-25 22:37:50 +02:00
oddlama 2c7c804105
Fixed missing uuid resolve in dracut cmdline generation 2020-04-25 20:17:24 +02:00