remove workarounds for things which are now available from the repos

This commit is contained in:
erebion 2024-09-07 17:34:14 +02:00
parent c2da08182c
commit d4a1b75f24

View file

@ -26,47 +26,7 @@
### Various Small Fixes ### ### Various Small Fixes ###
- name: "Copy /usr/share/initramfs-tools/hooks/qcom-firmware" # currently non seem to be required :)
ansible.builtin.copy:
src: qcom-firmware
dest: /usr/share/initramfs-tools/hooks/qcom-firmware
owner: root
group: root
mode: u+rwx
force: true
# Has been merged, but package did not have a new release yet
# https://salsa.debian.org/DebianOnMobile-team/qcom-phone-utils/-/merge_requests/2
- name: "Create directory for a unit override for droid-juicer.service"
ansible.builtin.file:
path: "/etc/systemd/system/droid-juicer.service.d/"
state: directory
mode: '0644'
- name: "Copy override.conf for droid-juicer.service"
ansible.builtin.copy:
src: override.conf
dest: /etc/systemd/system/droid-juicer.service.d/override.conf
owner: root
group: root
mode: u+rw
force: true
register: droid_juicer_unit_override
# Original unit has a hardcoded value, we'll just an override temporarily
# https://gitlab.com/mobian1/droid-juicer/-/issues/4
- name: "Reload systemd units"
ansible.builtin.systemd:
daemon_reload: yes
when: droid_juicer_unit_override.changed
- name: "Restart droid-juicer.service after adding the override"
ansible.builtin.systemd:
enabled: true
state: restarted
name: "droid-juicer.service"
when: droid_juicer_unit_override.changed
### Bluetooth ### ### Bluetooth ###