Commit Graph

178 Commits

Author SHA1 Message Date
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 23ec84eef2
Clarify configuration loading cases 2021-05-31 17:20:06 +02:00
oddlama a80b22f687
Fixed conditional confustion in config existence check in ./install 2021-05-31 17:17:40 +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 ec26a12151
Added dynamic dialog sizes 2021-05-30 20:55:25 +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 4b02282309
Fixed not detecting top-level timezones like UTC; Fixed initramfs keymap
not updated automatically when linked to normal keymap
2021-05-29 21:58:43 +02:00
oddlama 49cbc77c17
Fallback to us keymap if it cannot be detected from the running system 2021-05-29 21:44:54 +02:00
oddlama e7172280a8
fall back to contrib/i18n_supported if /usr/share/i18n/SUPPORTED doesn't exist 2021-05-29 21:42:31 +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 99667b2cd2
Add create_zfs_centric_layout to gentoo.conf.example 2021-04-28 16:07:24 +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 dd7482da5e
Disk configurator finished except for encryption keys 2021-04-28 14:22:46 +02:00
oddlama 07470e8806
Begin adding menuentries for remaining disk configuration items. 2021-04-27 01:17:25 +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