Commit 893574a4 authored by KatolaZ's avatar KatolaZ Committed by Daniel Reurich

improved check on eudev.preinst (thanks to Irrwhan)

parent c5e67ec1
......@@ -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
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