Skip to content

Commit

Permalink
Merge pull request #324 from freedomofpress/307-udev-export-devices
Browse files Browse the repository at this point in the history
Support automatic attachment of export devices
  • Loading branch information
emkll authored Jan 30, 2020
2 parents 878799a + c5cab44 commit fb2acd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpm-build/SPECS/securedrop-workstation-dom0-config.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +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/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/
Expand All @@ -56,6 +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 -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/
Expand All @@ -70,6 +73,7 @@ install -m 644 launcher/sdw_updater_gui/*.py %{buildroot}/opt/securedrop/launche
/srv/salt/securedrop-*
/srv/salt/fpf*
/opt/securedrop/*

%post
find /srv/salt -maxdepth 1 -type f -iname '*.top' \
| xargs -n1 basename \
Expand Down

0 comments on commit fb2acd0

Please sign in to comment.