properly strip patches

This commit is contained in:
Matthew Stobbs
2025-03-12 15:22:35 -06:00
parent 4fe32cbdf5
commit 37205d134e
7 changed files with 12 additions and 3 deletions

0
tasks/config/greetd.yml Normal file
View File

0
tasks/pkgs/greetd.yml Normal file
View File

View File

@@ -32,6 +32,7 @@
basedir: "{{ aquamarine.git_path }}" basedir: "{{ aquamarine.git_path }}"
src: aquamarine/Alpine.patch src: aquamarine/Alpine.patch
state: present state: present
strip: 1
- name: Configure aquamarine - name: Configure aquamarine
ansible.builtin.command: ansible.builtin.command:

View File

@@ -31,6 +31,7 @@
basedir: "{{ hypridle.git_path }}" basedir: "{{ hypridle.git_path }}"
src: hypridle/cmakelists.patch src: hypridle/cmakelists.patch
state: present state: present
strip: 1
- name: Configure hypridle - name: Configure hypridle
ansible.builtin.command: ansible.builtin.command:

View File

@@ -31,6 +31,7 @@
basedir: "{{ hyprlock.git_path }}" basedir: "{{ hyprlock.git_path }}"
src: hyprlock/cmakelists.patch src: hyprlock/cmakelists.patch
state: present state: present
strip: 1
- name: Configure hyprlock - name: Configure hyprlock
ansible.builtin.command: ansible.builtin.command:

View File

@@ -25,12 +25,14 @@
repo: "{{ nwg_hello.git_repo }}" repo: "{{ nwg_hello.git_repo }}"
version: "{{ nwg_hello.vers }}" version: "{{ nwg_hello.vers }}"
- name: Apply patch if it exists for {{ ansible_os_family }} - name: Apply patch Alpine linux
ignore_failures: true when:
- ansible_os_family == 'Alpine'
ansible.posix.patch: ansible.posix.patch:
basedir: "{{ nwg_hello.git_path }}" basedir: "{{ nwg_hello.git_path }}"
src: nwg-hello/{{ ansible_os_family }}.patch src: nwg-hello/Alpine.patch
state: present state: present
strip: 1
- name: Install nwg-hello - name: Install nwg-hello
become: true become: true

4
vars/pkgs/greetd.yml Normal file
View File

@@ -0,0 +1,4 @@
greetd:
pkg:
RedHat:
- greetd