Mkinitcpio hooks format

Hi,

Quick question, but I noticed this morning that the way hooks are defined in mkinitcpio.conf is defined in an old fashioned way. I think it changed about seven years ago.

This is the way it is defined after an install:

HOOKS=“base udev autodetect kms modconf block keyboard keymap consolefont filesystems”

This is how I believe it should be:

HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont filesystems)

Any reason why we are using the old format?

Edit:

Also noticed this:

Deprecated option ‘ALL_microcode’ found. Update ‘/etc/mkinitcpio.d/linux-cachyos.preset’ to use the ‘microcode’ hook instead.

This has been fixed in Calamares 3.3. I guess you are having an older installation?

Deprecated option ‘ALL_microcode’ found. Update ‘/etc/mkinitcpio.d/linux-cachyos.preset’ to use the ‘microcode’ hook instead.

This was mentioned in our discord - anyways:

Arch has pushed changes to the microcode handling.
Please do following:
Add the "microcode" hook into the /etc/mkinitcpio.conf after the "autodetect" hook
Remove in /etc/mkinitcpio.d/*.preset the ALL_microcode Line
Regenerate your entries with sudo mkinitcpio -P

On the bootloader side we will push soon an update for systemd-boot, which removes the initrd line for the ucode.
At grub and refind nothing needs to be done (i guess)

https://archlinux.org/news/mkinitcpio-hook-migration-and-early-microcode/ 

Ah, didnt know. Thanks

I have updated my configuration now.