diff --git a/package/fake/lirc/lirc.conf b/package/fake/lirc/lirc.conf index 8544584b4..bf8396f27 100644 --- a/package/fake/lirc/lirc.conf +++ b/package/fake/lirc/lirc.conf @@ -20,6 +20,15 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +. $base/package/base/linux/kernelversion.sh + +add_wrapper uname <<- EOT + if [ "\$*" = "-r" ]; then + echo "$kernelversion" + exit 0 + fi + exec \$orig "\$@" +EOT # at least the serial driver... var_append confopt ' ' "--with-driver=serial --enable-sandboxed"