Commit Graph

296 Commits

Author SHA1 Message Date
Le0xFF
22a7b916b9 Minor changes 2022-08-28 20:17:56 +02:00
Le0xFF
a632f1bff4 Fix reading user bootloader again on main script 2022-08-28 17:11:16 +02:00
Le0xFF
a03bb662d9 Fix reading user bootloader again 2022-08-28 17:10:40 +02:00
Le0xFF
48f1fbfb79 Keep unused chroot.sh script up to date 2022-08-28 16:45:49 +02:00
Le0xFF
2d00a9dc9b Fix reading user bootloader 2022-08-28 16:44:13 +02:00
Le0xFF
9ba2c583b5 Keep unused chroot.sh script up to date 2022-08-28 16:20:59 +02:00
Le0xFF
15564b37b1 Fix bootloader choice
Avoid a bug if no encryption was chosen
2022-08-28 16:20:43 +02:00
Le0xFF
016370ef7e Fix typo 2022-08-28 16:03:02 +02:00
Le0xFF
9ab4b5c25b Clarify that EFISTUB is also available as bootloader 2022-08-28 16:01:33 +02:00
Le0xFF
8ee97e2114 Keep unused chroot.sh script up to date 2022-08-28 15:55:00 +02:00
Le0xFF
801cc25b09 Install intel-ucode on intel cpus 2022-08-28 15:54:35 +02:00
Le0xFF
92a23c65ab Merge functions in chroot script
Merge set_root, edit_fstab and generate_dracut_conf functions into initial_configuration function
2022-08-28 15:36:06 +02:00
Le0xFF
1942e4cdb6 Generate random key only when choosing GRUB2
If a random key was generated before choosing bootloader, encrypted disk would be automatically unlocked when EFISTUB was choosen as bootloader
2022-08-28 15:12:46 +02:00
Le0xFF
fee1726dcc Fix EFISTUB options
Forgot to look for correct pattern when using sed command
2022-08-28 15:00:33 +02:00
Le0xFF
8c4174ccf6 Cosmetic changes 2022-08-28 14:58:41 +02:00
Le0xFF
cc395f65d7 Try to implement EFISTUB as a possible bootloader
A lot of functions were modified and adapted; also if user choose LUKS2, EFISTUB will be automatically selected. I just hope it will work owo'
2022-08-28 14:25:40 +02:00
Le0xFF
db966e9e54 Avoid lazy unmount, use findmnt instead 2022-08-26 15:32:36 +02:00
Le0xFF
93fe443460 Cosmetic changes 2022-08-26 15:23:03 +02:00
Le0xFF
c04328a523 Cosmetic changes 2022-08-26 15:13:36 +02:00
Le0xFF
9841650994 Fix lvm creation if encryption was not choosen 2022-08-26 15:06:36 +02:00
Le0xFF
a8aa59c84a Cosmetic changes 2022-08-26 15:00:47 +02:00
Le0xFF
c833494e35 Cosmetic changes 2022-08-26 14:49:57 +02:00
Le0xFF
e62b6539f5 Cosmetic changes and minor fixes 2022-08-26 14:45:23 +02:00
Le0xFF
0f7d95e366 Update README to clarify that encryption is now optional 2022-08-26 14:32:49 +02:00
Le0xFF
ebfe37eb5d Try to make encryption optional 2022-08-26 14:29:22 +02:00
Le0xFF
ec88f6da7d Be sure to not to choose the same partition for and 2022-08-26 13:41:26 +02:00
Le0xFF
90df03b36b Try to catch password errors 2022-08-26 13:22:45 +02:00
Le0xFF
a4c90e99c1 Cosmetic changes
And also be sure that user can quit certain loops
2022-08-26 12:48:42 +02:00
Le0xFF
ff30adbb4f Cosmetic changes 2022-08-26 12:30:10 +02:00
Le0xFF
6c14ef6fff Update README with enabling/disabling services information 2022-08-26 12:09:19 +02:00
Le0xFF
6619c6cb5c Add enable_disable_services function
Add a function that let the user choose which already available services enable or disable
2022-08-26 12:08:47 +02:00
Le0xFF
76287b8570 Mount efivars as ArchWiki chroot page suggests 2022-08-26 11:05:20 +02:00
Le0xFF
19b789693e Cosmetic changes and change script name inside the script itself 2022-08-26 10:51:13 +02:00
Le0xFF
52316d2000 Update README with latest added functions 2022-08-26 10:42:24 +02:00
Le0xFF
018bbb756e Cosmetic changes 2022-08-26 10:42:00 +02:00
Le0xFF
b2eb2e088e Add install_additional_packages
Install other packages while being in chroot with the help of xs() function
2022-08-26 10:12:55 +02:00
Le0xFF
02446cf41f Keep unused chroot.sh script updated 2022-08-24 20:45:29 +02:00
Le0xFF
fed131052d Minor fixes 2022-08-24 20:45:01 +02:00
Le0xFF
6ae8811fd1 Clarify that an empty path must be chosen 2022-08-24 20:32:08 +02:00
Le0xFF
1930476cb8 Add information regarding void-packages 2022-08-24 19:54:50 +02:00
Le0xFF
96a10c3cc0 Finally fix void_packages function
Function will only clone void-packages repo and enable restricted packages. It won't bootstrap because xbps-src can't create a chroot environment while being already in a chrooted environment. To see related issues, please see README
2022-08-24 19:54:16 +02:00
Le0xFF
6a6ad2f8f5 We're getting closer
But probably we can't bootstrap xbps-src because it will create a chroot, and chroot inside chroot is not really that good
2022-08-23 22:28:34 +02:00
Le0xFF
aca5ce092c Learn how to use here-document, you idiot
Let's hope this is the right way...
2022-08-23 20:57:05 +02:00
Le0xFF
2d4092205f Maybe escaping every double quotes will work? 2022-08-22 21:31:13 +02:00
Le0xFF
65be8161a1 Let's try a different approach 2022-08-22 20:47:39 +02:00
Le0xFF
845e1dbe0a Minor fix 2022-08-22 20:36:49 +02:00
Le0xFF
a8e58c1d8e Minor fix for void packages bootstrapping 2022-08-22 20:29:04 +02:00
Le0xFF
13f7f16549 Minor fix 2022-08-22 20:15:32 +02:00
Le0xFF
8e4f60e844 Fix typo 2022-08-22 20:12:46 +02:00
Le0xFF
96cf5af6cd Try to fix xbps-src execution 2022-08-22 19:47:33 +02:00