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.

59 line
1.3KB

  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. - name: lb chroot (second build stage)
  17. command:
  18. nice -n {{ live_build_nice_level }}
  19. lb chroot
  20. args:
  21. chdir: "{{ live_build_directory }}"
  22. register: _lb_chroot
  23. - name: lb installer (third build stage)
  24. command:
  25. nice -n {{ live_build_nice_level }}
  26. lb installer
  27. args:
  28. chdir: "{{ live_build_directory }}"
  29. register: _lb_installer
  30. - name: lb binary (fourth build stage)
  31. command:
  32. nice -n {{ live_build_nice_level }}
  33. lb binary
  34. args:
  35. chdir: "{{ live_build_directory }}"
  36. register: _lb_binary
  37. #- name: lb source (fifth build stage)
  38. # command: lb source
  39. # args:
  40. # chdir: "{{ live_source_directory }}"
  41. # register: _lb_source
  42. #- name: lb build
  43. # command: lb build
  44. # args:
  45. # chdir: "{{ live_build_directory }}"
  46. # register: _lb_build
  47. #
  48. #- name: save build log
  49. # copy:
  50. # content: "{{ _lb_build.stdout }}"
  51. # dest: "{{ live_build_directory }}/build.log"