From 0be73fee39dad71d2efb34abaddfa6f66c772dbd Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 21 Aug 2018 13:52:53 +0200 Subject: renamed 'dracut-initramfs-builder' to 'slx-builder' same with the playbook including this role --- dracut-initramfs-builder/tasks/main.yml | 34 --------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 dracut-initramfs-builder/tasks/main.yml (limited to 'dracut-initramfs-builder/tasks/main.yml') diff --git a/dracut-initramfs-builder/tasks/main.yml b/dracut-initramfs-builder/tasks/main.yml deleted file mode 100644 index fe64b37..0000000 --- a/dracut-initramfs-builder/tasks/main.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -- include: tasks/distro.yml - -- name: Install dependencies for OpenSLX dracut module - package: name={{ item }} state=installed - with_items: "{{ pkgnames }}" - -- name: Checkout repository of OpenSLX dracut module - git: - repo: "{{ gitsource }}" - dest: "{{ gittarget }}" - depth: 1 - -- include: tasks/dnbd3-fixes.yml - -- name: Build initramfs with dracut - shell: "{{ gittarget }}/builder/build-initramfs.sh -s -d -p {{ gittarget }}/initramfs - --add 'kexec-reboot'" - args: - creates: "{{ gittarget }}/initramfs" - -- name: Fetch built initramfs and kernel (+ hack for weird /@ prefix of BOOT_IMAGE) - fetch: - src: "{{ item }}" - dest: "{{ playbook_dir }}/boot_files/" - fail_on_missing: yes - flat: yes - with_items: - - "{{ gittarget }}/initramfs" - - "{{ ansible_cmdline.BOOT_IMAGE | regex_replace('^/@(/boot/.*)+$', '\\1') }}" - -- name: Cleanup - file: - path: "{{ gittarget }}" - state: absent -- cgit v1.2.3-55-g7522