From: glb on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3001#note_1819101162 I was probably being overly cautious by moving it out of the conditional. My thought at the time was that someone might recompile a kernel package with the same version (e.g., while trying to debug a problem). If the symlink is present, presumably the symlink would point to the updated symvers file. However, if a copy is being placed on /boot instead of a symlink, there might be a (small) chance that the file that is there isn't the correct one for the kernel being installed/updated. Moving the copy command back into the conditional would also alleviate the potential problem of the copy command returning a "'/boot/symvers...' and '/var/lib/.../symvers...' are the same file" error. I'll move the copy command back in the conditional if you think that would be better than adding `|| :` at the end. -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue