Skip to content

mkinitcpio: update the "sane PATH" to remove symlinked directories

nl6720 requested to merge nl6720/mkinitcpio:update-PATH into master

compgen -c from the fsck hook will look for files in all directories in PATH. Including those that are just symlinks to already defined ones.

This makes it run four times longer than necessary and needlessly overwrite existing files.

Use Arch's default path that omits the /usr/sbin, /sbin and /bin symlinks.

Merge request reports