Commit Graph

191 Commits

Author SHA1 Message Date
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
oddlama cd078400b8
change bios partition mountpoint to /boot/bios to prevent automatic partition filling 2020-04-25 20:15:16 +02:00
oddlama fceb479402
Fix bug in fstab generation 2020-04-25 20:12:00 +02:00
oddlama 2420251b28
Replace link with copy because vfat can handle links. 2020-04-25 18:48:48 +02:00
oddlama 18674a4b0c
UUID based fstab 2020-04-25 18:06:38 +02:00
oddlama ac5d8f1645
Added vmlinuz syslinux.cfg generatoin and bios link 2020-04-25 17:56:04 +02:00
oddlama bbece4293a
Fixed syslinux installation directory 2020-04-25 16:38:55 +02:00
oddlama b5b82edd4d
Removed RESOLVABLE_MAP_DIR 2020-04-25 15:30:29 +02:00
oddlama db1918e6d5
Added missing conjunction 2020-04-25 15:27:32 +02:00
oddlama 9439c07b28
make ADDITIONAL_PACKAGES an bash array 2020-04-25 15:24:24 +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 38437daebd
Follow upstream rename of vanilla-kernel-bin to gentoo-kernel-bin 2020-04-23 19:24:33 +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 b80d27e467
Export important disk variables 2020-04-23 17:07:13 +02:00
oddlama 00cf2ce260
global DISK_ID_TO_RESOLVABLE 2020-04-23 16:53:31 +02:00
oddlama ff31e4f1b3
Added overwriting for luks header backups 2020-04-23 16:25:34 +02:00
oddlama 88ad973072
Replaced old PARTITION_UUID variables with new disk id system 2020-04-22 23:48:36 +02:00
oddlama 486d22db79
Added luks creation with keyfile support 2020-04-22 23:08:11 +02:00
oddlama 8a0f83b4e9
Fixed missing device resolve on formatting 2020-04-22 12:28:47 +02:00
oddlama 3f80df8695
Fixed wrong error messages 2020-04-21 23:45:55 +02:00
oddlama d203dfc6c3
Made mdadm uuids discoverable 2020-04-21 23:41:27 +02:00
oddlama cfcefae1ec
Fixed mdadm invocation, added raid names 2020-04-21 23:29:06 +02:00
oddlama 9133dcb37c
Fixed PTUUID ambiguity leading to blkid not showing results 2020-04-21 23:15:29 +02:00
oddlama 265851cbc8
Fixed type empty when using efi default 2020-04-21 22:13:13 +02:00