mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
sane-backends: depend on scanner-support for the group
The package allocates a group named scanner with a dynamic id, while openwrt.git's scanner-support package allocates it as gid 47. Two different ids for one group name make the metadata scan fail. Depend on scanner-support and pin the group to the same id. The hotplug script stays here: it matches a scanner by vendor and product id against the usbid lists this package ships, which scanner-support has no way to do, and it already checks that the group exists before granting access. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
1 parent
a09a32e9bf
commit
05dc1768cb
1 file changed
+3
-3
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sane-backends
|
||||
PKG_VERSION:=1.4.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/-/project/429008/uploads/843c156420e211859e974f78f64c3ea3/
|
||||
@@ -127,9 +127,9 @@ define Package/sane-daemon
|
||||
$(call Package/sane-backends/Default)
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libsane
|
||||
DEPENDS:=scanner-support +libsane
|
||||
TITLE+= (network daemon)
|
||||
USERID:=saned:scanner
|
||||
USERID:=saned:scanner=47
|
||||
endef
|
||||
|
||||
define Package/sane-daemon/description
|
||||
|
||||
Reference in new issue
Block a user