Anderson, Craig (ca846m) 95af063c35 add mksquashfs config params
Allow mksquashfs overrides for thread count and compression algorithm.

Apply all rootfs-level overrides uniformly in Makefile.

Change-Id: I9dfb9fac63a6efcad42bc73242929e52ff1f9344
2021-03-01 22:51:13 -08:00

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