diff options
author | Jonathan Bauer | 2020-01-23 17:34:57 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-01-23 17:34:57 +0100 |
commit | 816740bfff1a28e0f96e7f7103b532006af748c9 (patch) | |
tree | feaa74f9ca2bffdc2ef9857c2d7636ff478f6b1e /slx-builder | |
parent | remove unneeded deps (diff) | |
download | ansible-dracut-816740bfff1a28e0f96e7f7103b532006af748c9.tar.gz ansible-dracut-816740bfff1a28e0f96e7f7103b532006af748c9.tar.xz ansible-dracut-816740bfff1a28e0f96e7f7103b532006af748c9.zip |
slx-builder/tasks/dnbd3-fixes.yml: fix dumb regex
Diffstat (limited to 'slx-builder')
-rw-r--r-- | slx-builder/tasks/dnbd3-fixes.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slx-builder/tasks/dnbd3-fixes.yml b/slx-builder/tasks/dnbd3-fixes.yml index 6cc8e1c..5532395 100644 --- a/slx-builder/tasks/dnbd3-fixes.yml +++ b/slx-builder/tasks/dnbd3-fixes.yml @@ -2,16 +2,16 @@ - name: Hack fix dnbd3 blk.c for Ubuntu newer kernels replace: 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' + 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 when: - 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" - 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' + 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 when: - ansible_distribution == "CentOS" |