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 }}'