summaryrefslogtreecommitdiffstats
path: root/hosts/alsvid2/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/alsvid2/postinst')
-rw-r--r--hosts/alsvid2/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/alsvid2/postinst b/hosts/alsvid2/postinst
index 9d6a465..61d9c49 100644
--- a/hosts/alsvid2/postinst
+++ b/hosts/alsvid2/postinst
@@ -66,6 +66,11 @@ cat >"${target}/etc/udev/rules.d/10-usbtinyisp.rules" <<-EOF
SUBSYSTEM=="usb", ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", MODE="0660", GROUP="adm"
EOF
+# Add udev rule for CH341A-based programmers.
+cat >"${target}/etc/udev/rules.d/10-ch341a.rules" <<-EOF
+ SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE="0666"
+ EOF
+
# Install Vertex themes.
in_target apt-get -q -y install gnome-themes-standard gtk2-engines-murrine \
libgtk-3-dev