Commit Graph

170 Commits

Author SHA1 Message Date
Le0xFF
61614b5327 Install AppArmor and configure it during chroot 2022-08-21 17:00:37 +02:00
Le0xFF
a3c2be0599 Specify that swapfile size must be in GB 2022-08-11 20:37:40 +02:00
Le0xFF
b9e7369f86 Shellcheck on chroot.sh script 2022-08-11 18:32:24 +02:00
Le0xFF
7b11e4fa9a Fix indentation 2022-08-11 18:25:27 +02:00
Le0xFF
87b905411d Avoid ls|grep as shellcheck suggests 2022-08-11 18:22:09 +02:00
Le0xFF
6af628cf73 Use z3fold as zpool for zswap 2022-08-10 15:40:28 +02:00
Le0xFF
f706b56fd9 Minor changes 2022-08-10 12:42:32 +02:00
Le0xFF
43008df3e6 Clarify what swapfile could be used for 2022-08-09 21:50:21 +02:00
Le0xFF
36d5f6e6a5 Avoid code duplication due to choice on using lvm or not 2022-08-09 21:16:25 +02:00
Le0xFF
3a2a1199b9 Cosmetic changes 2022-08-09 20:43:13 +02:00
Le0xFF
dd0ed7f7f8 Cosmetic changes 2022-08-09 20:32:51 +02:00
Le0xFF
f8e6fb9718 Enabling zswap when creating swapfile 2022-08-09 20:18:04 +02:00
Le0xFF
5e2acaf31d Also enable grub-btrfs service at boot 2022-08-09 17:55:12 +02:00
Le0xFF
acc5fd7809 Cosmetic changes 2022-08-08 19:55:50 +02:00
Le0xFF
eaa4bafa07 Fix ram_size variable for swapfile creation 2022-08-08 19:42:44 +02:00
Le0xFF
667fbe88ba Fix typo 2022-08-08 18:41:43 +02:00
Le0xFF
ea418e7515 Let user choose swapfile dimensions 2022-08-08 18:28:24 +02:00
Le0xFF
e234a1c167 Unmount swap file after creating it 2022-08-07 18:58:38 +02:00
Le0xFF
92be6e4d48 Fix typos 2022-08-07 18:41:17 +02:00
Le0xFF
be83629254 Add creation of C program to main script flow 2022-08-07 18:24:30 +02:00
Le0xFF
d4b7e4cd10 Fix creation of C program 2022-08-07 18:22:37 +02:00
Le0xFF
ce5ee51217 Add create_swapfile function to main script flow 2022-08-07 18:06:10 +02:00
Le0xFF
dd1ec445d4 Delete C program too when killing script 2022-08-07 17:48:11 +02:00
Le0xFF
9476281803 Add function that will create swap file
Integrate C program that will help with creation of a swap file and another function that will create the swap file
2022-08-07 17:42:36 +02:00
Le0xFF
30c398d294 Cosmetic changes 2022-08-06 09:44:39 +02:00
Le0xFF
1980e7d741 Let user choose bootloader-id as well 2022-08-05 20:54:37 +02:00
Le0xFF
b4abbecdbe Cosmetic changes 2022-08-01 19:08:41 +02:00
Le0xFF
7d6e66b75a Cosmetic changes 2022-08-01 19:04:28 +02:00
Le0xFF
ecaab5a716 Avoid useless while loops 2022-08-01 18:30:50 +02:00
Le0xFF
a3969e9d79 Double check if the selected locale is the right one 2022-08-01 17:59:55 +02:00
Le0xFF
78ee440da9 Check if shell is executable in chroot.sh script 2022-07-30 21:35:34 +02:00
Le0xFF
0cd4f2da3c Small fixes and cosmetic changes 2022-07-30 21:11:05 +02:00
Le0xFF
9d43e44735 Fix if condition for timezone in chroot.sh script 2022-07-30 20:32:01 +02:00
Le0xFF
bd6fb8e00a Let user choose default shell for root 2022-07-30 20:13:43 +02:00
Le0xFF
3db7549747 Cosmetic changes 2022-07-30 19:53:12 +02:00
Le0xFF
36f769c939 Cosmetic changes 2022-07-30 19:41:05 +02:00
Le0xFF
00a7bc514c Cosmetic changes 2022-07-30 19:19:43 +02:00
Le0xFF
138118dd9c Fix sed command in chroot.sh script 2022-07-30 19:15:02 +02:00
Le0xFF
0f69b0afb2 Cosmetic changes and fix colours in chroot.sh script 2022-07-30 19:05:26 +02:00
Le0xFF
f6eb0719e4 Cosmetic changes 2022-07-30 18:59:53 +02:00
Le0xFF
15dfed8f83 Cosmetic changes 2022-07-30 18:57:03 +02:00
Le0xFF
b4d04ee33e Fix if condition 2022-07-30 18:52:32 +02:00
Le0xFF
1778f27919 Add verbose flag to system installation 2022-07-30 18:43:09 +02:00
Le0xFF
c1b04c62c6 Add missing colours 2022-07-30 18:39:57 +02:00
Le0xFF
0a413b19da Fix typo 2022-07-30 18:34:13 +02:00
Le0xFF
96dba4bb81 Let user choose locale if glibc version was choosen 2022-07-30 18:31:15 +02:00
Le0xFF
2390217bcc Let user choose keyboard layout in chroot 2022-07-30 17:10:30 +02:00
Le0xFF
8ff1b7c25c Let user choose timezone as well 2022-07-30 16:27:49 +02:00
Le0xFF
52cefec01f Let user choose their hostname 2022-07-30 15:55:29 +02:00
Le0xFF
c6f520dd7e Set keyboard layout in rc.conf file 2022-07-30 15:43:02 +02:00
Le0xFF
766a2b3779 Copy RSA keys automatically 2022-07-29 07:50:28 +02:00
Le0xFF
abcd5954e3 Cosmetic changes 2022-07-28 20:51:51 +02:00
Le0xFF
94a71a6278 Learn how to use --recursove with umount 2022-07-28 19:42:34 +02:00
Le0xFF
898f591d68 Going the really lazy way 2022-07-28 18:55:19 +02:00
Le0xFF
6dd6c11e93 Trying to fix kill_script function once again 2022-07-28 18:30:35 +02:00
Le0xFF
791ce7fcbb Some more fixing on unmounting when killing script 2022-07-27 22:01:13 +02:00
Le0xFF
f14a0d31f5 Fix unmoning encrypted partition when killing script and cosmetic changes 2022-07-27 21:45:43 +02:00
Le0xFF
24405e66df Fix function called when trapping signals again or something like that 2022-07-27 21:39:58 +02:00
Le0xFF
a5d208968a Fix function called when trapping signals 2022-07-27 21:34:58 +02:00
Le0xFF
c51938b1a0 Try to trap kill signals 2022-07-27 21:25:47 +02:00
Le0xFF
e17e1d6e7c Cosmetic changes 2022-07-27 15:46:02 +02:00
Le0xFF
e2cfebb895 Cosmetic changes 2022-07-27 15:32:07 +02:00
Le0xFF
3226e29606 Fix fstab creation while in chroot and cosmetic changes 2022-07-27 15:26:17 +02:00
Le0xFF
f46aac7128 Cosmetic changes 2022-07-27 14:59:41 +02:00
Le0xFF
b49fb6083a Fix if conditions 2022-07-27 14:49:45 +02:00
Le0xFF
ddd4922009 Make LVM optional 2022-07-27 14:41:34 +02:00
Le0xFF
90d458ab23 Improve final unmounting partitions 2022-07-26 21:51:53 +02:00
Le0xFF
8b2efefcb7 Remove the need for the separate /home partition.
Now btrfs subvolume will take care of that. LVM is keeped but just for the whole encrypted partition, so adding more space in the future should be easier.
2022-07-26 21:30:01 +02:00
Le0xFF
3f3283b606 Update btrfs mount options
Removed ssd option because btrfs will automatically detect it; add discard=async; now compression will be always forced with compress-force
2022-07-25 21:07:10 +02:00
Le0xFF
c14f6f84e1 Change script name
Script renamed from VoidLinuxInstaller.sh to vli.sh
2022-07-25 19:36:38 +02:00