Commit Graph

67 Commits

Author SHA1 Message Date
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 82e32ffb1f
fix: don't kill gentoo install script if it errors before forking 2022-04-17 00:05:19 +02: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 47ffc8a551
Use more robust device resolving by using blkid only as a fallback 2021-06-03 16:12:51 +02:00
oddlama b110b4e5dd
Visual linebreak after reading password 2021-05-31 17:27:13 +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 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 91dfff58c1
Execute partprobe only if it exists (not given in gentoo chroot) 2021-05-30 03:18:45 +02:00
oddlama ad7709d9dd
Fixed wrong script name in chroot call 2021-05-30 03:10:43 +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 d75128a0f1
Changed status symbol 2021-05-30 02:54:38 +02:00
oddlama c6d037f95f
Create rpool/ROOT dataset automatically, and supply password
automatically.
2021-05-30 02:44:26 +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 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 09b920d6d4
Add some unnecessary checks to satisfy shellcheck 2021-04-28 16:06:52 +02:00
oddlama a531945dbb
Use sane script locations and add help menu 2021-04-20 00:51:48 +02:00
oddlama fbad0e2184 Add partprobe before blkid invocation, and use compress-force for btrfs fstab 2020-11-06 22:48:38 +01: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 64251a3d31
WIP: Implement btrfs raid layout 2020-10-03 16:32:14 +02:00
oddlama fceb479402
Fix bug in fstab generation 2020-04-25 20:12:00 +02:00
oddlama 18674a4b0c
UUID based fstab 2020-04-25 18:06:38 +02:00
oddlama f2909a7c72
Added dracut cmdline generation 2020-04-25 15:12:35 +02:00
oddlama 2b323d0c0d
Removed need to save resolve entries altogether; WIP: Dracut integration 2020-04-24 23:02:00 +02:00
oddlama 21ff831af0
install mdadm on chrooted system when raid is used 2020-04-23 23:56:53 +02:00
oddlama cf0413f948
Forgot to remove a quote in output 2020-04-23 23:19:11 +02:00
oddlama b1c4d9d40e
Removed need for internally stored id->device map 2020-04-23 23:15:41 +02:00
oddlama 048b39ffe0
Fixed bug in map saving 2020-04-23 22:31:18 +02:00
oddlama 4c376dae12
fixed case mistake 2020-04-23 21:08:36 +02:00
oddlama 826f232807
Export some crucial variables 2020-04-23 21:06:22 +02:00
oddlama f40334f9be
Manually save and restore mapped ids and devices 2020-04-23 17:42:23 +02:00
oddlama 2274c3f7c2
Added disk resolvable saving and loading 2020-04-23 17:32:36 +02:00
oddlama 486d22db79
Added luks creation with keyfile support 2020-04-22 23:08:11 +02:00
oddlama d203dfc6c3
Made mdadm uuids discoverable 2020-04-21 23:41:27 +02:00
oddlama 9133dcb37c
Fixed PTUUID ambiguity leading to blkid not showing results 2020-04-21 23:15:29 +02:00
oddlama 119cdd53ba
Fixed wrong known_arguments 2020-04-21 22:04:39 +02:00