From 2ca54c7c750fa9e7cccd599a527adc3193217cef Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 4 Feb 2020 15:42:31 +0100 Subject: slx-builder/tasks/dnbd3-fixes.yml: remove hack This old hack for newer kernel on ubuntu is no longer needed, since it is fixed in the dnbd3 commit tracked by systemd-init.git, see: https://git.openslx.org/dnbd3.git/commit/src/kernel/blk.c?id=0b4c6ced6ee1ee3f6ba4442973ed1901bae7da1e --- slx-builder/tasks/dnbd3-fixes.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/slx-builder/tasks/dnbd3-fixes.yml b/slx-builder/tasks/dnbd3-fixes.yml index 05d09fc..35cd6a0 100644 --- a/slx-builder/tasks/dnbd3-fixes.yml +++ b/slx-builder/tasks/dnbd3-fixes.yml @@ -1,12 +1,4 @@ --- -- name: Hack fix dnbd3 blk.c for Ubuntu newer kernels - replace: - 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 - when: - - ansible_distribution == "Ubuntu" - name: Hack fix dnbd3 blk.h for CentOS kernels with backports replace: dest: "{{ builder_path | dirname }}/systemd-init.git/builder/modules.d/dnbd3-rootfs/scripts/build.sh" -- cgit v1.2.3-55-g7522