Browse Source

cryptodev-linux: fix aria 2 spam message

cryptodev log by default unecessary debug message
With some app (like aria2) the syslog get spammed with lots of this message
 cryptodev: aria2c[3231] (adjust_sg_array:106): reallocating from 32 to 512 pages

With this we disable logging of debug message as they are just for info purpose and they are not error at all.

Signed-off-by: Ansuel Smith ansuelsmth@gmail.com
lilik-openwrt-22.03
Ansuel Smith 8 years ago
parent
commit
0d611a5884
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
2 changed files with 5 additions and 3 deletions
  1. +4
    -2
      utils/cryptodev-linux/Makefile
  2. +1
    -1
      utils/cryptodev-linux/files/cryptodev.modules

+ 4
- 2
utils/cryptodev-linux/Makefile View File

@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=cryptodev-linux PKG_NAME:=cryptodev-linux
PKG_VERSION:=1.8.git-2017-02-09 PKG_VERSION:=1.8.git-2017-02-09
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@ -20,6 +20,8 @@ PKG_MIRROR_HASH:=627ce96e3ba66ca9c8e14f5d80193061fbe9d45cd8d4b69a1bf4dd5a2d50eed
PKG_SOURCE_URL:=https://github.com/cryptodev-linux/cryptodev-linux.git PKG_SOURCE_URL:=https://github.com/cryptodev-linux/cryptodev-linux.git
PKG_SOURCE_VERSION:=6818263667ca488f9b1c86e36ea624c4ea1c309f PKG_SOURCE_VERSION:=6818263667ca488f9b1c86e36ea624c4ea1c309f
PKG_MAINTAINER:=Ansuel Smith ansuelsmth@gmail.com
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -70,7 +72,7 @@ endef
define KernelPackage/cryptodev/install define KernelPackage/cryptodev/install
$(INSTALL_DIR) $(1)/etc/modules.d $(INSTALL_DIR) $(1)/etc/modules.d
$(INSTALL_DATA) ./files/cryptodev.modules $(1)/etc/modules.d/80-cryptodev
$(INSTALL_DATA) ./files/cryptodev.modules $(1)/etc/modules.d/50-cryptodev
$(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION) $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
endef endef


+ 1
- 1
utils/cryptodev-linux/files/cryptodev.modules View File

@ -1 +1 @@
cryptodev
cryptodev cryptodev_verbosity=-1

Loading…
Cancel
Save