|
118 | 118 | when: |
119 | 119 | - not bootlinux_9p|bool |
120 | 120 |
|
121 | | -- name: git clone {{ target_linux_tree }} on the host side |
| 121 | +- name: git clone {{ target_linux_tree }} on the control node |
122 | 122 | git: |
123 | 123 | repo: "{{ target_linux_git }}" |
124 | 124 | dest: "{{ bootlinux_9p_host_path }}" |
|
148 | 148 | - not bootlinux_9p|bool |
149 | 149 | - target_linux_extra_patch is defined |
150 | 150 |
|
151 | | -- name: Copy kernel delta if requested on the host side |
| 151 | +- name: Copy kernel delta if requested on the control node |
152 | 152 | template: |
153 | 153 | src: "{{ target_linux_extra_patch }}" |
154 | 154 | dest: "{{ bootlinux_9p_host_path }}/{{ target_linux_extra_patch }}" |
|
169 | 169 | - not bootlinux_9p|bool |
170 | 170 | - target_linux_extra_patch is defined |
171 | 171 |
|
172 | | -- name: Apply kernel delta if requested on the host side |
| 172 | +- name: Apply kernel delta if requested on the control node |
173 | 173 | command: "git am {{ target_linux_extra_patch }}" |
174 | 174 | args: |
175 | 175 | chdir: "{{ bootlinux_9p_host_path }}" |
|
211 | 211 | - target_linux_apply_patch_message_id | length > 0 |
212 | 212 | - bootlinux_b4_am_this_host|bool |
213 | 213 |
|
214 | | -- name: Apply message patch set if requested on the host side |
| 214 | +- name: Apply message patch set if requested on the control node |
215 | 215 | shell: b4 am -o - {{target_linux_apply_patch_message_id}} | git am |
216 | 216 | args: |
217 | 217 | chdir: "{{ bootlinux_9p_host_path }}" |
|
324 | 324 | when: |
325 | 325 | - not bootlinux_9p|bool |
326 | 326 |
|
327 | | -- name: Copy configuration for Linux {{ target_linux_tree }} on the host side |
| 327 | +- name: Copy configuration for Linux {{ target_linux_tree }} on the control node |
328 | 328 | template: |
329 | 329 | src: "{{ linux_config }}" |
330 | 330 | dest: "{{ bootlinux_9p_host_path }}/.config" |
|
342 | 342 | - not bootlinux_9p|bool |
343 | 343 | - target_linux_localversion is defined and target_linux_localversion != "" |
344 | 344 |
|
345 | | -- name: Set kernel localversion if requested on the host side |
| 345 | +- name: Set kernel localversion if requested on the control node |
346 | 346 | shell: "echo {{ target_linux_localversion }} > {{ bootlinux_9p_host_path }}/localversion" |
347 | 347 | tags: [ 'linux', 'git', 'config' ] |
348 | 348 | when: |
|
365 | 365 | when: |
366 | 366 | - not bootlinux_9p|bool |
367 | 367 |
|
368 | | -- name: Configure Linux {{ target_linux_tree }} on the host side |
| 368 | +- name: Configure Linux {{ target_linux_tree }} on the control node |
369 | 369 | shell: | |
370 | 370 | set -o pipefail |
371 | 371 | yes "" | make oldconfig |
|
419 | 419 | - not bootlinux_9p|bool |
420 | 420 | - snaik_oil_file.stat.exists |
421 | 421 |
|
422 | | -- name: Get nproc on the host side |
| 422 | +- name: Get nproc on the control node |
423 | 423 | command: "{{ num_jobs }}" |
424 | 424 | tags: [ 'linux', 'build-linux', 'configure', 'cxl-build' ] |
425 | 425 | register: nproc_9p |
|
450 | 450 | run_once: true |
451 | 451 | delegate_to: localhost |
452 | 452 |
|
453 | | -- name: Build {{ target_linux_tree }} {{ target_user_kernelrelease }} on the host side using {{ nproc_9p.stdout }} threads |
| 453 | +- name: Build {{ target_linux_tree }} {{ target_user_kernelrelease }} on the control node using {{ nproc_9p.stdout }} threads |
454 | 454 | make: |
455 | 455 | jobs: "{{ nproc_9p.stdout }}" |
456 | 456 | chdir: "{{ bootlinux_9p_host_path }}" |
|
463 | 463 | run_once: true |
464 | 464 | delegate_to: localhost |
465 | 465 |
|
466 | | -- name: Build {{ target_linux_tree }} {{ target_user_kernelrelease }} on the host side using {{ nproc_9p.stdout }} threads |
| 466 | +- name: Build {{ target_linux_tree }} {{ target_user_kernelrelease }} on the control node using {{ nproc_9p.stdout }} threads |
467 | 467 | make: |
468 | 468 | jobs: "{{ nproc_9p.stdout }}" |
469 | 469 | chdir: "{{ bootlinux_9p_host_path }}" |
|
474 | 474 | run_once: true |
475 | 475 | delegate_to: localhost |
476 | 476 |
|
477 | | -- name: Build {{ target_linux_tree }} cxl_test on the host side using {{ nproc_9p.stdout }} threads |
| 477 | +- name: Build {{ target_linux_tree }} cxl_test on the control node using {{ nproc_9p.stdout }} threads |
478 | 478 | make: |
479 | 479 | jobs: "{{ nproc_9p.stdout }}" |
480 | 480 | chdir: "{{ bootlinux_9p_host_path }}" |
|
0 commit comments