Skip to content

Commit

Permalink
Add usb-serial-touchscren service for serial touchscreens
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jan 22, 2024
1 parent 5a54d51 commit 9fda8f6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Depends: ${misc:Depends}, ${shlibs:Depends},
bash, podman, openssl, coreutils, util-linux, gawk, bash,
btrfs-progs, parted, dosfstools, snapper, mount, rsync,
sed, inotify-tools, curl, ifupdown2, snapper, jq,
calaos-ddns
calaos-ddns, inputattach
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ override_dh_installsystemd:
dh_installsystemd --name=calaos-container --no-stop-on-upgrade
dh_installsystemd --name=calaos-boot --no-start --no-stop-on-upgrade
dh_installsystemd --name=grub-btrfsd --no-enable
dh_installsystemd --name=usb-serial-touchscreen --no-enable

override_dh_gencontrol:
dh_gencontrol -- -v$(PACKAGEVERSION)
12 changes: 12 additions & 0 deletions debian/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Inputattach tool for serial2USB converter on %i
BindTo=dev-%i.device
After=dev-%i.device xserver-nodm.service

[Service]
ExecStart=/usr/bin/inputattach -elo /dev/%i
Restart=always
RestartSec=0

[Install]
WantedBy=multi-user.target

0 comments on commit 9fda8f6

Please sign in to comment.