ソースを参照

config args in tasks

main
コミット
e8ed8d284a
2個のファイルの変更29行の追加24行の削除
  1. +29
    -1
      tasks/config.yaml
  2. +0
    -23
      templates/lb-config-args.j2

+ 29
- 1
tasks/config.yaml ファイルの表示

@@ -14,7 +14,35 @@
- name: lb config - name: lb config
command: command:
lb config lb config
{{ lookup('template','lb-config-args.j2') }}

{% if live_build_distribution is defined %}
--distribution "{{ live_build_distribution }}"
{% endif %}

--mirror-bootstrap "{{ debian_mirror }}"
--mirror-chroot-security "{{ debian_security_mirror }}"
--mirror-binary "{{ debian_mirror }}"
--mirror-binary-security "{{ debian_security_mirror }}"

{% if debian_nonfree_firmware %}
--archive-areas "main contrib non-free"
--firmware-chroot true
{% endif %}

{% if live_build_bootappend_live is defined %}
--bootappend-live "{{ live_build_bootappend_live }}"
{% endif %}

{% if (debian_backports is defined) and (debian_backports == true) %}
--backports true
{% endif %}

{% if debian_live_debian_installer is defined %}
--debian-installer "{{ debian_live_debian_installer }}"
{% if debian_nonfree_firmware %}
--firmware-binary true
{% endif %}
{% endif %}
args: args:
chdir: "{{ live_build_directory }}" chdir: "{{ live_build_directory }}"




+ 0
- 23
templates/lb-config-args.j2 ファイルの表示

@@ -1,23 +0,0 @@
{% if live_build_distribution is defined %}
--distribution "{{ live_build_distribution }}"
{% endif %}
--mirror-bootstrap "{{ debian_mirror }}"
--mirror-chroot-security "{{ debian_security_mirror }}"
--mirror-binary "{{ debian_mirror }}"
--mirror-binary-security "{{ debian_security_mirror }}"
{% if debian_nonfree_firmware %}
--archive-areas "main contrib non-free"
--firmware-chroot true
{% endif %}
{% if live_build_bootappend_live is defined %}
--bootappend-live "{{ live_build_bootappend_live }}"
{% endif %}
{% if (debian_backports is defined) and (debian_backports == true) %}
--backports true
{% endif %}
{% if debian_live_debian_installer is defined %}
--debian-installer "{{ debian_live_debian_installer }}"
{% if debian_nonfree_firmware %}
--firmware-binary true
{% endif %}
{% endif %}

読み込み中…
キャンセル
保存