wally-cli: don't vendor udev rules
So far, the udev rules contained in this package were manually maintained, which is probably the reason that the necessary rules for using the Moonlander keyboard with their training software, Oryx, wasn't present. I've created a new package, wally-udev-rules, which fetches the udev rules from the upstream repo instead. As the build process for wally itself (which should not be confused with wally-cli) is completely undocumented, I've not done this "properly" (which would be packaging wally and having wally-udev be a subpackage of wally, which is then depended upon by wally-cli) for now, but this is already a step in the right direction IMO. Closes: #30879 [via git-merge-pr]
This commit is contained in:
parent
d20172adc8
commit
2f913f3998
3 changed files with 3 additions and 19 deletions
|
@ -1,3 +0,0 @@
|
|||
Please add your user to the group 'plugdev' by executing the following:
|
||||
|
||||
usermod -aG plugdev "$USER"
|
|
@ -1,11 +0,0 @@
|
|||
# These rules are derived from the instructions at
|
||||
# https://github.com/zsa/wally/wiki/Linux-install#2-create-a-udev-rule-file
|
||||
|
||||
# Teensy rules for the Ergodox EZ
|
||||
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
|
||||
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
|
||||
|
||||
# STM32 rules for the Moonlander and Planck EZ
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666", SYMLINK+="stm32_dfu"
|
|
@ -1,23 +1,21 @@
|
|||
# Template file for 'wally-cli'
|
||||
pkgname=wally-cli
|
||||
version=2.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="wally-cli-${version}-linux"
|
||||
build_style=go
|
||||
go_import_path="github.com/zsa/wally-cli"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libusb-devel pkg-config go-bindata"
|
||||
depends="wally-udev-rules"
|
||||
short_desc="Flashing firmware for ZSA keyboards"
|
||||
maintainer="Wayne Van Son <waynevanson@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://www.zsa.io/wally/"
|
||||
distfiles="https://github.com/zsa/wally-cli/archive/${version}-linux.tar.gz"
|
||||
checksum="2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745"
|
||||
conf_files="/usr/lib/udev/rules.d/50-wally.rules"
|
||||
system_groups="plugdev"
|
||||
checksum=2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745
|
||||
|
||||
post_install() {
|
||||
# vendoring license is obsolete in the next release
|
||||
vlicense "$FILESDIR/LICENSE"
|
||||
vinstall "$FILESDIR/50-wally.rules" 0644 /usr/lib/udev/rules.d
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue