properly strip patches
This commit is contained in:
0
tasks/config/greetd.yml
Normal file
0
tasks/config/greetd.yml
Normal file
0
tasks/pkgs/greetd.yml
Normal file
0
tasks/pkgs/greetd.yml
Normal file
@@ -32,6 +32,7 @@
|
||||
basedir: "{{ aquamarine.git_path }}"
|
||||
src: aquamarine/Alpine.patch
|
||||
state: present
|
||||
strip: 1
|
||||
|
||||
- name: Configure aquamarine
|
||||
ansible.builtin.command:
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
basedir: "{{ hypridle.git_path }}"
|
||||
src: hypridle/cmakelists.patch
|
||||
state: present
|
||||
strip: 1
|
||||
|
||||
- name: Configure hypridle
|
||||
ansible.builtin.command:
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
basedir: "{{ hyprlock.git_path }}"
|
||||
src: hyprlock/cmakelists.patch
|
||||
state: present
|
||||
strip: 1
|
||||
|
||||
- name: Configure hyprlock
|
||||
ansible.builtin.command:
|
||||
|
||||
@@ -25,12 +25,14 @@
|
||||
repo: "{{ nwg_hello.git_repo }}"
|
||||
version: "{{ nwg_hello.vers }}"
|
||||
|
||||
- name: Apply patch if it exists for {{ ansible_os_family }}
|
||||
ignore_failures: true
|
||||
- name: Apply patch Alpine linux
|
||||
when:
|
||||
- ansible_os_family == 'Alpine'
|
||||
ansible.posix.patch:
|
||||
basedir: "{{ nwg_hello.git_path }}"
|
||||
src: nwg-hello/{{ ansible_os_family }}.patch
|
||||
src: nwg-hello/Alpine.patch
|
||||
state: present
|
||||
strip: 1
|
||||
|
||||
- name: Install nwg-hello
|
||||
become: true
|
||||
|
||||
4
vars/pkgs/greetd.yml
Normal file
4
vars/pkgs/greetd.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
greetd:
|
||||
pkg:
|
||||
RedHat:
|
||||
- greetd
|
||||
Reference in New Issue
Block a user