I have noticed that sometimes when I upgrade my system (sudo pacman -Syu), when there is a case that initcpio images should be re-generated (in case of kernel updates, etc.), this is done twice (I don't mean the fallback image). I did not observe this behavior when I was using Arch Linux on my old laptop for the past 5 years.
Below you can find the terminal output of my most recent update which shows this situation:
As you can see, initcpio images are generated twice. Once after "( 5/12) Updating linux initcpios..." step and then a second time after "( 8/12) mkinitcpio and grub update after transaction." step.
Do you have any idea why it happens this way? Is this normal behavior for Garuda Linux or maybe Garuda pacman post-transaction hooks need some optimization?
Disclaimer: I installed my Garuda Linux using garuda-kde-barebones-linux-lts-210225.iso, a few days after it was released (and I update it regularly almost every day). I know barebones edition has no support, but I believe this should be a common problem (if it indeed is a problem) for all Garuda editions.
The only changes I made after installation was installing linux-zen (and removing linux-lts) and removing most Garuda apps/packages except for garuda-common-settings package (and its dependencies of course) which means I have garuda-hooks (dependency for garuda-common-settings) untouched just like other Garuda editions.
And for completeness, here is my "inxi -Fxxxza" output: (taken right after the above update and before rebooting)