You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.yaml 1.3KB

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ---
  2. - name: lb bootstrap (first build stage)
  3. command:
  4. nice -n {{ live_build_nice_level }}
  5. lb bootstrap
  6. args:
  7. chdir: "{{ live_build_directory }}"
  8. register: _lb_bootstrap
  9. - name: install ca-certificates in the chroot
  10. command:
  11. nice -n {{ live_build_nice_level }}
  12. chroot "{{ live_build_directory }}/chroot" apt install -f ca-certificates
  13. args:
  14. chdir: "{{ live_build_directory }}"
  15. register: _lb_chroot
  16. when: live_build_linux_surface
  17. - name: lb chroot (second build stage)
  18. command:
  19. nice -n {{ live_build_nice_level }}
  20. lb chroot
  21. args:
  22. chdir: "{{ live_build_directory }}"
  23. register: _lb_chroot
  24. - name: lb installer (third build stage)
  25. command:
  26. nice -n {{ live_build_nice_level }}
  27. lb installer
  28. args:
  29. chdir: "{{ live_build_directory }}"
  30. register: _lb_installer
  31. - name: lb binary (fourth build stage)
  32. command:
  33. nice -n {{ live_build_nice_level }}
  34. lb binary
  35. args:
  36. chdir: "{{ live_build_directory }}"
  37. register: _lb_binary
  38. #- name: lb source (fifth build stage)
  39. # command: lb source
  40. # args:
  41. # chdir: "{{ live_source_directory }}"
  42. # register: _lb_source
  43. #- name: lb build
  44. # command: lb build
  45. # args:
  46. # chdir: "{{ live_build_directory }}"
  47. # register: _lb_build
  48. #
  49. #- name: save build log
  50. # copy:
  51. # content: "{{ _lb_build.stdout }}"
  52. # dest: "{{ live_build_directory }}/build.log"