summaryrefslogtreecommitdiffstats
path: root/slx-builder
diff options
context:
space:
mode:
authorJonathan Bauer2020-01-23 17:43:33 +0100
committerJonathan Bauer2020-01-23 17:43:33 +0100
commit135843b11f27e31cb200a6951c73205c42ce2691 (patch)
treea81e6b8b0472b320ba1a447a139227c3aa6b640c /slx-builder
parentslx-builder/tasks/dnbd3-fixes.yml: fix dumb regex (diff)
downloadansible-dracut-135843b11f27e31cb200a6951c73205c42ce2691.tar.gz
ansible-dracut-135843b11f27e31cb200a6951c73205c42ce2691.tar.xz
ansible-dracut-135843b11f27e31cb200a6951c73205c42ce2691.zip
slx-builder/tasks/dnbd3-fixes.yml: fix paths
Diffstat (limited to 'slx-builder')
-rw-r--r--slx-builder/tasks/dnbd3-fixes.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/slx-builder/tasks/dnbd3-fixes.yml b/slx-builder/tasks/dnbd3-fixes.yml
index 5532395..05d09fc 100644
--- a/slx-builder/tasks/dnbd3-fixes.yml
+++ b/slx-builder/tasks/dnbd3-fixes.yml
@@ -1,7 +1,7 @@
---
- name: Hack fix dnbd3 blk.c for Ubuntu newer kernels
replace:
- dest: "{{ builder_path | dirname }}/modules.d/dnbd3-rootfs/scripts/build.sh"
+ dest: "{{ builder_path | dirname }}/systemd-init.git/builder/modules.d/dnbd3-rootfs/scripts/build.sh"
regexp: 'make -j dnbd3 dnbd3-client'
replace: 'sed -i "s/backing_dev_info.ra_pages/backing_dev_info->ra_pages/g" blk.c && make -j dnbd3 dnbd3-client'
backup: yes
@@ -9,7 +9,7 @@
- ansible_distribution == "Ubuntu"
- name: Hack fix dnbd3 blk.h for CentOS kernels with backports
replace:
- dest: "{{ builder_path | dirname }}/modules.d/dnbd3-rootfs/scripts/build.sh"
+ dest: "{{ builder_path | dirname }}/systemd-init.git/builder/modules.d/dnbd3-rootfs/scripts/build.sh"
regexp: 'make -j dnbd3 dnbd3-client'
replace: 'sed -i "s/KERNEL_VERSION.*/KERNEL_VERSION\(3, 10, 0\)/g" blk.h && make -j dnbd3 dnbd3-client'
backup: yes