summaryrefslogtreecommitdiffstats
path: root/slx-builder/tasks/dnbd3-fixes.yml
diff options
context:
space:
mode:
authorJonathan Bauer2018-08-21 13:55:00 +0200
committerJonathan Bauer2018-08-21 13:55:00 +0200
commita772c3f2e16a49eeea28697309014990b88bea0e (patch)
tree29113bc86a109147563e4a1c52bb7c544973db8d /slx-builder/tasks/dnbd3-fixes.yml
parentrenamed 'dracut-initramfs-builder' to 'slx-builder' (diff)
downloadansible-dracut-a772c3f2e16a49eeea28697309014990b88bea0e.tar.gz
ansible-dracut-a772c3f2e16a49eeea28697309014990b88bea0e.tar.xz
ansible-dracut-a772c3f2e16a49eeea28697309014990b88bea0e.zip
[slx-builder] introduce tags 'install' and 'build'
Diffstat (limited to 'slx-builder/tasks/dnbd3-fixes.yml')
-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 e9bd6dd..6cc8e1c 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: "{{ gittarget }}/builder/modules.d/dnbd3-rootfs/scripts/build.sh"
+ dest: "{{ builder_path | dirname }}/modules.d/dnbd3-rootfs/scripts/build.sh"
regexp: 'make -j4 dnbd3 dnbd3-client'
replace: 'sed -i "s/backing_dev_info.ra_pages/backing_dev_info->ra_pages/g" blk.c && make -j4 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: "{{ gittarget }}/builder/modules.d/dnbd3-rootfs/scripts/build.sh"
+ dest: "{{ builder_path | dirname }}/modules.d/dnbd3-rootfs/scripts/build.sh"
regexp: 'make -j4 dnbd3 dnbd3-client'
replace: 'sed -i "s/KERNEL_VERSION.*/KERNEL_VERSION\(3, 10, 0\)/g" blk.h && make -j4 dnbd3 dnbd3-client'
backup: yes