diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-10-01 19:57:54 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-10-01 20:13:55 +0200 |
commit | 8d59e6a1d7ef3e68b6ed3f17a7a0c20873055592 (patch) | |
tree | 0053f4a8140f3df8ff7c4f211eb48b5fc7d5a7ee /install | |
parent | b255bdc78754c4cde9835b6cb2865da1f9b122bf (diff) | |
download | mkinitcpio-8d59e6a1d7ef3e68b6ed3f17a7a0c20873055592.tar.gz mkinitcpio-8d59e6a1d7ef3e68b6ed3f17a7a0c20873055592.tar.xz |
Avoid erroneous deprecation warnings
Consistently handle hooks as symlinks by relying on the exit status of
readlink instead of an lstat and always, additionally, examine the hooks
basenames to ensure that we aren't warning about foo deprecating foo
(because the hook is a symlink to somewhere else that the hook is
actually stored on disk.
ref: https://bugs.archlinux.org/task/55323
Diffstat (limited to 'install')
0 files changed, 0 insertions, 0 deletions