
Allow mksquashfs overrides for thread count and compression algorithm. Apply all rootfs-level overrides uniformly in Makefile. Change-Id: I9dfb9fac63a6efcad42bc73242929e52ff1f9344
21 lines
544 B
YAML
21 lines
544 B
YAML
- name: "ensuring directory {{ root_image }}/live exists"
|
|
file:
|
|
path: "{{ root_image }}/live"
|
|
state: directory
|
|
mode: '0755'
|
|
|
|
- name: "ensure no previous squashfs file"
|
|
file:
|
|
path: "{{ root_image }}/live/filesystem.squashfs"
|
|
state: absent
|
|
|
|
- name: "Building squashfs"
|
|
shell:
|
|
cmd: |
|
|
mksquashfs \
|
|
"{{ root_chroot }}" \
|
|
"{{ root_image }}/live/filesystem.squashfs" \
|
|
-processors {{ mksquashfs_threads }} \
|
|
-comp {{ mksquashfs_compression }} \
|
|
-e boot
|