Commit graph

66 commits

Author SHA1 Message Date
elementrick
d80de009ef Change: Revamped 'Sanity Check' stage code
Add: 'Auto-Guided Installation' > 'Sanity Check' > 'Partitioning' > Installer now smartly suggests necessary stages (Smart Partitioning / Partition Layout Preset Selection / Manual Partitioning) to accomplish partitioning.
Prompts / visuals added
Indentation
2024-07-02 21:12:07 +00:00
elementrick
172bffb754 Prompt renaming 2024-06-30 08:14:55 +00:00
elementrick
02f8c57372 Code optimization 2024-06-30 07:51:40 +00:00
elementrick
e37b034a6a Change: 'Sanity Check' stage : Rename 'Disk /dev/xxxx Auto-Formatted OK' prompt to 'Disk /dev/xxxx Auto-Partitioned OK', as this is correct description to use. 2024-06-29 17:41:25 +00:00
elementrick
090b654c3c Fixed a bug preventing auto-guided partition formatting 2024-06-29 17:28:16 +00:00
Elementrick
7d55f08ae3 Add: 'Partition Manager' > 'Automatic Partitioning' > 'Preset Selection' :
Now, when presets [3] & [4] are selected (create ESP, /Root, /Home & ESP, /Root, /Home, /Swap)
the user can set a custom percentage for the '/Root' partition's size to be created.
Default percentage is 25% of the Disk's total detected capacity.
Aesthetic adjustments/ polishing the TUI in the 'Automatic Partitioning' stage.
Indentation.
2024-06-28 21:51:27 +00:00
Elementrick
ff7bb93f86 Change: Replace all 'mkdir' commands with 'mount --mkdir' where applicable 2024-06-26 19:45:00 +00:00
Jane Doe
da2b2b5a0a Change: 'Auto-Guided Installation' > The installer now offers the choice to 'Automagically' partition (Best Effort) the installation disk.
The 'Partition Layout Preset' to be used, derives automatically from the current User Preferences.
No additional user input is needed.
When this option is used, and after successful stage completion, 'Sanity Check' will report the event as: 'Disk </dev/xxxxxx> Auto-Formatted OK'
2024-06-25 21:29:47 +00:00
Jane Doe
9cc471af81 Change: 'Filesystem Selection' > 'Ext4' > Now the installer offers to create/use a separate '/Home' partition if desired
Change: 'Sanity Check' stage : Now the installer asks for action if more than 1 partitions of type 'Linux /Home' are found
ONLY if the user has previously selected 'Ext4' as filesystem and use of a separate /Home partition
Change: 'Sanity Check' stage : Now the installer asks for action if more than 1 partitions of type 'Linux /Swap' are found
ONLY if the user has previously selected use of a /Swap partition
Change: 'Encryption Setup' stage : Now if a partition of type 'Linux /Home' is detected, the installer offers to encrypt it
ONLY if the user has previously selected 'Ext4' as filesystem and use of a separate /Home partition
Change: 'Confirm Installation Status' > 'Revise Installation' > The 'Partition Manager' stage has been removed,
as the installer can now automatically deal with the partitions layout it is presented with.
Change: The '--graceful' flag has been removed from the options, when installing 'systemd-boot'
Minor indentation
2024-06-25 18:11:31 +00:00
Jane Doe
1cf0a8af43 Change 'mkinitcpio' hooks 'keymap, consolefont' to 'sd-vconsole' as systemd is being used. 2024-06-23 16:26:38 +00:00
Jane Doe
feee5e36c6 Remove: Since systemd 255+ and mkinitcpio 38+, a lot of Swapping configuration has been deprecated due to systemd's amazing automation, so it has been removed (as being redundunt) from the installer, following the latest guidelines.
Add: Sanity Check > When several partition of the same type {root,ESP,home,swap} are detected, the installer will warn and manage ONLY the ones relevant to your currently detected preferences.
Indentation.
2024-06-23 15:35:58 +00:00
Jane Doe
6271e0a9d3 Remove: For reduced complexity, the 'Installation Disk & Encryption' stage has been removed from the 'Disk Management' submenu.
It is now part of the auto-guided 'Start Installation' stage.
Change: 'Disk Management' > 'Partition Manager' > 'Automatic Partitioning': Now detects user's current preferences and offers/selects the appropriate 'Partition Layout Preset' automatically.
Add: Packages: 'gnome-shell-extension-appindicator' and 'glib2-devel' have been added to the 'Custom Gnome Setup'
Change: Silence verbosity of stdout/stderr when a 'Swapfile' is created.
Minor visual changes and indentation.
2024-06-22 21:35:17 +00:00
Jane Doe
19f086195a Change: Plasma/Gnome Optimized System Setups: Silence unnecessary verbosity when activating 'x86_energy_perf_policy' package during installation, where applicable.
Change: Remove unnecessary '--ultra -20' flag from the zstd compression option at '/etc/makepkg.conf.d/makepkgd.conf' custom drop-in file.
2024-06-21 14:54:55 +00:00
Jane Doe
a913d5f40e Changes in 'Auto Partitioning' stage, to avoid verbosity of 'stderr' when selected drive did not exist/answer was invalid
Add: In 'Auto Partitioning' stage, extended info and colors have been added to the prompt, to better clarify which filesystems the 'Partition Layout Presets' support.
Add: In the Manual 'Format Boot Partition' & 'Format Root Partition' stages, if formatting the selected partition is skipped, a 2 sec delay has been added after the 'Warning' prompt to stress the importance.
2024-06-17 17:11:33 +00:00
Jane Doe
c61366ceda Changed ESP's minimum size limit to 200M from 300M at 'Sanity Check' stage 2024-06-17 14:25:08 +00:00
Jane Doe
2d62d97674 Add: For clarification, 'Partition Layout Presets' now show which filesystem is supported 2024-06-16 06:18:18 +00:00
Jane Doe
3a04b5bb25 Add: The'Partition Manager' stage has been fully revamped, and now consists of 2 Modes:
An 'Auto Mode' that offers ready-made compatible Partition Layout Presets with sane defaults to select from,
and a 'Manual Mode', (which now shows extended info about the supported partition types and mountpoints that the installer expects), where 'cgdisk' is used, with its easy and and intuitive ncurses TUI.
2024-06-15 22:57:43 +00:00
Jane Doe
a109cffd1f Partition Manager stage: Added extended info about the supported partition types and mountpoints that the installer expects, for the installation to proceed.
Add: During 'Installation Disk Selection' stage, the installer scans the installation disk and if the ESP is found to be less than 300M,
the installer returns to the 'Partition Manager' stage, so the user can remedy this.

Add: For extended clarity reasons, A 'pseudo-graphical' partition/filesystem presentation has been added at the 'Sanity Check' stage
when multiple partitions of the same type {root/EFI/home/swap} have been detected and the user needs to confirm the Automated Selection made by the installer, to comply with the 'Discoverable Partition Specifications'
2024-06-13 21:14:56 +00:00
Jane Doe
891e052ec0 Partition Manager: Added extended info on the supported partition types and mountpoints that the installer expects, for the installation to proceed. 2024-06-12 17:35:11 +00:00
Jane Doe
2c543a2ffd A new mechanism has been added, that scans the partitions on the installation disk and if more than one of each type {root/EFI/home/swap} are detected,
it Auto-Assigns the 1st partition of each type, to be used by systemd's automation in the installation (as the 'Discoverable Partitions Specifications' dictate).
Of course comes with its own menu/prompts, for user interaction.
2024-06-11 20:03:05 +00:00
Jane Doe
187b84dd63 Undo recent changes 2024-06-11 15:05:23 +00:00
Jane Doe
c322988b4c A new mechanism has been added, to scan the partitions on the selected (installation) disk and if more than one of each type {root/EFI/home/swap} is detected,
to Auto-Assign the 1st partition of each type, to be used by systemd's automation in the installation (as the 'Discoverable Partitions Specifications' dictate).
Of course comes with its own menu/prompts, for user interaction.
2024-06-11 14:29:02 +00:00
Jane Doe
294e05deec Visual prompts added/replaced
If no Kernel has been selected, the 'Graphics Setup' stage will now send you to the 'Kernel & Bootloader Selection' stage first
If no filesystem has been selected, the 'Graphics Setup' stage will now send you to the 'Filesystem & Swap Selection' stage first
Reselecting any Kernel from 'Kernel Selection' stage now forces a re-run of the 'Graphics Setup' stage (if already run)
Reselecting a filesystem from 'Filesystem Selection' stage now forces a re-run of the 'Graphics Setup' stage (if already run)
Reselecting any Swap type from 'Swap Setup' stage now forces a re-run of the 'Graphics Setup' stage (if already run)
If Linux Hardened Kernel is selected and Swap is concurrently selected, the installer issues a warning and defaults to 'No Swap' setting
Selecting 'n' to configure single-graphics Nvidia setup defaults to 'nouveau'
Selecting 'n' to configure a multi-graphics setup including Nvidia, defaults to open-source drivers
If an AMD gpu & Nvidia gpu are detected and 'Nvidia-Open' drivers are selected, then the installer issues a warning and then a 'Confirmation' prompt
Nvidia's 'Suspend-Hibernate-Resume' Video-Memory Preserving feature from the Proprietary Nvidia driver can be auto-configured
If Nvidia's 'Suspend-Hibernate-Resume' Video-Memory Preserving feature is selected and Swap has not been set or Linux 'Hardened' Kernel has been selected, the feature will not be enabled
System installation/configuration is now silent (not verbose), the installer will inform if/where errors occur and abort installation
Services are explicitly activated now
Code cleanup and indentation
2024-06-08 21:23:53 +00:00
Jane Doe
6b3dca7c9d Major version bump
Added new color & prompt functions
Major visual (TUI) revision
Added support for installing graphics drivers when multi-gpu systems are detected and code revision/overhaul
Changed 'Welcome/Warning' screen and 'Completion" message
Changes at "Locale Setup' stage
Code revision at 'Swap' creation, Format 'Root/Home', 'Auto-Mode' 'LUKS Encryption' and other stages
Changed the reaction to errors to 'Abort' in almost any significant configuration that takes place, to verify a successful installation
Changed the way the country codes are filtred at "Wireless Regulatory Domain Setup' stage
Hide 'stdout & stderr' messages for a cleaner experience (still the installer warns about them)
Code cleanup and indentation
2024-06-02 20:21:35 +00:00
Jane Doe
755167e2bc 'Encryption Option' has been added when revising installation
Improve aesthetics
2024-05-25 20:45:10 +00:00
Jane Doe
158f224ccd Reduce visual prompts loading time
Hide <command> stdout/stderr for improved aesthetics
Greatly improve aesthetics in 'Filesystem Overview' prompt
Delete some visual prompts for clarity reasons
Add 'Warning' prompts when selecting NOT to format partitions, when in 'Manual Mode' > 'Format Partitions' stage
Revert 'Reflector's' output to 'verbose' for clarity reasons
Code indentation
2024-05-24 20:05:58 +00:00
Jane Doe
f4a7447805 Add comments 2024-05-19 10:14:29 +00:00
Jane Doe
4e37543116 "EFI Boot Entries Deletion" stage is now ommited if a VM is detected.
If Dual/Triple graphics setup is detected, graphics configuration defaults to 'no'.
Minor aesthetic corrections.
2024-05-18 20:30:02 +00:00
Jane Doe
4446db1023 Changed the way "Swapfile" is managed, to comply with the latest ArchWiki changes.
Changed/Reverted the way Locales are being filtered at "Selecting Locale" Stage.
Unified "KDE Plasma (Optimized) & Gnome (Optimized) configuration into the same code block.
Completely re-written the "Stage-Success" verification mechanism. Now is more elaborate and very detailed/verbose.
Minor aesthetic corrections.
2024-05-18 16:33:28 +00:00
Jane Doe
2c92e181bb Changed the way Locales are being filtered at "Selecting Locale" Stage. 2024-05-17 19:19:41 +00:00
Jane Doe
669517bad9 Changes to the 'makepkgd.conf' drop-in file for 'makepkg' that optimizes the building process (only applicable to KDE Plasma Custom & Gnome Custom Setups).
Changed the way "reflector" presents the Countries list, before obtaining the available mirrors.
2024-05-17 18:22:09 +00:00
Jane Doe
83544e8fcf Changes to the 'makepkgd.conf' drop-in file for 'makepkg' that optimizes the building process (only applicable to KDE Plasma Custom & Gnome Custom setups). 2024-05-16 15:15:55 +00:00
Jane Doe
f181bc6ada Changes to comply with 'shellcheck'
Added: Stage-Success verification to prevent (and abort) an errored installation
Code cleanup, cosmetic changes, warning prompt added against pacstrap errors & minor script corrections
2024-05-12 11:52:14 +00:00
Jane Doe
be8e337015 Cosmetic changes 2024-05-11 08:16:03 +00:00
Jane Doe
79e38c0ef9 Change: 'usr/share/i18n/SUPPORTED' is now used to list all available Locales.
Cosmetic changes
2024-05-10 18:19:33 +00:00
Jane Doe
dd1a4b8eb7 Rename some prompts with additional details 2024-05-09 14:13:06 +00:00
Jane Doe
b64220a49d Removed: 'ufw' 'ufw-extras' 'gufw' and related services from Custom Plasma & Custom Gnome Setups 2024-05-09 13:09:42 +00:00
Jane Doe
4e19fb1bad Minor changes, file renaming, menu prompts added 2024-05-07 18:01:12 +00:00
Jane Doe
0f770a17dd Cosmetic changes 2024-05-07 13:19:50 +00:00
Jane Doe
7f0b8ac3e7 Add: Changes to take use of the 'makepkg.conf.d' drop-in directory, a few changes in the 'custom' and 'vanilla' setups, simplifying configuration, bumped minor program version, cosmetic changes. 2024-05-05 11:29:34 +00:00
Jane Doe
1b3c27be86 An 'Internet Connection Check' stage has been added. The installer now checks for an active internet connection and exits if none is found.
The 'UEFi Mode Check' stage now shows UEFI bitness.
The 'System Clock Update' stage now shows relevant info.
A few cosmetic changes took place.
2024-05-04 15:09:51 +00:00
Jane Doe
5b19fdb3a9 Changes to adapt to the latest mkinitcpio 2024-05-04 11:32:17 +00:00
Jane Doe
f45e2e8722 Added a few packages to Custom Gnome Setup to increase functionality 2024-05-03 18:11:22 +00:00
Jane Doe
6b1718b34a Package renaming to reflect Arch Linux changes 2024-05-01 13:17:38 +00:00
Jane Doe
683e35a760 Add: A new lightweight Gnome 46 Setup & 'systemd-boot' & system optimizations. 2024-04-30 14:34:56 +00:00
Jane Doe
726f516efb Change: Comment out "debug" flag in "OPTIONS" array at "makepkg.conf" (applicable ONLY when selecting to install 'KDE Plasma Optimized' desktop. 2024-03-22 12:56:36 +00:00
Jane Doe
e31530470f Add: Changes to reflect "mkinitcpio.conf" microcode HOOK inclusion ("systemd-boot" entries configuration also affected/changed) 2024-03-22 11:15:42 +00:00
Jane Doe
a897f4c292 Changes to include KDE Plasma 6 desktop 2024-03-22 10:10:50 +00:00
Jane Doe
ec7c24e1a4 Bumped up version, added semicolon 2024-02-19 17:58:49 +00:00
Jane Doe
fbe0e926ad When a VM is detected, vm-specific packages (i.e. 'virtualbox-guest-utils') and vm-necessary services (i.e. 'vboxservice') will be automatically installed and enabled
When 'Nvidia' graphics are detected and running the 'Nvidia.hook' is needed, 'pacman.conf' involved option will be uncommented (activated) and '/etc/pacman.d/hooks/' directory will be created
2024-02-19 17:50:25 +00:00