From c5cab448b0fd0c3abbb87ee05e34d07143a42e58 Mon Sep 17 00:00:00 2001 From: John Hensley Date: Wed, 29 Jan 2020 15:29:45 -0500 Subject: [PATCH] Make USB auto attachment removable --- rpm-build/SPECS/securedrop-workstation-dom0-config.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpm-build/SPECS/securedrop-workstation-dom0-config.spec b/rpm-build/SPECS/securedrop-workstation-dom0-config.spec index 46fe7cfe..7ad2ba07 100644 --- a/rpm-build/SPECS/securedrop-workstation-dom0-config.spec +++ b/rpm-build/SPECS/securedrop-workstation-dom0-config.spec @@ -42,7 +42,7 @@ install -m 755 -d %{buildroot}/srv/salt/sd/sd-whonix install -m 755 -d %{buildroot}/srv/salt/sd/sd-workstation install -m 755 -d %{buildroot}/srv/salt/sd/sys-firewall install -m 755 -d %{buildroot}/usr/share/%{name}/scripts -install -m 755 -d %{buildroot}/srv/salt/sd/sys-usb +install -m 755 -d %{buildroot}/srv/salt/sd/usb-autoattach install -m 644 dom0/*.sls %{buildroot}/srv/salt/ install -m 644 dom0/*.top %{buildroot}/srv/salt/ install -m 644 dom0/*.j2 %{buildroot}/srv/salt/ @@ -57,7 +57,8 @@ install -m 644 sd-proxy/* %{buildroot}/srv/salt/sd/sd-proxy/ install -m 644 sd-whonix/* %{buildroot}/srv/salt/sd/sd-whonix/ install -m 644 sd-workstation/* %{buildroot}/srv/salt/sd/sd-workstation/ install -m 644 sys-firewall/* %{buildroot}/srv/salt/sd/sys-firewall/ -install sys-usb/* %{buildroot}/srv/salt/sd/sys-usb/ +install -m 644 usb-autoattach/99-sd-devices.rules %{buildroot}/srv/salt/sd/usb-autoattach/ +install -m 755 usb-autoattach/sd-attach-export-device %{buildroot}/srv/salt/sd/usb-autoattach/ install -m 644 Makefile %{buildroot}/usr/share/%{name}/Makefile install -m 755 scripts/* %{buildroot}/usr/share/%{name}/scripts/ install -m 644 launcher/*.py %{buildroot}/opt/securedrop/launcher/