From 16a7e01804deb40fdcf0d68ac2c21793c628fd23 Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 7 Jan 2024 14:37:25 +0100 Subject: [PATCH] feat: add fsguard module --- .github/workflows/vib-build.yml | 5 ++++- .github/workflows/vib-pr.yml | 5 ++++- recipe.yml | 7 +++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vib-build.yml b/.github/workflows/vib-build.yml index 41b94e3..e6895b4 100644 --- a/.github/workflows/vib-build.yml +++ b/.github/workflows/vib-build.yml @@ -18,7 +18,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: vanilla-os/vib-gh-action@v0.3.2-2 + - uses: vanilla-os/vib-gh-action@v0.3.3-1 + with: + recipe: 'recipe.yml' + plugins: 'Vanilla-OS/vib-fsguard:v1.0-3' - name: Build the Docker image run: docker image build -f Containerfile --tag ghcr.io/vanilla-os/desktop:main . diff --git a/.github/workflows/vib-pr.yml b/.github/workflows/vib-pr.yml index fffbac4..92cef88 100644 --- a/.github/workflows/vib-pr.yml +++ b/.github/workflows/vib-pr.yml @@ -13,7 +13,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: vanilla-os/vib-gh-action@v0.3.2-2 + - uses: vanilla-os/vib-gh-action@v0.3.3-1 + with: + recipe: 'recipe.yml' + plugins: 'Vanilla-OS/vib-fsguard:v1.0-3' - name: Build the Docker image run: docker image build -f Containerfile --tag vanillaos/desktop . diff --git a/recipe.yml b/recipe.yml index 2067ee0..f810dbe 100644 --- a/recipe.yml +++ b/recipe.yml @@ -18,6 +18,7 @@ modules: - apt upgrade -y - apt clean - apt-mark hold snapd gnome-software-plugin-snap + - apt install minisign - name: vanilla-tools type: shell @@ -79,3 +80,9 @@ modules: - apt autoremove -y - apt clean - lpkg --lock + +- name: fsguard + type: fsguard + FsGuardLocation: "/usr/sbin/init" + GenerateKey: true + FilelistPaths: ["/usr/bin"]