Le0xFF
cfcebbb36e
Forgot to negate condition
2022-08-22 13:54:05 +02:00
Le0xFF
467828dd02
Better way to check if user exists or not
2022-08-22 13:52:45 +02:00
Le0xFF
711e9129e4
Fix newuser_yn variable
...
Avoid a condition where even if a new user was created, void_packages function would skip as well
2022-08-22 13:34:10 +02:00
Le0xFF
e9a4f62400
Fix exiting loop when creating a new user
2022-08-22 13:28:43 +02:00
Le0xFF
b54b9aff89
Cosmetic changes
2022-08-22 13:20:06 +02:00
Le0xFF
7f02dc7473
Add create_user function
...
Add function that will create as many user as desired and also added void_packages function to normal script flow
2022-08-22 13:06:28 +02:00
Le0xFF
8ad205b708
Add void_packages function
...
Add function that let user clone void-packages repository. Even if the function is implemented, it won't be used until a function that will create a non-root user will be implemented
2022-08-21 22:17:08 +02:00
Le0xFF
d32c069e41
Enable AppArmor profiles caching
2022-08-21 19:31:53 +02:00
Le0xFF
f7cda6e2e5
Fix zswap at boot
...
If z3fold driver was not added to dracut configuration, it wouldn't be loaded properly at boot
2022-08-21 19:22:41 +02:00
Le0xFF
611c4800c1
Give a label to swapfile
2022-08-21 18:14:24 +02:00
Le0xFF
371d79f762
Install void repos first, then sync
2022-08-21 17:54:29 +02:00
Le0xFF
a3a288b956
Fix multilib-nonfree repo name
2022-08-21 17:49:50 +02:00
Le0xFF
4a1dfed878
Cosmetic changes
2022-08-21 17:45:34 +02:00
Le0xFF
ef57ad522d
Fix typo
2022-08-21 17:43:24 +02:00
Le0xFF
6df893cdbd
Check if drive supports trim
...
Script will now check if the selected drive supports trim and will enable it eventually
2022-08-21 17:39:04 +02:00
Le0xFF
ba73840ea6
Add void repos multilib and nonfree during installation, as requested in issue #1
2022-08-21 17:08:42 +02:00
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
43484e7fcc
Keep chroot.sh up to date just in case
2022-08-11 18:31:58 +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
02b210171e
Add zswap information to README as well
2022-08-09 21:45:10 +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
6f735dd2a7
Improve README
...
Add swapfile creation and clearly say that both LVM and swap file are optional
2022-08-07 17:45:03 +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
b39dafb5a0
Add program to compute resume offset
...
Add btrfs_map_physical.c program and its LICENSE to compute physical offset needed to compute the resume offset for btrfs swap file and relative hibernation. Added also a small README about this folder
2022-08-07 17:39:10 +02:00
Le0xFF
d69e0eb467
Improve README
...
Now it explains better what it does during chroot
2022-08-06 10:02:54 +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