Commit c5e67ec1 authored by KatolaZ's avatar KatolaZ Committed by Daniel Reurich

amended eudev.preinst check for kernel symbols

parent 863d20f7
......@@ -108,7 +108,7 @@ check_kernel_features() {
local needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create'
local missing_symbol=0
for symbol in $needed_symbols; do
if ! egrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms; then
if ! egrep -q "^[a-fA-F0-9]+ T .*sys_${symbol}$" /proc/kallsyms; then
missing_symbol=1
abort_install=1
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment