summaryrefslogtreecommitdiffstats
path: root/libalpm/scripts/mkinitcpio-install
AgeCommit message (Collapse)AuthorFilesLines
2019-10-10Rework the install script a bit moreGiancarlo Razzolini1-9/+20
Added comments to make the flow more understandable. We now actively bail when we encounter a kernel with no pkgbase. Also, if the preset does not exist yet, and there is a .pacsave, we move that instead of copying from the template. Move the preset check alongside the check if all was passed and finally, check if the args array is not empty, before trying to run mkinitcpio.
2019-10-09Change the script to abort on errors and quote the glob on compgenGiancarlo Razzolini1-2/+2
2019-10-09Rework of the script to cover all casesGiancarlo Razzolini1-12/+26
The script did not work properly for the cases where more than one kernel was being installed, or only when mkinitcpio without a kernel is installed. Now the script runs properly on all cases.
2019-10-09Rework the script to create the preset and install the actual kernel to /bootGiancarlo Razzolini1-0/+19
The script now will use a prepared preset to create presets when new kernels are installed. It will also always copy the vmlinuz kernel to /boot.