From 7a61b1924fa5b9df7ad10030c8721854ac716041 Mon Sep 17 00:00:00 2001 From: Serapheim Dimitropoulos Date: Tue, 22 Aug 2023 20:20:17 -0700 Subject: [PATCH] WIP --- .../tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/live-build/misc/ansible-roles/appliance-build.minimal-development/tasks/main.yml b/live-build/misc/ansible-roles/appliance-build.minimal-development/tasks/main.yml index d4acbd46..ed6d050e 100644 --- a/live-build/misc/ansible-roles/appliance-build.minimal-development/tasks/main.yml +++ b/live-build/misc/ansible-roles/appliance-build.minimal-development/tasks/main.yml @@ -41,3 +41,15 @@ - lookup('env', 'AWS_ACCESS_KEY_ID') != '' - lookup('env', 'AWS_SECRET_ACCESS_KEY') != '' no_log: true + +# +# XXX Explain +# +- shell: ls /lib/modules + register: kernel_versions + +- ansible.builtin.file: + src: /usr/lib/debug/boot/vmlinux-'{{ item }}' + dest: /usr/src/linux-headers-"{{ item }}"/vmlinux + state: link + loop: '{{ kernel_versions.stdout_lines }}'