-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Installs locally built metapackage in staging
The "securedrop-grsec" metapackage isn't included in the "install-local-packages" logic, for the staging environment. That makes evaluationg metapackage changes difficult. Let's add support for local metapackages to aid in adjusting kernel-related settings.
- Loading branch information
Conor Schaefer
committed
Jan 6, 2021
1 parent
079a130
commit 842787a
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
install_files/ansible-base/roles/grsecurity/tasks/from_local_pkg_install_grsec.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
- name: Copy locally built securedrop-grsec metapackage | ||
copy: | ||
src: "../../build/{{ ansible_distribution_release }}/securedrop-grsec-{{ securedrop_pkg_grsec.ver }}{{ '+focal' if securedrop_staging_install_target_distro|default('') == 'focal' else '' }}-amd64.deb" | ||
dest: /root/securedrop-grsec.deb | ||
|
||
- name: Install locally built securedrop-grsec metapackage | ||
command: apt-get install -y -f /root/securedrop-grsec.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters