Commit Graph

164 Commits

Author SHA1 Message Date
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
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
2532627e28 Update unused script to keep it up to date
This won't be used anymore, but it's handy to have it up to date, just in case
2022-07-30 19:45:36 +02:00
Le0xFF
52e296bee2 Use sed to edit fstab 2022-07-30 19:41:38 +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