Skip to content

Commit

Permalink
Merge pull request #59 from flatcar/kai/mksquashfs
Browse files Browse the repository at this point in the history
bake.sh: Add mksquashfs flags to prevent appending and reduce warnings
  • Loading branch information
pothos authored Apr 15, 2024
2 parents c699a22 + 4cf87b0 commit a1acc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ elif [ "${FORMAT}" = "ext4" ] || [ "${FORMAT}" = "ext2" ]; then
mkfs."${FORMAT}" -E root_owner=0:0 -d "${SYSEXTNAME}" "${SYSEXTNAME}".raw
resize2fs -M "${SYSEXTNAME}".raw
else
mksquashfs "${SYSEXTNAME}" "${SYSEXTNAME}".raw -all-root
mksquashfs "${SYSEXTNAME}" "${SYSEXTNAME}".raw -all-root -noappend -xattrs-exclude '^btrfs.'
fi
echo "Created ${SYSEXTNAME}.raw"

0 comments on commit a1acc37

Please sign in to comment.